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

Can't compile core from the rust-src component #48734

Closed
japaric opened this issue Mar 4, 2018 · 1 comment
Closed

Can't compile core from the rust-src component #48734

japaric opened this issue Mar 4, 2018 · 1 comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@japaric
Copy link
Member

japaric commented Mar 4, 2018

STR

$ rustup component add rust-src

$ cd $(rustc --print sysroot)/lib/rustlib/src/rust/src/libcore

$ cargo build
   Compiling core v0.0.0 (file:///home/japaric/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore)
error: couldn't read "../stdsimd/coresimd/mod.rs": No such file or directory (os error 2)
   --> lib.rs:199:5
    |
199 | mod coresimd;
    |     ^^^^^^^^

error: aborting due to previous error

error: Could not compile `core`.

Metadata

$ rustc -V
rustc 1.26.0-nightly (e026b59cf 2018-03-03)

Workaround

$ # switch to an older nightly
$ rustup default nightly-2018-03-03

cc @alexcrichton possibly caused by #48513; it seems that stdsimd will have to be included in rust-src

@kennytm kennytm added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. labels Mar 4, 2018
@japaric
Copy link
Member Author

japaric commented Mar 4, 2018

Also, this broke Xargo and the development workflow of all the no_std / embedded users who use it. cc @aturon

newpavlov added a commit to RustCrypto/block-ciphers that referenced this issue Mar 4, 2018
newpavlov added a commit to RustCrypto/block-ciphers that referenced this issue Mar 4, 2018
alexcrichton added a commit to alexcrichton/rust that referenced this issue Mar 4, 2018
bors added a commit that referenced this issue Mar 4, 2018
Include stdsimd in rust-src component

Closes #48734
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

2 participants