nostrdb-rs

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

commit 2e48b8b18b7c67030eacec09574ba35ba619c603
parent b6b1e2b628b62dafa9083f7c18bc96b183feab8c
Author: William Casarin <jb55@jb55.com>
Date:   Tue,  6 Feb 2024 19:21:53 -0800

build: add debug flag to nostrdb on debug builds

Diffstat:
Mbuild.rs | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/build.rs b/build.rs @@ -78,6 +78,10 @@ fn main() { //.flag("-Werror") //.flag("-g") + if env::var("PROFILE").unwrap() == "debug" { + build.flag("-DDEBUG"); + } + build.compile("libnostrdb.a"); secp256k1_build();