Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

build: configure RELR for Linux GNU artifacts

ldm0c9f864e0be0b
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 9b292cb31..f5a6edcb9 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,3 +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"]
+
# Most local tests spin up direct in-process HTTP servers and assert on
# exact request/response behavior. In this environment, inheriting the
# shell proxy settings would route those test requests through the host