about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-21 13:30:17 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-02-21 13:30:17 +0000
commitec451661660193bba32765b7d08b1d3ba1d21383 (patch)
tree84fe2437c392fd9926cfa1eb790e4ff3268ef3f0 /tests
parent9147b6dd2878763208d90b41bca18d9144fd5bf8 (diff)
downloadrust-ec451661660193bba32765b7d08b1d3ba1d21383.tar.gz
rust-ec451661660193bba32765b7d08b1d3ba1d21383.zip
Tell llvm-ar to not create a symbol table
Diffstat (limited to 'tests')
-rw-r--r--tests/run-make/staticlib-broken-bitcode/rmake.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/staticlib-broken-bitcode/rmake.rs b/tests/run-make/staticlib-broken-bitcode/rmake.rs
index f8c61d70819..17d17c1f0f5 100644
--- a/tests/run-make/staticlib-broken-bitcode/rmake.rs
+++ b/tests/run-make/staticlib-broken-bitcode/rmake.rs
@@ -11,7 +11,7 @@ fn main() {
     rfs::write("archive/invalid_bitcode.o", &bitcode);
 
     llvm_ar()
-        .obj_to_thin_ar()
+        .arg("rcuS") // like obj_to_ar() except skips creating a symbol table
         .output_input(
             path("archive").join(static_lib_name("thin_archive")),
             "archive/invalid_bitcode.o",