Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue: Translation nightly features #46

Open
TheDan64 opened this issue Apr 2, 2019 · 2 comments

Comments

@TheDan64
Copy link
Contributor

commented Apr 2, 2019

This is the tracking issue for generated code which requires nightly to run:

  • Assembly - asm - rust-lang/rust#29722
  • Intrinsics for atomic operations - core_intrinsics - Unlikely to ever be stabilized itself, no tracking issue
  • Ptr to ptr offset calculation - ptr_wrapping_offset_from - rust-lang/rust#41079
  • Labels for breaks in relooper - label_break_value - rust-lang/rust#48594
  • Opaque extern types - extern_types - rust-lang/rust#43467
  • Thread Local variables - thread_local - rust-lang/rust#29594
  • Cast const ptr to usize - const_raw_ptr_to_usize_cast - rust-lang/rust#51910
  • Cast const slice to pointer - const_slice_as_ptr - This may have been removed or stabilized?
  • C-compatible variadic functions - c_variadics - rust-lang/rust#44930
  • Libc types - libc - Now generating Cargo.toml files which use the libc crate
@rinon

This comment has been minimized.

Copy link
Contributor

commented Apr 11, 2019

Since libc is on crates.io and rustc errors when we use the internal version, we should drop that off the list of nightly features.

@bjorn3

This comment has been minimized.

Copy link

commented Aug 29, 2019

Intrinsics for atomic operations - core_intrinsics - Unlikely to ever be stabilized itself, no tracking issue

Maybe cast the pointer from say *mut u64 to *mut AtomicU64 and then use the normal AtomicU64 methods on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.