-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Unused patch warnings when using -Zbuild-std
with -Zbuild-std-features=compiler-builtins-mem
#8963
Labels
C-bug
Category: bug
Comments
Are there currently any workarounds for this? |
Oh this was actually fixed in #8968, and now it's just updating the Cargo submodule in rust-lang/rust. In the meantime there are no workarounds. |
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Dec 17, 2020
…k-Simulacrum Revert rust-lang#78790 - rust-src vendoring This reverts the rust-src vendor changes from rust-lang#78790. There were a few issues (see rust-lang#79218, rust-lang/cargo#8962, rust-lang/cargo#8963), that I don't think will get fixed in the next few days before the beta branch. Fixes rust-lang#79218
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
There are multiple
Patch [...] was not used in the crate graph
warnings when building a project using-Zbuild-std
and-Zbuild-std-features=compiler-builtins-mem
on nightly:Warning output
Steps
cargo new --lib example && cd example
echo "#![no_std]" > src/lib.rs
cargo +nightly check --target x86_64-unknown-linux-gnu -Z build-std=core -Zbuild-std-features=compiler-builtins-mem
(The actual target doesn't seem to matter, the
build-std
feature just requires that we pass a--target
argument.)Notes
These warnings appeared between d5556ae...2af662e. My guess is that #8834 introduced them. They still happen on the latest nightly.
Output of
cargo version
:The text was updated successfully, but these errors were encountered: