rust/build.sh

4 lines
124 B
Bash
Raw Normal View History

2018-06-17 11:05:11 -05:00
cargo build || exit 1
rustc -Zcodegen-backend=$(pwd)/target/debug/librustc_codegen_cretonne.so example.rs --crate-type lib