config.toml
1 [target.'cfg(all(not(target_arch = "wasm32"), not(feature = "noconfig")))'] 2 rustflags = ["-C", "target-cpu=native"] 3 4 [target.x86_64-unknown-linux-gnu] 5 rustflags = [ 6 # LLD is generally faster and might be the default for Rust in the future. 7 # See here: https://github.com/rust-lang/rust/issues/71515 8 "-C", "link-arg=-fuse-ld=lld", 9 "-C", "target-cpu=native" 10 ] 11 12 [env] 13 CXXFLAGS = "-include cstdint" #TODO: remove once RocksDB 0.24 is released