about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaoul Strackx <raoul.strackx@fortanix.com>2023-07-20 14:31:56 +0200
committerRaoul Strackx <raoul.strackx@fortanix.com>2023-07-20 14:31:56 +0200
commit3670bf182097293bbf82abb39131735d86b572e0 (patch)
treebff2aff04e5d254cde3165d466a3254724f2122b
parentb14fd2359f47fb9a14bbfe55359db4bb3af11861 (diff)
downloadrust-3670bf182097293bbf82abb39131735d86b572e0.tar.gz
rust-3670bf182097293bbf82abb39131735d86b572e0.zip
Fix `dump-ice-to-disk` and `short-ice` tests when librustc-driver is dynamically linked
-rw-r--r--tests/run-make/dump-ice-to-disk/Makefile1
-rw-r--r--tests/run-make/short-ice/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/run-make/dump-ice-to-disk/Makefile b/tests/run-make/dump-ice-to-disk/Makefile
index 4f33d590237..23006fc09e2 100644
--- a/tests/run-make/dump-ice-to-disk/Makefile
+++ b/tests/run-make/dump-ice-to-disk/Makefile
@@ -3,6 +3,7 @@ include ../tools.mk
 # ignore-windows
 
 export RUSTC := $(RUSTC_ORIGINAL)
+export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
 export TMPDIR := $(TMPDIR)
 
 all:
diff --git a/tests/run-make/short-ice/Makefile b/tests/run-make/short-ice/Makefile
index 4f33d590237..23006fc09e2 100644
--- a/tests/run-make/short-ice/Makefile
+++ b/tests/run-make/short-ice/Makefile
@@ -3,6 +3,7 @@ include ../tools.mk
 # ignore-windows
 
 export RUSTC := $(RUSTC_ORIGINAL)
+export LD_LIBRARY_PATH := $(HOST_RPATH_DIR)
 export TMPDIR := $(TMPDIR)
 
 all: