cbindgen rebuild

This commit is contained in:
Rmys
2025-11-16 00:34:42 +03:00
committed by GitHub
parent 1b15617aff
commit a044909535
+2
View File
@@ -15,6 +15,8 @@ def setup():
shelltools.system("cargo fetch --locked --target x86_64-unknown-linux-gnu")
def build():
shelltools.system("export CARGO_PROFILE_RELEASE_DEBUG=2 CARGO_PROFILE_RELEASE_STRIP=false")
shelltools.system("export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1")
shelltools.system("cargo build --release --frozen --all-targets")
def check():