From cd7be36d5822855ea15115c2a0133880d2a36ca4 Mon Sep 17 00:00:00 2001 From: Roman Dmitrienko Date: Tue, 5 Mar 2024 11:00:34 +0100 Subject: [PATCH] Fix linker options. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 31286b8f9..5dbd9243b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,10 @@ readme = "README.md" keywords = ["bitcoin", "lightning", "ldk", "bdk"] categories = ["cryptography::cryptocurrencies"] +[profile.release] +lto = true +rpath = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib]