diff options
| author | bors <bors@rust-lang.org> | 2020-11-02 00:12:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-11-02 00:12:32 +0000 |
| commit | 3d0682b97a3a03bcf54337b56002fb6b2b0ce244 (patch) | |
| tree | 3eb3f13b1841a6fa4f16cb4bd42b29e4f678545f /compiler/rustc_session/src | |
| parent | b2025326088b54fb3f083bebeba14e0a15bf00d3 (diff) | |
| parent | 6febaf2419a528b08d03349de205237fd8bba4b9 (diff) | |
| download | rust-3d0682b97a3a03bcf54337b56002fb6b2b0ce244.tar.gz rust-3d0682b97a3a03bcf54337b56002fb6b2b0ce244.zip | |
Auto merge of #78605 - nox:relax-elf-relocations, r=nagisa
Implement -Z relax-elf-relocations=yes|no This lets rustc users tweak whether the linker should relax ELF relocations without recompiling a whole new target with its own libcore etc.
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 578caf2192d..fb09773fd1b 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1032,6 +1032,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "enable queries of the dependency graph for regression testing (default: no)"), query_stats: bool = (false, parse_bool, [UNTRACKED], "print some statistics about the query system (default: no)"), + relax_elf_relocations: Option<bool> = (None, parse_opt_bool, [TRACKED], + "whether ELF relocations can be relaxed"), relro_level: Option<RelroLevel> = (None, parse_relro_level, [TRACKED], "choose which RELRO level to use"), report_delayed_bugs: bool = (false, parse_bool, [TRACKED], |
