about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2023-08-27 11:22:20 +0200
committerNikita Popov <nikita.ppv@gmail.com>2023-08-27 11:22:20 +0200
commit1b7cf24d807c3b4aa12ede3718c00c9e52e9aa9f (patch)
tree7b6b3367c410aee557ce632149f2ebe18fbf5eda /compiler/rustc_interface/src/tests.rs
parentf320f42c593b4353ea47448805f009ca0646cb06 (diff)
downloadrust-1b7cf24d807c3b4aa12ede3718c00c9e52e9aa9f.tar.gz
rust-1b7cf24d807c3b4aa12ede3718c00c9e52e9aa9f.zip
Revert "Auto merge of #106511 - MaskRay:gotpcrelx, r=nikic"
This reverts commit 441086879821d554ecdfde391e767d1a954fd5e2, reversing
changes made to 249595b7523fc07a99c1adee90b1947739ca0e5b.

This causes linker failures with the binutils version used by
cross (#115239), as well as miscompilations when using the mold
linker.
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
-rw-r--r--compiler/rustc_interface/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index db669ca7250..e3d66d18388 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -821,7 +821,7 @@ fn test_unstable_options_tracking_hash() {
     tracked!(profile_emit, Some(PathBuf::from("abc")));
     tracked!(profile_sample_use, Some(PathBuf::from("abc")));
     tracked!(profiler_runtime, "abc".to_string());
-    tracked!(relax_elf_relocations, Some(false));
+    tracked!(relax_elf_relocations, Some(true));
     tracked!(relro_level, Some(RelroLevel::Full));
     tracked!(remap_cwd_prefix, Some(PathBuf::from("abc")));
     tracked!(report_delayed_bugs, true);