Skip to content

Commit 37c88dc

Browse files
committed
Always specify cargo toolchain
By always specifying a cargo toolchain (the +${TOOLCHAIN} option) we avoid being affected by rust-toolchain(.toml) files. Fixes #31.
1 parent fce34fb commit 37c88dc

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
# Run twice to test problem with expression caching
3434
./tests/scripts/test-runner.sh
3535
./tests/scripts/test-runner.sh
36+
(cd tests/scripts/ignores-rust-toolchain && ../../../target/debug/rust-script test.rs)
3637
3738
check-format:
3839
runs-on: ubuntu-latest
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
invalid-rust-version
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
std::process::exit(0);

0 commit comments

Comments
 (0)