From 65a60075e6842a166f4866b05eec8b26f4b45788 Mon Sep 17 00:00:00 2001 From: Yuki Kishimoto Date: Fri, 10 Jan 2025 10:42:50 +0100 Subject: [PATCH] Revert "ffi: enable pack-relative-relocs" Caused issues on macos. This reverts commit f7c094bccc6cbb4d0eec2ed4a57f27a3f678c996. --- bindings/nostr-sdk-ffi/.cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/nostr-sdk-ffi/.cargo/config.toml b/bindings/nostr-sdk-ffi/.cargo/config.toml index 3532b2d05..0de82d0eb 100644 --- a/bindings/nostr-sdk-ffi/.cargo/config.toml +++ b/bindings/nostr-sdk-ffi/.cargo/config.toml @@ -6,7 +6,7 @@ panic = "abort" # Abort on panic strip = "debuginfo" # Partially strip symbols from binary. If fully stripped, UniFFI can't generate foreign-language bindings [build] -rustflags = ["-C", "panic=abort", "-Clink-arg=-Wl,-z,pack-relative-relocs"] +rustflags = ["-C", "panic=abort"] [unstable] unstable-options = true