Closed
Description
While trying to package rust-1.10.0
for NixOS, I ran into the following issue:
We're using a bootstrap compiler from https://static.rust-lang.org/dist/rust-1.10.0-$platforn.tar.gz
to build rustc
with the following configure flags (among others):
--enable-local-rust
--local-rust-root=...
While the build used to work just fine for 1.9.0
, we get errors building libcore
for 1.10.0
:
src/libcore/lib.rs:63:1: 63:37 error: #[feature] may not be used on the stable release channel
src/libcore/lib.rs:63 #![feature(allow_internal_unstable)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libcore/lib.rs:64:1: 64:17 error: #[feature] may not be used on the stable release channel
src/libcore/lib.rs:64 #![feature(asm)]
^~~~~~~~~~~~~~~~
src/libcore/lib.rs:65:1: 65:38 error: #[feature] may not be used on the stable release channel
src/libcore/lib.rs:65 #![feature(associated_type_defaults)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libcore/lib.rs:66:1: 66:32 error: #[feature] may not be used on the stable release channel
src/libcore/lib.rs:66 #![feature(cfg_target_feature)]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libcore/lib.rs:67:1: 67:27 error: #[feature] may not be used on the stable release channel
src/libcore/lib.rs:67 #![feature(concat_idents)]
...
Full output (don't worry about the strange-looking absolute paths, they're normal on NixOS):
https://gist.github.com/the-kenny/1424cd6a03467326dc1b6ad2e6480272
Metadata
Metadata
Assignees
Labels
No labels