Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Pack relative relocations in every Linux GNU linked artifact so the same
# linker behavior is covered by development, test, and release builds.
[target.'cfg(all(target_os = "linux", target_env = "gnu"))']
rustflags = ["-C", "link-arg=-Wl,-z,pack-relative-relocs"]
# Keep RELR disabled for now. GNU/Linux binaries using packed relative
# relocations require glibc 2.36 or newer and would not run on supported older
# distributions such as Ubuntu 22.04, Debian 11, or RHEL 9.
# [target.'cfg(all(target_os = "linux", target_env = "gnu"))']
# rustflags = ["-C", "link-arg=-Wl,-z,pack-relative-relocs"]

# Most local tests spin up direct in-process HTTP servers and assert on
# exact request/response behavior. In this environment, inheriting the
Expand Down
Loading