-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 4 pull requests #133160
Rollup of 4 pull requests #133160
Conversation
Signed-off-by: Tarek <[email protected]>
…rder_fields Migrate `reorder_fields` Assist to Use `SyntaxFactory`
minor: Bump xshell
They were converted to LSP position using the current file's line index, which is obviously wrong.
fix: Fix related documents diagnostics
No functional change (yet).
Overhaul the `-l` option parser (for linking to native libs) The current parser for `-l` options has accumulated over time, making it hard to follow. This PR tries to clean it up in several ways. Key changes: - This code now gets its own submodule, to slightly reduce clutter in `rustc_session::config`. - Cleaner division between iterating over multiple `-l` options, and processing each individual one. - Separate “split” step that breaks up the value string into `[KIND[:MODIFIERS]=]NAME[:NEW_NAME]`, but leaves parsing/validating those parts to later steps. - This step also gets its own (disposable) unit test, to make sure it works as expected. - A context struct reduces the burden of parameter passing, and makes it easier to write error messages that adapt to nightly/stable compilers. - Fewer calls to `nightly_options` helper functions, because at this point we can get the same information from `UnstableOptions` and `UnstableFeatures` (which are downstream of earlier calls to those helper functions). There should be no overall change in compiler behaviour.
…r-errors rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirect In rust-lang#120370 this name caused confusion as the author thought the intrinsic was stable. So let's try a different name... If we can land this before the beta cutoff we can avoid needing `cfg(bootstrap)` for this. ;) Cc `@compiler-errors` `@saethlin`
Document alternatives to `static mut` In rust-lang#133143 I've noticed alternatives to `static mut` aren't documented anywhere.
Subtree update of `rust-analyzer` r? `@ghost`
@bors r+ rollup=never p=4 |
Rollup of 4 pull requests Successful merges: - rust-lang#132934 (Overhaul the `-l` option parser (for linking to native libs)) - rust-lang#133142 (rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirect) - rust-lang#133145 (Document alternatives to `static mut`) - rust-lang#133158 (Subtree update of `rust-analyzer`) r? `@ghost` `@rustbot` modify labels: rollup
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
@bors retry (msvc) |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR:
previous master: e83c45a98b In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (c602e9a): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary 2.6%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary -2.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 790.339s -> 790.89s (0.07%) |
Successful merges:
-l
option parser (for linking to native libs) #132934 (Overhaul the-l
option parser (for linking to native libs))static mut
#133145 (Document alternatives tostatic mut
)rust-analyzer
#133158 (Subtree update ofrust-analyzer
)r? @ghost
@rustbot modify labels: rollup
Create a similar rollup