Skip to content

Commit 947df93

Browse files
josephlrrbradford
authored andcommitted
build: Configure stripping via target.json
We should only be setting linker flags in one place. Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 5c1cb64 commit 947df93

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.cargo/config

Lines changed: 0 additions & 2 deletions
This file was deleted.

target.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"features": "-mmx,-sse,+soft-float",
1515
"pre-link-args": {
1616
"ld.lld": [
17+
"-s",
1718
"--script=layout.ld"
1819
]
1920
}

0 commit comments

Comments
 (0)