File: 2003_no_native_CPU.patch

package info (click to toggle)
rust-safe-arch 0.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 940 kB
  • sloc: python: 66; makefile: 2; sh: 1
file content (17 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: avoid setting flag target-cpu=native
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-11-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -2,8 +2,3 @@
 # Note: Cargo doesn't carry these settings to dependencies. They only affect the
 # process of directly building the crate. This is so that we can easily use
 # `cargo test` and `cargo doc` and so on during development.
-
-[build]
-# This can cause weirdness if they don't match!
-rustflags = ["-Ctarget-cpu=native"]
-rustdocflags = ["-Ctarget-cpu=native"]