pull/1/head
Avril 4 years ago
parent 2e7e4a69af
commit 5186fe4b8a
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -9,6 +9,12 @@ edition = "2018"
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
[dependencies] [dependencies]
sha2 = "0.9" sha2 = "0.9"
malloc-array = "1.4" malloc-array = "1.4"

@ -1,7 +1,7 @@
INSTALL:= /usr/local/lib INSTALL:= /usr/local/lib
khash: khash:
cargo build --release RUSTFLAGS="-C target-cpu=native" cargo build --release
strip ./target/release/libkhash.so strip ./target/release/libkhash.so
test: test:

Loading…
Cancel
Save