rust/build.sh

5 lines
249 B
Bash
Raw Normal View History

2018-06-17 18:05:11 +02:00
cargo build || exit 1
rustc -Zcodegen-backend=$(pwd)/target/debug/librustc_codegen_cretonne.so example.rs --crate-type lib -Og
2018-06-27 15:47:58 +02:00
rustc -Zcodegen-backend=$(pwd)/target/debug/librustc_codegen_cretonne.so ../rust/src/libcore/lib.rs --crate-type lib -Og