rust-lang / rustc_codegen_gcc

libgccjit AOT codegen for rustc
Apache License 2.0
905 stars 60 forks source link

Rustify `cargo.sh` #405

Closed GuillaumeGomez closed 7 months ago

GuillaumeGomez commented 7 months ago

Forgot to say but updated. ^^'

antoyo commented 7 months ago

If a program is ran via ./y.sh cargo run and exits with an error, we get this:

Command `["cargo", "+nightly-2023-11-17", "run"]` failed
Command failed to run: Command `cargo +nightly-2023-11-17 run` exited with status Some(1)

In this case, I would prefer not to show this to keep the same behavior as cargo.