Make sure build.sh exits with non-zero error code on errors
This commit is contained in:
parent
5b85e0fec8
commit
5c4a8b0ca0
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
|
@ -7,6 +7,6 @@ RUSTC="rustc -Zcodegen-backend=$(pwd)/../target/debug/librustc_codegen_cranelift
|
|||
$RUSTC mini_core.rs --crate-name mini_core &&
|
||||
$RUSTC example.rs &&
|
||||
$RUSTC mini_core_hello_world.rs &&
|
||||
$RUSTC ../target/libcore/src/libcore/lib.rs
|
||||
$RUSTC ../target/libcore/src/libcore/lib.rs &&
|
||||
|
||||
rm *.rlib
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue