Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit 98ba428

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 62249d2 commit 98ba428

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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
]

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)