Make sure build.sh exits with non-zero error code on errors

This commit is contained in:
bjorn3 2018-08-08 19:42:11 +02:00
parent 5b85e0fec8
commit 5c4a8b0ca0

View file

@ -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