build: quiet the linker over the boot image's debug section names

This commit is contained in:
Tyler Smith committed 2026-11-01 06:43:26 +00:00
1 parent 68053307a0
commit 7f872dcb02
1 file changed
+2 -1
+2 -1
View File
@@ -3,5 +3,6 @@ xtask = "run --quiet --locked --package xtask --"
# The soft-float UEFI target cannot codegen the aes crate's AES-NI backend;
# select its constant-time software backend there (see crates/stela-boot).
# PE debug sections have long names by design; only their tools read them.
[target.x86_64-unknown-uefi]
rustflags = ["--cfg", "aes_force_soft", "--cfg", 'chacha20_backend="soft"', "--cfg", 'aes_backend="soft"', "--cfg", 'polyval_backend="soft"', "--cfg", 'poly1305_backend="soft"']
rustflags = ["--cfg", "aes_force_soft", "--cfg", 'chacha20_backend="soft"', "--cfg", 'aes_backend="soft"', "--cfg", 'polyval_backend="soft"', "--cfg", 'poly1305_backend="soft"', "-C", "link-arg=/ignore:longsections"]