-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix build of libc on stable #29216
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
Fix build of libc on stable #29216
Conversation
@@ -24,7 +24,7 @@ | |||
html_playground_url = "https://play.rust-lang.org/", | |||
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/")] | |||
#![cfg_attr(test, feature(test))] | |||
#![feature(cfg_target_vendor)] | |||
#![cfg_attr(cfg_target_vendor, feature(cfg_target_vendor))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be not(feature = "cargo-build")
instead of cfg_target_vendor
, right? (e.g. similar to the above feature
annotation)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! I was looking at line 26 for inspiration, not 15.
3f2b06d
to
c9d6d09
Compare
@alexcrichton updated! I also moved them next to each other, since they're related. |
Hm did this go awry? There's no longer a |
fc5dc13
to
dd8ae4f
Compare
This is needed to release a new version of libc
This is needed to release a new version of libc r? @alexcrichton
This is needed to release a new version of libc
r? @alexcrichton