-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enable Control Flow Guard in rustbuild #68824
Conversation
@bors r+ option disabled by default, no danger in adding it. |
📌 Commit ede8019409194d2ce02f2e5188c706f90f504e70 has been approved by |
Thanks for the super fast review @nagisa! |
@bors r- on commentary above. |
Isn't this something that should be happening through |
Thanks for the suggestion @nikic - I hadn't seen On the other hand, is there some way to avoid rebuilding libstd every time and always use the same version (with Control Flow Guard enabled)? |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
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.
r=me with comment resolved
Please also squash the commits, forgot to mention that in my previous comment. |
d4f838a
to
87df124
Compare
@bors r+ |
Thanks @Mark-Simulacrum! Is bors still waiting for me to do something here? |
@bors r=Mark-Simulacrum Looks like bors just missed this. |
📌 Commit 87df124 has been approved by |
…Simulacrum Enable Control Flow Guard in rustbuild Now that Rust supports Control Flow Guard (rust-lang#68180), add a config.toml option to build the standard library with CFG enabled. r? @nagisa
Rollup of 8 pull requests Successful merges: - #66498 (Remove unused feature gates) - #68816 (Tweak borrow error on `FnMut` when `Fn` is expected) - #68824 (Enable Control Flow Guard in rustbuild) - #69022 (traits: preallocate 2 Vecs of known initial size) - #69031 (Use `dyn Trait` more in tests) - #69044 (Don't run coherence twice for future-compat lints) - #69047 (Don't rustfmt check the vendor directory.) - #69055 (Clean up E0307 explanation) Failed merges: r? @ghost
Now that Rust supports Control Flow Guard (#68180), add a config.toml option to build the standard library with CFG enabled.
r? @nagisa