Skip to content

Commit

Permalink
Fix warnings by rustc --print cfg --target ci/switch.json
Browse files Browse the repository at this point in the history
```
warning: target json file contains unused fields: abi-blacklist, family, has-elf-tls, target-env
```
  • Loading branch information
tesuji committed May 6, 2024
1 parent 853bdfd commit 0a61e7e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions ci/switch.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
{
"family": "unix",
"env": "newlib",
"target-env": "newlib",
"target-family": "unix",
"target-c-int-width": "32",
"target-endian": "little",
"target-pointer-width": "64",
"os": "horizon",
"arch": "aarch64",
"panic-strategy": "unwind",
"abi-blacklist": [
"stdcall",
"fastcall",
"vectorcall",
"thiscall",
"win64",
"sysv64"
],
"dynamic-linking" : false,
"features": "+a53,+strict-align",
"data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128",
"executables": true,
"position-independent-executables" : true,
"linker-flavor": "gcc",
"llvm-target": "aarch64-unknown-none",
"has-elf-tls" : false,
"has-thread-local": false,
"linker-is-gnu" : true,
"disable-redzone" : true,
"relocation-model" : "pic",
Expand All @@ -34,4 +24,4 @@
"trap-unreachable" : true,
"emit-debug-gdb-scripts" : true,
"requires-uwtable" : true
}
}

0 comments on commit 0a61e7e

Please sign in to comment.