Closed fornwall closed 1 year ago
As this breaks when cargo is not a rustup proxy, let's close this in favour of https://github.com/fornwall/rust-script/pull/73, which avoids rust toolchain files by building with CWD
set to the generated project directory, as suggested here.
By always specifying a cargo toolchain (the
+${TOOLCHAIN}
option) we avoid being affected by rust-toolchain(.toml) files.Fixes #31 (however, see that linked issue for comments about this change, and how it will break if cargo is not a rustup proxy command or a
stable
toolchain is not installed).