rust/build.sh

4 lines
124 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