rustc_session: Add a structure for keeping both explicit and default sysroots#142799
rustc_session: Add a structure for keeping both explicit and default sysroots#142799bors merged 1 commit intorust-lang:masterfrom
Conversation
|
cc @davidtwco, @compiler-errors, @TaKO8Ki Some changes occurred in compiler/rustc_codegen_ssa These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
|
I've been meaning to split r=me with the |
|
r=me with the unnecesary feature gate removed. |
…sysroots Also avoid creating and cloning sysroot unnecessarily.
|
@bors r=bjorn3 |
rustc_session: Add a structure for keeping both explicit and default sysroots Also avoid creating and cloning sysroot unnecessarily. Implements the suggestion from rust-lang#142089 (comment). r? `@bjorn3`
Rollup of 9 pull requests Successful merges: - #142645 (Also emit suggestions for usages in the `non_upper_case_globals` lint) - #142657 (mbe: Clean up code with non-optional `NonterminalKind`) - #142799 (rustc_session: Add a structure for keeping both explicit and default sysroots) - #142805 (Emit a single error when importing a path with `_`) - #142882 (Lazy init diagnostics-only local_names in borrowck) - #142883 (Add impl_trait_in_bindings tests from #61773) - #142943 (Don't include current rustc version string in feature removed help) - #142965 ([RTE-497] Ignore `c-link-to-rust-va-list-fn` test on SGX platform) - #142972 (Add a missing mailmap entry) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #142799 - petrochenkov:expnop, r=bjorn3 rustc_session: Add a structure for keeping both explicit and default sysroots Also avoid creating and cloning sysroot unnecessarily. Implements the suggestion from #142089 (comment). r? ``@bjorn3``
Also avoid creating and cloning sysroot unnecessarily.
Implements the suggestion from #142089 (comment).
r? @bjorn3