Merge pull request #5013 from roc-lang/remove-native

[Simple PR] Remove native from rust flags
This commit is contained in:
Anton-4 2023-02-13 11:50:46 +01:00 committed by GitHub
commit fb94abad13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,10 +10,6 @@ test-gen-llvm-wasm = "test -p roc_gen_wasm -p test_gen --no-default-features --f
# lto=fat Spend extra effort on link-time optimization across crates
rustflags = ["-Copt-level=s", "-Clto=fat"]
[target.'cfg(not(target = "wasm32-unknown-unknown"))']
# Sets the avx, avx2, sse2 and sse4.2 target-features correctly based on your CPU.
rustflags = ["-Ctarget-cpu=native"]
[env]
# Gives us the path of the workspace root for use in cargo tests without having
# to compute it per-package.