Uh oh!
There was an error while loading. Please reload this page.
Rename debugging_opts to unstable_opts - #98975
Conversation
rustbot
commented
Jul 6, 2022
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
There was a problem hiding this comment.
this should probably have a rustdoc reviewer - @camelid does this new description look good?
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
06b3235CompareThis description doesn't seem to be used anywhere? IMO we should probably just remove all these if they're not used.
|
wesleywiser
commented
Jul 6, 2022
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bors
commented
Jul 7, 2022
☔ The latest upstream changes (presumably #99014) made this pull request unmergeable. Please resolve the merge conflicts. |
jyn514
commented
Jul 10, 2022
@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. |
wesleywiser
commented
Jul 11, 2022
Yes, please r=me after a rebase. Thanks for doing this! |
jyn514
commented
Jul 11, 2022
@bors r=wesleywiser rollup=never |
bors
commented
Jul 11, 2022
📌 Commit dde82482724c206cbdb2dd7ccd604182912e2921 has been approved by It is now in the queue for this repository. |
bors
commented
Jul 12, 2022
☔ 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.
jyn514
commented
Jul 13, 2022
@bors r=wesleywiser rollup=never |
bors
commented
Jul 13, 2022
bors
commented
Jul 14, 2022
bors
commented
Jul 14, 2022
☀️ Test successful - checks-actions |
rust-highfive
commented
Jul 14, 2022
📣 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).
rust-timer
commented
Jul 14, 2022
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 |
jyn514
commented
Jul 14, 2022
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