File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ jobs:
110
110
111
111
cd tests/hello-world
112
112
CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo build --target m68k-unknown-linux-gnu
113
- CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo run --target m68k-unknown-linux-gnu > hello_world_stdout
113
+ CG_RUN_IN_VM=1 CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo run --target m68k-unknown-linux-gnu > hello_world_stdout
114
114
test $(cat hello_world_stdout) == "Hello, world!" || exit 1
115
115
116
116
# Summary job for the merge queue.
Original file line number Diff line number Diff line change @@ -378,6 +378,10 @@ impl ConfigInfo {
378
378
self . run_in_vm = true ;
379
379
}
380
380
381
+ if std:: env:: var ( "CG_RUN_IN_VM" ) . as_deref ( ) == Ok ( "1" ) {
382
+ self . run_in_vm = true ;
383
+ }
384
+
381
385
let current_dir =
382
386
std_env:: current_dir ( ) . map_err ( |error| format ! ( "`current_dir` failed: {error:?}" ) ) ?;
383
387
let channel = if self . channel == Channel :: Release {
You can’t perform that action at this time.
0 commit comments