diff options
| author | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2024-03-06 13:28:12 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2024-03-25 22:20:13 +0000 |
| commit | 3d65c920404959cc8ef3ba9e963a31fc91983caf (patch) | |
| tree | 20896e776de774897b4d6a1ad9e977c5e1e7a9c7 /compiler/rustc_session/src/config.rs | |
| parent | 2fae4ee92ea9a28722673df442112446f7521079 (diff) | |
| download | rust-3d65c920404959cc8ef3ba9e963a31fc91983caf.tar.gz rust-3d65c920404959cc8ef3ba9e963a31fc91983caf.zip | |
Replace implementation with @RUSTC_BUILTIN prefix substitution var
Diffstat (limited to 'compiler/rustc_session/src/config.rs')
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index 8d186f7c749..f612e8b5b1a 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -2824,6 +2824,7 @@ pub fn build_session_options(early_dcx: &mut EarlyDiagCtxt, matches: &getopts::M let logical_env = parse_logical_env(early_dcx, matches); let sysroot = filesearch::materialize_sysroot(sysroot_opt); + let real_rust_source_base_dir = { // This is the location used by the `rust-src` `rustup` component. let mut candidate = sysroot.join("lib/rustlib/src/rust"); |
