rust/build.sh

5 lines
260 B
Bash
Raw Normal View History

2018-06-17 11:05:11 -05:00
cargo build || exit 1
2018-07-15 13:30:03 -05:00
rustc -Zcodegen-backend=$(pwd)/target/debug/librustc_codegen_cranelift.so example.rs --crate-type lib -Og
rustc -Zcodegen-backend=$(pwd)/target/debug/librustc_codegen_cranelift.so ./target/libcore/src/libcore/lib.rs --crate-type lib -Og