Created
June 18, 2015 18:31
-
-
Save pythonesque/c00bdd76987ac76a6686 to your computer and use it in GitHub Desktop.
Build flags for cuckoo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build instructions | |
# Build initial libraries | |
cargo build --release | |
# Build executable as I have been doing. | |
#HASH = insert hash here \ | |
rustc src/lib.rs --crate-name libcukoo --crate-type bin \ | |
-C target-cpu=native -C prefer-dynamic -C opt-level=3 \ | |
-C metadata=$HASH -C extra-filename=-$HASH --out-dir ./target/release \ | |
--emit=dep-info,link \ | |
-L dependency=./target/release \ | |
-L dependency=./target/release/deps \ | |
--extern num_cpus=./target/release/deps/libnum_cpus-$HASH.rlib \ | |
--extern rand=./target/release/deps/librand-$HASH.rlib \ | |
-C no-stack-check -Z no-landing-pads \ | |
--emit=asm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment