File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " ng-rocksdb"
33description = " Rust wrapper for Facebook's RocksDB embeddable database, fork for Nextgraph.org"
4- version = " 0.21.0-ngpreview.4 "
4+ version = " 0.21.0-ngalpha.5 "
55edition = " 2018"
66rust-version = " 1.60"
77authors = [" Tyler Neely <t@jujit.su>" , " David Greenberg <dsg123456789@gmail.com>" ]
Original file line number Diff line number Diff line change @@ -196,7 +196,9 @@ fn build_rocksdb() {
196196 config. define ( "ROCKSDB_LIB_IO_POSIX" , None ) ;
197197 env:: set_var ( "IPHONEOS_DEPLOYMENT_TARGET" , "12.0" ) ;
198198 } else if target. contains ( "darwin" ) {
199- config. flag ( "-march=haswell" ) ;
199+ if !target. contains ( "aarch64-apple-darwin" ) {
200+ config. flag ( "-march=haswell" ) ;
201+ }
200202 config. define ( "OS_MACOSX" , None ) ;
201203 config. define ( "ROCKSDB_PLATFORM_POSIX" , None ) ;
202204 config. define ( "ROCKSDB_LIB_IO_POSIX" , None ) ;
You can’t perform that action at this time.
0 commit comments