diff --git a/__crypto/secretshare/Cargo.toml b/__crypto/secretshare/Cargo.toml index 4e3cfba..4669c52 100644 --- a/__crypto/secretshare/Cargo.toml +++ b/__crypto/secretshare/Cargo.toml @@ -12,3 +12,10 @@ getopts = "0.2" rustc-serialize = "0.3" crc24 = "0.1" rand = "0.3" + +[profile.release] +opt-level = "z" +lto = true +codegen-units = 1 +panic = "abort" +strip = true diff --git a/__crypto/secretshare/justfile b/__crypto/secretshare/justfile new file mode 100644 index 0000000..59bedb2 --- /dev/null +++ b/__crypto/secretshare/justfile @@ -0,0 +1,7 @@ +_: + @just --list + +build-nightly: + cargo +nightly build -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target x86_64-apple-darwin --release + +