about summary refs log tree commit diff
path: root/tests/run-make/box-struct-no-segfault
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2024-06-06 21:34:34 +0200
committerJakub Beránek <berykubik@gmail.com>2024-06-07 11:12:24 +0200
commitd86c9819087fbc64b7d0a638b2fd8584831bb661 (patch)
treed5b0e3ae2f0816945d3712b9986f9b022af529bf /tests/run-make/box-struct-no-segfault
parent94ccb9b34d5cd9472bd2651055efb6a75d6649c8 (diff)
downloadrust-d86c9819087fbc64b7d0a638b2fd8584831bb661.tar.gz
rust-d86c9819087fbc64b7d0a638b2fd8584831bb661.zip
Remove all usages of `tmp_dir` from tests
Diffstat (limited to 'tests/run-make/box-struct-no-segfault')
-rw-r--r--tests/run-make/box-struct-no-segfault/rmake.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/box-struct-no-segfault/rmake.rs b/tests/run-make/box-struct-no-segfault/rmake.rs
index 5406f765e6c..1bbefd03541 100644
--- a/tests/run-make/box-struct-no-segfault/rmake.rs
+++ b/tests/run-make/box-struct-no-segfault/rmake.rs
@@ -5,9 +5,9 @@
 // This test checks that this bug does not resurface.
 // See https://github.com/rust-lang/rust/issues/28766
 
-use run_make_support::{rustc, tmp_dir};
+use run_make_support::rustc;
 
 fn main() {
     rustc().opt().input("foo.rs").run();
-    rustc().opt().library_search_path(tmp_dir()).input("main.rs").run();
+    rustc().opt().input("main.rs").run();
 }