File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ mkdir -p sysroot/lib/rustlib/$TARGET_TRIPLE/lib/
30
30
cp -r target/$TARGET_TRIPLE /$sysroot_channel /deps/* sysroot/lib/rustlib/$TARGET_TRIPLE /lib/
31
31
32
32
# Since we can't override the sysroot for the UI tests anymore, we create a new toolchain and manually overwrite the sysroot directory.
33
- my_toolchain_dir=$HOME /.rustup/toolchains/my_toolchain
33
+ my_toolchain_dir=$HOME /.rustup/toolchains/codegen_gcc_ui_tests
34
34
rm -rf $my_toolchain_dir
35
35
rust_toolchain=$( cat ../rust-toolchain | grep channel | sed ' s/channel = "\(.*\)"/\1/' )
36
36
cp -r $HOME /.rustup/toolchains/$rust_toolchain -$TARGET_TRIPLE $my_toolchain_dir
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ function setup_rustc() {
213
213
214
214
rm config.toml || true
215
215
216
- my_toolchain_dir=$HOME /.rustup/toolchains/my_toolchain
216
+ my_toolchain_dir=$HOME /.rustup/toolchains/codegen_gcc_ui_tests
217
217
218
218
cat > config.toml << EOF
219
219
changelog-seen = 2
@@ -223,9 +223,11 @@ codegen-backends = []
223
223
deny-warnings = false
224
224
225
225
[build]
226
- cargo = "$my_toolchain_dir /bin/cargo"
226
+ #cargo = "$my_toolchain_dir /bin/cargo"
227
+ cargo = "$( rustup which cargo) "
227
228
local-rebuild = true
228
- rustc = "$my_toolchain_dir /bin/rustc"
229
+ #rustc = "$my_toolchain_dir /bin/rustc"
230
+ rustc = "$HOME /.rustup/toolchains/$rust_toolchain -$TARGET_TRIPLE /bin/rustc"
229
231
230
232
[target.x86_64-unknown-linux-gnu]
231
233
llvm-filecheck = "` which FileCheck-10 || which FileCheck-11 || which FileCheck-12 || which FileCheck-13 || which FileCheck-14` "
You can’t perform that action at this time.
0 commit comments