fix(codegen): 🐛 Disable FP/NEON features in the target file
This fixes the build warnings for the new rustc nightly.
This commit is contained in:
parent
ffc6e50dcf
commit
9dcc5b192a
|
@ -4,8 +4,9 @@ pipelining = true
|
|||
|
||||
[target.aarch64-vesper-metta]
|
||||
rustflags = [
|
||||
"-C", "target-feature=-fp-armv8",
|
||||
"-C", "target-cpu=cortex-a53",
|
||||
"-C", "target-cpu=cortex-a53", # raspi 2 .. 3b+
|
||||
#"-C", "target-cpu=cortex-a73", # raspi 4
|
||||
# ^^ how to set this dynamicall depending on the features??
|
||||
"-C", "embed-bitcode=yes",
|
||||
"-Z", "macro-backtrace",
|
||||
]
|
||||
|
|
|
@ -2,20 +2,23 @@
|
|||
"llvm-target": "aarch64-unknown-none",
|
||||
"data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128",
|
||||
"arch": "aarch64",
|
||||
"features": "+strict-align,-neon,-fp-armv8",
|
||||
"os": "vesper",
|
||||
"vendor": "metta",
|
||||
"env": "",
|
||||
"executables": true,
|
||||
"panic-strategy": "abort",
|
||||
"linker-flavor": "ld.lld",
|
||||
"linker": "rust-lld",
|
||||
"linker-flavor": "ld.lld",
|
||||
"pre-link-args": {
|
||||
"ld.lld": [
|
||||
"--print-gc-sections"
|
||||
]
|
||||
},
|
||||
"disable-redzone": true,
|
||||
"relocation-model": "static",
|
||||
"target-endian": "little",
|
||||
"max-atomic-width": 128,
|
||||
"target-c-int-width": "32",
|
||||
"target-pointer-width": "64"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue