nostrdb-rs

nostrdb in rust!
git clone git://jb55.com/nostrdb-rs
Log | Files | Refs | Submodules | README | LICENSE

commit 114915eb5f0bb8912af0d7a7863d658bd79790a1
parent 9e691752f3e11ffaa12bbc1a096ef456b79c0c47
Author: Ahmed Bedair <bedair81@Ahmeds-MacBook-Pro.local>
Date:   Sat, 15 Mar 2025 16:26:18 +0000

switch from string matching to checking the CARGO_CFG_TARGET_VENDOR value instead

Diffstat:
Mbuild.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.rs b/build.rs @@ -120,7 +120,7 @@ fn main() { } // Link Security framework on macOS - if env::var("TARGET").unwrap().contains("apple") { + if std::env::var("CARGO_CFG_TARGET_VENDOR").unwrap() == "apple" { println!("cargo:rustc-link-lib=framework=Security"); }