ensure libnixide is optimised for release
This commit is contained in:
parent
7e53302a09
commit
3580e35287
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue