diff options
| author | Urgau <urgau@numericable.fr> | 2025-06-11 00:03:34 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-06-14 15:24:28 +0200 |
| commit | 810d99e7b5116ba00dd2e8da872ccead0b06f4ef (patch) | |
| tree | 3d09628dc7c3c9d23fdfcd7ddca4d092a31b7a52 /compiler/rustc_session/src/options.rs | |
| parent | 6c8138de8f1c96b2f66adbbc0e37c73525444750 (diff) | |
| download | rust-810d99e7b5116ba00dd2e8da872ccead0b06f4ef.tar.gz rust-810d99e7b5116ba00dd2e8da872ccead0b06f4ef.zip | |
Prepare `rustc-dev` component un-remapping in the compiler
Diffstat (limited to 'compiler/rustc_session/src/options.rs')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 12fa05118ca..ecf9ef25278 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -387,9 +387,10 @@ top_level_options!( /// Remap source path prefixes in all output (messages, object files, debug, etc.). remap_path_prefix: Vec<(PathBuf, PathBuf)> [TRACKED_NO_CRATE_HASH], - /// Base directory containing the `src/` for the Rust standard library, and - /// potentially `rustc` as well, if we can find it. Right now it's always - /// `$sysroot/lib/rustlib/src/rust` (i.e. the `rustup` `rust-src` component). + + /// Base directory containing the `library/` directory for the Rust standard library. + /// Right now it's always `$sysroot/lib/rustlib/src/rust` + /// (i.e. the `rustup` `rust-src` component). /// /// This directory is what the virtual `/rustc/$hash` is translated back to, /// if Rust was built with path remapping to `/rustc/$hash` enabled |
