Skip to content

Commit 4831d52

Browse files
haraldhenarxbot
authored andcommitted
enarx-keep/shims/*: link-args=-Wl,--sort-section=alignment
reduce the size of the shims See rust-lang/rust#75524
1 parent 2f7e01d commit 4831d52

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

enarx-keep/shims/shim-sev/.cargo/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
target = "x86_64-unknown-linux-musl"
33
rustflags = [
44
"-C", "relocation-model=pic",
5+
"-C", "link-args=-Wl,--sort-section=alignment",
56
"-C", "linker=../../../cc",
67
]

enarx-keep/shims/shim-sgx/.cargo/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
target = "x86_64-unknown-linux-musl"
33
rustflags = [
44
"-C", "relocation-model=pic",
5+
"-C", "link-args=-Wl,--sort-section=alignment",
56
"-C", "linker=../../../cc",
67
]

0 commit comments

Comments
 (0)