-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Error when building with panic = "abort" and -Z build-std #80685
Comments
I tried to rmove the directory
|
Running
Manually running this command and adding
at the end makes it proceed |
The same bug is triggered when building an empty binary with |
Closing as duplicate of #69090, rust-lang/wg-cargo-std-aware#29 . Fixed by setting |
EDIT: The same happens with building an (empty) binary crate with
panic = "abort"
and-Z build-std
, without cross-compilationCreate an empty library crate with
crate-type = ["cdylib"]
. Then attempt to build withThen you get lots of errors of the form
This works if either
cdylib
,build-std
or cross-compiling towasm32-unknown-unknown
is removed. I have not attempted to cross-compile to other architectures.Meta
This is using
rustc 1.51.0-nightly (80184183b 2021-01-03)
The text was updated successfully, but these errors were encountered: