Skip to content

Commit 5bbf583

Browse files
committed
Remove unused link-arg option from target configs
1 parent 764ce82 commit 5bbf583

File tree

4 files changed

+2
-35
lines changed

4 files changed

+2
-35
lines changed

app/liumlib/x86_64-unknown-elf.json

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"executables": true,
1010
"linker-flavor": "ld.lld",
1111
"linker": "rust-lld",
12-
"link-arg": "-L.",
1312
"panic-strategy": "abort",
1413
"disable-redzone": true,
1514
"features": "-mmx,-sse,+soft-float",

app/rusttest/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ default: $(TARGET_BIN)
33

44
include ../../common.mk
55

6-
.FORCE :
6+
.FORCE :
77
$(TARGET_BIN) : .FORCE
88
export LLVM_CC="$(LLVM_CC)" && \
99
export LLVM_AR="$(LLVM_AR)" && \
10-
cargo build -vv --target=x86_64-unknown-elf.json --release \
10+
cargo build -vv --target=../liumlib/x86_64-unknown-elf.json --release \
1111
-Z build-std=core,alloc \
1212
-Z build-std-features=compiler-builtins-mem
1313
cp target/x86_64-unknown-elf/release/rusttest ./rusttest.bin

app/rusttest/x86_64-unknown-elf.json

-16
This file was deleted.

app/shelium/x86_64-unknown-elf.json

-16
This file was deleted.

0 commit comments

Comments
 (0)