More config.toml.example cleanups#108625
Conversation
|
(rustbot has picked a reviewer for you, use r? to override) |
albertlarsan68
left a comment
There was a problem hiding this comment.
Overall great, just a few nits and questions.
config.toml.example
Outdated
There was a problem hiding this comment.
Does this means that true and "if-unchanged" have the same behavior?
There was a problem hiding this comment.
No. true downloads the compiler unconditionally, even if there are changes.
There was a problem hiding this comment.
Is is also the case with download-ci-llvm?
There was a problem hiding this comment.
Actually download-ci-llvm downloads unconditionally even if you set it to if-available; we might want to improve that at some point but right now we don't even rebuild on changes, so I don't think it's the most pressing issue.
89c8bb9 to
bcbffa4
Compare
config.toml.example
Outdated
There was a problem hiding this comment.
Also, does the test suite passes with this option?
There was a problem hiding this comment.
All but two of the UI tests pass with this enabled. I opened #108767 to track the two failing tests.
About half the debuginfo tests fail because of rust-lang/simpleinfra#254, I haven't bothered to get them working but I don't think it's related to this option.
The standard library unit tests fail: #108768
tests/run-make/translation fails, but I'm not sure if it's related to this change or not:
error: failed to load fluent bundle: failed to add resource: Attempt to override an existing message: "parse_struct_literal_body_without_path".
bcbffa4 to
286b744
Compare
1824796 to
86ec208
Compare
|
There is an inconsistency: |
86ec208 to
804d7f7
Compare
|
Ok, fixed. Can you please switch the labels to S-waiting-on-author after you give feedback? It makes it easier for me to find the PR. |
|
☔ The latest upstream changes (presumably #109056) made this pull request unmergeable. Please resolve the merge conflicts. |
804d7f7 to
d2f6f80
Compare
|
☔ The latest upstream changes (presumably #109442) made this pull request unmergeable. Please resolve the merge conflicts. |
|
I am not planning to rebase this until I get a review - let me know if that makes it difficult, but the conflict is in config.user.toml so it shouldn't be too bad. |
albertlarsan68
left a comment
There was a problem hiding this comment.
Thanks for the PR!
@bors rollup
r=me once rebased
- Link to more documentation - Move `changelog-seen` into the "Global Settings" section - Update incorrect comments on `llvm.link-shared` and `rust.debug-assertions` - Use the correct default in the commented-out example more often - Clarify that `docs` and `compiler-docs` only control the default, they're not a hard-off switch. - Document `-vvv` and `local-rebuild` - Minor improvements to doc-comments in config.toml.example This also sets `download-rustc = false`; that was already the default, but it will be helpful in case the default changes (https://jyn.dev/2023/01/12/Bootstrapping-Rust-in-2023.html).
d2f6f80 to
20ca24e
Compare
|
@bors r=albertlarsan68 |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#108625 (More config.toml.example cleanups) - rust-lang#109418 (Rename 'src/bootstrap/native.rs' to llvm.rs) - rust-lang#109580 (Remove some stale FIXMEs in new solver) - rust-lang#109582 (Refactor: Separate `LocalRef` variant for not-evaluated-yet operands) - rust-lang#109650 (Remove Nilstrieb from review rotation) - rust-lang#109656 (Update cargo) - rust-lang#109658 (Backport 1.68.1 and 1.68.2 release notes to `master`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
changelog-seeninto the "Global Settings" sectionllvm.link-sharedandrust.debug-assertionsdocsandcompiler-docsonly control the default, they're not a hard-off switch.-vvvandlocal-rebuildThis also sets
download-rustc = false; that was already the default, but it will be helpful in case the default changes (https://jyn.dev/2023/01/12/Bootstrapping-Rust-in-2023.html).