fornwall / rust-script

Run Rust files and expressions as scripts without any setup or compilation step.
https://rust-script.org
Apache License 2.0
1.21k stars 41 forks source link

Avoid exporting CARGO_TARGET_DIR (fixes #27) #28

Closed fornwall-kivra closed 3 years ago

fornwall-kivra commented 3 years ago

Use the --target-dir cargo CLI option instead of exporting the CARGO_TARGET_DIR environment variable to avoid interfering with cargo calls done by the script.