Files
nixpkgs/pkgs/by-name/mi/mistral-rs/no-native-cpu.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
427 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 4abaaa83d..edc4d6710 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,12 +1,5 @@
-[target.x86_64-unknown-linux-gnu]
-rustflags = ["-C", "target-cpu=native"]
-
-[target.aarch64-apple-darwin]
-[build]
-rustflags = ["-C", "target-cpu=native"]
-
[target.wasm32-unknown-unknown]
rustflags = ["-C", "target-feature=+simd128"]
[target.x86_64-apple-darwin]