File tree 1 file changed +2
-0
lines changed
src/tools/compiletest/src
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3784,6 +3784,7 @@ impl<'test> TestCx<'test> {
3784
3784
. env ( "TMPDIR" , & tmpdir)
3785
3785
. env ( "LD_LIB_PATH_ENVVAR" , dylib_env_var ( ) )
3786
3786
. env ( "HOST_RPATH_DIR" , cwd. join ( & self . config . compile_lib_path ) )
3787
+ . env ( "LD_LIBRARY_PATH" , cwd. join ( & self . config . compile_lib_path ) )
3787
3788
. env ( "TARGET_RPATH_DIR" , cwd. join ( & self . config . run_lib_path ) )
3788
3789
. env ( "LLVM_COMPONENTS" , & self . config . llvm_components )
3789
3790
// We for sure don't want these tests to run in parallel, so make
@@ -3838,6 +3839,7 @@ impl<'test> TestCx<'test> {
3838
3839
. env ( "RUSTC" , cwd. join ( & self . config . rustc_path ) )
3839
3840
. env ( "TMPDIR" , & tmpdir)
3840
3841
. env ( "HOST_RPATH_DIR" , cwd. join ( & self . config . compile_lib_path ) )
3842
+ . env ( "LD_LIBRARY_PATH" , cwd. join ( & self . config . compile_lib_path ) )
3841
3843
. env ( "TARGET_RPATH_DIR" , cwd. join ( & self . config . run_lib_path ) )
3842
3844
. env ( "LLVM_COMPONENTS" , & self . config . llvm_components )
3843
3845
// We for sure don't want these tests to run in parallel, so make
You can’t perform that action at this time.
0 commit comments