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

Make everything compile on stable #300

Open
tomaka opened this issue Mar 4, 2020 · 4 comments
Open

Make everything compile on stable #300

tomaka opened this issue Mar 4, 2020 · 4 comments
Labels
T-enhancement New feature or request

Comments

@tomaka
Copy link
Owner

tomaka commented Mar 4, 2020

Very long-term issue.

@tomaka tomaka added the T-enhancement New feature or request label Mar 4, 2020
@tomaka
Copy link
Owner Author

tomaka commented Jun 7, 2020

The list of the Rust nightly-only features being used can be found there:

#![feature(allocator_api)] // TODO: https://github.com/rust-lang/rust/issues/32838
#![feature(alloc_error_handler)] // TODO: https://github.com/rust-lang/rust/issues/66741
#![feature(asm)] // TODO: https://github.com/rust-lang/rust/issues/72016
#![feature(core_intrinsics)]
#![feature(const_if_match)] // TODO: https://github.com/rust-lang/rust/issues/49146
#![feature(global_asm)] // TODO: https://github.com/rust-lang/rust/issues/35119
#![feature(llvm_asm)] // TODO: replace all occurrences of `llvm_asm!` with `asm!`
#![feature(naked_functions)] // TODO: https://github.com/rust-lang/rust/issues/32408
#![feature(panic_info_message)] // TODO: https://github.com/rust-lang/rust/issues/66745
#![cfg_attr(target_arch = "x86_64", feature(abi_x86_interrupt))] // TODO: https://github.com/rust-lang/rust/issues/40180

And there:

#![cfg_attr(feature = "nightly", feature(proc_macro_span))] // TODO: https://github.com/rust-lang/rust/issues/54725

(these links point to the latest commit at this time, but this list can obviously evolve over time).

@tomaka
Copy link
Owner Author

tomaka commented Jun 29, 2020

const_if_match has just been stabilized.

@tomaka
Copy link
Owner Author

tomaka commented Dec 26, 2020

Another usage is here:

.args(&["-Z", "build-std=core,alloc"]) // TODO: nightly only; cc https://github.com/tomaka/redshirt/issues/300

cc https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-std
https://github.com/rust-lang/wg-cargo-std-aware

@SamuelMarks
Copy link

Additionally:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants