Skip to content

Commit db268b0

Browse files
committed
rust: Remove is-builtin from target configs
The in-tree targets are technically not builtin targets. Furthermore, rustc will start erroring out if JSON configs contain `is-builtin: true` in the future. See rust-lang/rust@f4701cd65cf6b3f . Signed-off-by: Daniel Xu <[email protected]>
1 parent be91a55 commit db268b0

File tree

8 files changed

+0
-8
lines changed

8 files changed

+0
-8
lines changed

arch/arm/rust/target.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"function-sections": false,
1010
"has-elf-tls": true,
1111
"has-rpath": true,
12-
"is-builtin": true,
1312
"linker-is-gnu": true,
1413
"llvm-target": "arm-unknown-linux-gnueabi",
1514
"max-atomic-width": 64,

arch/arm64/rust/target.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"env": "gnu",
88
"features": "+strict-align,+neon,+fp-armv8",
99
"function-sections": false,
10-
"is-builtin": true,
1110
"linker-flavor": "gcc",
1211
"linker-is-gnu": true,
1312
"llvm-target": "aarch64-unknown-none",

arch/powerpc/rust/target.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"env": "gnu",
77
"features": "-altivec,-vsx,-hard-float",
88
"function-sections": false,
9-
"is-builtin": true,
109
"linker-flavor": "gcc",
1110
"linker-is-gnu": true,
1211
"llvm-target": "powerpc64le-elf",

arch/riscv/rust/rv32ima.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"env": "gnu",
1010
"features": "+m,+a",
1111
"function-sections": false,
12-
"is-builtin": true,
1312
"linker-flavor": "gcc",
1413
"linker-is-gnu": true,
1514
"llvm-target": "riscv32",

arch/riscv/rust/rv32imac.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"env": "gnu",
1010
"features": "+m,+a,+c",
1111
"function-sections": false,
12-
"is-builtin": true,
1312
"linker-flavor": "gcc",
1413
"linker-is-gnu": true,
1514
"llvm-target": "riscv32",

arch/riscv/rust/rv64ima.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"env": "gnu",
1010
"features": "+m,+a",
1111
"function-sections": false,
12-
"is-builtin": true,
1312
"linker-flavor": "gcc",
1413
"linker-is-gnu": true,
1514
"llvm-target": "riscv64",

arch/riscv/rust/rv64imac.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"env": "gnu",
1010
"features": "+m,+a,+c",
1111
"function-sections": false,
12-
"is-builtin": true,
1312
"linker-flavor": "gcc",
1413
"linker-is-gnu": true,
1514
"llvm-target": "riscv64",

arch/x86/rust/target.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"env": "gnu",
1010
"features": "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2,+soft-float",
1111
"function-sections": false,
12-
"is-builtin": true,
1312
"linker-flavor": "gcc",
1413
"linker-is-gnu": true,
1514
"llvm-target": "x86_64-elf",

0 commit comments

Comments
 (0)