Run A Rust File As A Script With cargo
cargo +nightly -Zscript ./script-name
- You have to do [TODO: Code shorthand span ] in front of the filename if it's not a [TODO: Code shorthand span ] file.
~ fin ~
cargo +nightly -Zscript ./script-name
- You have to do [TODO: Code shorthand span ] in front of the filename if it's not a [TODO: Code shorthand span ] file.