Skip to content

Commit

Permalink
rust: Remove is-builtin from target configs
Browse files Browse the repository at this point in the history
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 <dxu@dxuuu.xyz>
  • Loading branch information
danobi committed Sep 2, 2021
1 parent be91a55 commit db268b0
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion arch/arm/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"function-sections": false,
"has-elf-tls": true,
"has-rpath": true,
"is-builtin": true,
"linker-is-gnu": true,
"llvm-target": "arm-unknown-linux-gnueabi",
"max-atomic-width": 64,
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"env": "gnu",
"features": "+strict-align,+neon,+fp-armv8",
"function-sections": false,
"is-builtin": true,
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "aarch64-unknown-none",
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"env": "gnu",
"features": "-altivec,-vsx,-hard-float",
"function-sections": false,
"is-builtin": true,
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "powerpc64le-elf",
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/rust/rv32ima.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"env": "gnu",
"features": "+m,+a",
"function-sections": false,
"is-builtin": true,
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "riscv32",
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/rust/rv32imac.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"env": "gnu",
"features": "+m,+a,+c",
"function-sections": false,
"is-builtin": true,
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "riscv32",
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/rust/rv64ima.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"env": "gnu",
"features": "+m,+a",
"function-sections": false,
"is-builtin": true,
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "riscv64",
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/rust/rv64imac.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"env": "gnu",
"features": "+m,+a,+c",
"function-sections": false,
"is-builtin": true,
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "riscv64",
Expand Down
1 change: 0 additions & 1 deletion arch/x86/rust/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"env": "gnu",
"features": "-mmx,-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-3dnow,-3dnowa,-avx,-avx2,+soft-float",
"function-sections": false,
"is-builtin": true,
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "x86_64-elf",
Expand Down

0 comments on commit db268b0

Please sign in to comment.