ensure libnixide is optimised for release

This commit is contained in:
do butterflies cry? 2026-04-03 21:19:30 +10:00
parent 7e53302a09
commit 3580e35287
Signed by: cry
GPG key ID: F68745A836CA0412

View file

@ -137,6 +137,7 @@ fn main() {
.file("libnixide-c/nixide_api_flake.cc")
.file("libnixide-c/nixide_api_fetchers.cc")
// .files(LIBS.iter().map(|s| (*s).strip_prefix("nix-").unwrap().strip_suffix("-c").unwrap()))
.opt_level((!cfg!(debug_assertions)) as u32 * 3)
.includes(&include_paths)
.compile("libnixide");