File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -356,11 +356,12 @@ function test_rustc() {
356
356
# We need to overwrite the sysroot in the tests, now.
357
357
# TODO(antoyo): find a faster way to do this.
358
358
# FIXME: this makes the stderr different since it changes the line numbers.
359
- for file in $( find tests/ui -type f -name ' *.rs' ) ; do
360
- sed -ie " 1i // compile-flags: --sysroot " $( pwd) " /../build_sysroot/sysroot\n" $file
361
- done
359
+ # for file in $(find tests/ui -type f -name '*.rs'); do
360
+ # sed -ie "1i // compile-flags: --sysroot "$(pwd)"/../build_sysroot/sysroot\n" $file
361
+ # done
362
362
363
- RUSTC_ARGS=" $TEST_FLAGS -Csymbol-mangling-version=v0 -Zcodegen-backend=" $( pwd) " /../target/" $CHANNEL " /librustc_codegen_gcc." $dylib_ext " "
363
+ # TODO: copy the sysroot at the correct location to not have to use the --sysroot flag.
364
+ RUSTC_ARGS=" $TEST_FLAGS -Csymbol-mangling-version=v0 -Zcodegen-backend=" $( pwd) " /../target/" $CHANNEL " /librustc_codegen_gcc." $dylib_ext " --sysroot " $( pwd) " /../build_sysroot/sysroot"
364
365
365
366
if [ $# -eq 0 ]; then
366
367
# No argument supplied to the function. Doing nothing.
You can’t perform that action at this time.
0 commit comments