]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #103660 - ozkanonur:master, r=jyn514
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Sat, 5 Nov 2022 06:01:28 +0000 (11:31 +0530)
committerGitHub <noreply@github.com>
Sat, 5 Nov 2022 06:01:28 +0000 (11:31 +0530)
improve `filesearch::get_or_default_sysroot`

`fn get_or_default_sysroot` is now improved and used in `miri` and `clippy`, and tests are still passing as they should. So we no longer need to implement custom workarounds/hacks to find sysroot in tools like miri/clippy.

Resolves https://github.com/rust-lang/rust/issues/98832

re-opened from #103581

1  2 
Cargo.lock
compiler/rustc_codegen_ssa/src/back/link.rs
compiler/rustc_session/src/config.rs
compiler/rustc_session/src/session.rs
src/tools/clippy/src/driver.rs

diff --cc Cargo.lock
Simple merge
Simple merge
Simple merge
Simple merge