mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
5 lines
250 B
Bash
Executable File
5 lines
250 B
Bash
Executable File
cargo build || exit 1
|
|
|
|
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 ./rust/src/libcore/lib.rs --crate-type lib -Og
|