Open ryansname opened 6 years ago
It seems this happens when I've installed it via cargo install cargo-script
but not when built locally.
Versions: cargo-install, v0.2.8: Fails tag v0.2.7: Works 614e60e5932e 0.2.9: Works e6992ae 0.2.8: Works, perhaps it's related to something cargo-install is doing?
If I delete the Cargo.lock
from the repo version I get the same error.
Lead me to https://github.com/rust-lang/cargo/issues/2263 which was recently implemented on nightly.
And a potential workaround:
git clone https://github.com/DanielKeep/cargo-script.git
cd cargo-script
cargo install
Can confirm same problem (and workaround) on Windows 10 + {PowerShell, Git Bash}.
I've tried copy pasting the scripts in the readme but get the following output:
The same thing occurs for
-e
:Env: Version: 0.2.8 OS: Archlinux Shell: bash and zsh