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.27k stars 43 forks source link

Correct non unix to use an enum #53

Closed Blisto91 closed 2 years ago

Blisto91 commented 2 years ago

Makes it so master can be compiled on windows.

Edit: I missed you removed these from the unix path. But dunno if you want the same here.

let cmd_name = action.build_kind.exec_command();
info!("running `cargo {}`", cmd_name);

Edit 2: I went ahead and removed the lines above as in the unix path

fornwall commented 2 years ago

Thanks!