about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-02 00:12:32 +0000
committerbors <bors@rust-lang.org>2020-11-02 00:12:32 +0000
commit3d0682b97a3a03bcf54337b56002fb6b2b0ce244 (patch)
tree3eb3f13b1841a6fa4f16cb4bd42b29e4f678545f /compiler/rustc_interface/src/tests.rs
parentb2025326088b54fb3f083bebeba14e0a15bf00d3 (diff)
parent6febaf2419a528b08d03349de205237fd8bba4b9 (diff)
downloadrust-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_interface/src/tests.rs')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 9332554eede..dfc6f691457 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -574,6 +574,7 @@ fn test_debugging_options_tracking_hash() {
     tracked!(print_fuel, Some("abc".to_string()));
     tracked!(profile, true);
     tracked!(profile_emit, Some(PathBuf::from("abc")));
+    tracked!(relax_elf_relocations, Some(true));
     tracked!(relro_level, Some(RelroLevel::Full));
     tracked!(report_delayed_bugs, true);
     tracked!(run_dsymutil, false);