-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Document use of compiler_builtins
with no_std
binaries
#43342
Conversation
compiler_builtins
with no_std
binariescompiler_builtins
with no_std
binaries
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @frewsxcv (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
compiler_builtins
with no_std
binariescompiler_builtins
with no_std
binaries
e4d3809
to
f1481cb
Compare
Thanks for the PR @ranweiler! We'll check in now and again to make sure @frewsxcv or another reviewer gets to this soon. However, it looks like our tidy check is currently failing with
|
hmm, so it looks like the tidy check is failing because it doesn't know about this for reference here's the code for the unstable book tidy lint. also, here's the function that gets called to retrieve the unstable language features. |
Ha, thanks @frewsxcv, I was just looking at that exact code. I found the problem. In the PR I cite above, we here add |
f1481cb
to
b9cff4c
Compare
Ouch, I amended my commit to revert the blacklist, and it resulted in a whole slew of new tidy errors. Working on it locally. |
b9cff4c
to
1effa85
Compare
(Note to self: we can locally repro the CI Update: I now see what the problem is. Even if I hack What would we like to see happen here? Is it important that |
8e6b581
to
bf647b9
Compare
@ranweiler want to just explicitly whitelist it to avoid checking it? |
a233725
to
b22634c
Compare
@bors: r+ Thanks! |
📌 Commit b22634c has been approved by |
@bors rollup r-
|
b22634c
to
6eefafb
Compare
After the work in rust-lang#42899, it no longer auto-discovers it.
The docs for the `compiler_builtins_lib` library feature were removed in rust-lang#42899. But, though the `compiler_builtins` library has been migrated out-of-tree, the feature remains, and is needed to use the stand-alone crate. We reintroduce the docs for the feature, and add a reference to them when describing how to create a `no_std` executable.
6eefafb
to
e74f611
Compare
Alright, I think I had some stale local state, but everything looks good now! |
@bors: r+ |
📌 Commit e74f611 has been approved by |
…ichton Document use of `compiler_builtins` with `no_std` binaries See discussion in rust-lang#43264. The docs for the `compiler_builtins_lib` feature were removed in PR rust-lang#42899. But, though the `compiler_builtins` library has been migrated out-of-tree, the language feature remains, and is needed to use the stand-alone crate. So, we reintroduce the docs for the feature, and add a reference to them when describing how to create a `no_std` executable.
See discussion in #43264.
The docs for the
compiler_builtins_lib
feature were removed inPR #42899. But, though the
compiler_builtins
library has beenmigrated out-of-tree, the language feature remains, and is needed to
use the stand-alone crate. So, we reintroduce the docs for the
feature, and add a reference to them when describing how to create a
no_std
executable.