diff options
| author | Andy Wang <cbeuw.andy@gmail.com> | 2021-05-01 12:28:45 +0100 |
|---|---|---|
| committer | Andy Wang <cbeuw.andy@gmail.com> | 2021-05-05 15:31:32 +0100 |
| commit | 0ac9ca4f88c03e6fc507ab8937573dca1ccfd2ed (patch) | |
| tree | 3ea40c134bb503668dc11c20c687dc76a7b81316 /compiler/rustc_session/src | |
| parent | 5417b45c2676dcd396f007bd89ed0cd55d085768 (diff) | |
| download | rust-0ac9ca4f88c03e6fc507ab8937573dca1ccfd2ed.tar.gz rust-0ac9ca4f88c03e6fc507ab8937573dca1ccfd2ed.zip | |
Add -Z simulate-remapped-rust-src-base option to simulate path virutalisation during bootstrapping
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 1c2a7f7716d..3d069aa92e7 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1161,6 +1161,9 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "whether ELF relocations can be relaxed"), relro_level: Option<RelroLevel> = (None, parse_relro_level, [TRACKED], "choose which RELRO level to use"), + simulate_remapped_rust_src_base: Option<PathBuf> = (None, parse_opt_pathbuf, [TRACKED], + "simulate the effect of remap-debuginfo = true at bootstrapping by remapping path \ + to rust's source base directory. only meant for testing purposes"), report_delayed_bugs: bool = (false, parse_bool, [TRACKED], "immediately print bugs registered with `delay_span_bug` (default: no)"), sanitizer: SanitizerSet = (SanitizerSet::empty(), parse_sanitizers, [TRACKED], |
