-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Rollup of 5 pull requests #71579
Rollup of 5 pull requests #71579
Conversation
clippy::{redundant_pattern_matching, clone_on_copy, iter_cloned_collect, option_as_ref_deref, match_ref_pats}
Introduce `enum RelocModel` instead.
The referenced `sanitizer-address/Makefile` no longer exists, so perhaps these options are no longer necessary as well. Even if they are still necessary, they should use `-C relocation-model=static` instead.
Cleanup and document `-C relocation-model` As the title says, this is mostly a refactoring and documentation. One potentially observable change here is that `-C relocation-model=default` now takes the default from the Rust target, rather than from the underlying LLVM target. In other words, `-C relocation-model=default` is now equivalent to not specifying the relocation model on command line at all. Apparently no one used that option because it has other bugs as well, e.g. PIC `default` wasn't treated as PIC in some places.
fix more clippy warnings clippy::{redundant_pattern_matching, clone_on_copy, iter_cloned_collect, option_as_ref_deref, match_ref_pats} r? @Dylan-DPC
Fix since attribute for nonzero_bitor impl's Added in rust-lang#69813, took a while to merge so the since attributes went out of date.
proc_macro: Fix since attributes for new Span methods Added in rust-lang#69041, took a while to merge so the since attributes went out of date.
Fix stable(since) attribute for BTreeMap::remove_entry Stabilized in rust-lang#70712. Maybe checking that the since attributes are added correctly should be automated through tidy? This is the third PR I'm opening that fixes a stable(since) attribute for something meant to be stabilized in 1.43 / 1.44 initially but then only stabilized in 1.45. (the other two are rust-lang#71571, rust-lang#71574)
@bors r+ rollup=never p=5 |
📌 Commit aa9dc69 has been approved by |
⌛ Testing commit aa9dc69 with merge 3dd1ca6092ebbee163fb481554e2deec01877101... |
💔 Test failed - checks-azure |
@bors retry |
☀️ Test successful - checks-azure |
📣 Toolstate changed by #71579! Tested on commit 7f3b3df. 🎉 rustc-dev-guide on linux: test-fail → test-pass (cc @JohnTitor @amanjeev @spastorino @mark-i-m). |
Tested on commit rust-lang/rust@7f3b3df. Direct link to PR: <rust-lang/rust#71579> 🎉 rustc-dev-guide on linux: test-fail → test-pass (cc @JohnTitor @amanjeev @spastorino @mark-i-m).
Successful merges:
-C relocation-model
#71490 (Cleanup and document-C relocation-model
)Failed merges:
r? @ghost