Rename debugging_opts to unstable_opts#98975
Conversation
|
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3 Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred in compiler/rustc_codegen_gcc cc @antoyo |
jyn514
left a comment
There was a problem hiding this comment.
left comments on the changes which aren't a blanket "debugging_opts" => "unstable_opts" change
src/librustdoc/lib.rs
Outdated
There was a problem hiding this comment.
this should probably have a rustdoc reviewer - @camelid does this new description look good?
compiler/rustc_session/src/config.rs
Outdated
There was a problem hiding this comment.
this change wasn't automatic
There was a problem hiding this comment.
Thanks for pointing these out!
There was a problem hiding this comment.
this change wasn't automatic - I think "unstable" is a good new description, and Z_OPTIONS isn't super descriptive, but neither was DB_OPTIONS.
There was a problem hiding this comment.
not related to this PR, but seems like a good change. happy to split it into a separate PR.
There was a problem hiding this comment.
note the new way to use this is unstable_opts.unstable_options
0567674 to
06b3235
Compare
|
This description doesn't seem to be used anywhere? IMO we should probably just remove all these if they're not used.
|
Can we go ahead and update that just for consistency? |
wesleywiser
left a comment
There was a problem hiding this comment.
Thanks for doing this @jyn514! I reviewed all of the changes and overall this looks great to me. I'm going to hold off on the r+ for a few days so others can weigh in.
compiler/rustc_session/src/config.rs
Outdated
There was a problem hiding this comment.
Thanks for pointing these out!
|
☔ The latest upstream changes (presumably #99014) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@wesleywiser it's been a few days, including weekdays and a weekend - do you think it's ok to merge now? This bitrots quite quickly. |
|
Yes, please r=me after a rebase. Thanks for doing this! |
|
@bors r=wesleywiser rollup=never |
|
📌 Commit dde82482724c206cbdb2dd7ccd604182912e2921 has been approved by It is now in the queue for this repository. |
|
☔ The latest upstream changes (presumably #99165) made this pull request unmergeable. Please resolve the merge conflicts. |
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear.
|
@bors r=wesleywiser rollup=never |
|
☀️ Test successful - checks-actions |
|
📣 Toolstate changed by #98975! Tested on commit 0ed9c64. 💔 miri on windows: test-fail → build-fail (cc @RalfJung @oli-obk). |
Tested on commit rust-lang/rust@0ed9c64. Direct link to PR: <rust-lang/rust#98975> 💔 miri on windows: test-fail → build-fail (cc @RalfJung @oli-obk). 💔 miri on linux: test-fail → build-fail (cc @RalfJung @oli-obk). 💔 rls on windows: test-pass → build-fail (cc @Xanewok). 💔 rls on linux: test-pass → build-fail (cc @Xanewok).
StabilityLevel::Unstable reason multiple times into .rmeta\.rlib files
#98770
|
Finished benchmarking commit (0ed9c64): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
|
This only renames some variables, I doubt the improvements are real (seems more likely those benchmarks are high variance) |
Rename `debugging_opts` to `unstable_opts` This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear. cc https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Codegen.20options.20.2F.20debugging.20options r? `@Amanieu` cc `@nikic` `@joshtriplett`
This is no longer used only for debugging options (e.g.
-Zoutput-width,-Zallow-features).Rename it to be more clear.
cc https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Codegen.20options.20.2F.20debugging.20options
r? @Amanieu cc @nikic @joshtriplett