cbindgen-0.26.0 rebuild

This commit is contained in:
Rmys
2023-11-15 14:04:34 +03:00
committed by GitHub
parent 053d48186c
commit 8d788ee81d
+5 -4
View File
@@ -9,14 +9,15 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import get from pisi.actionsapi import get
#def setup(): def setup():
#autotools.configure() shelltools.system("cargo fetch --locked --target x86_64-unknown-linux-gnu")
def build(): def build():
shelltools.system("cargo build --release") shelltools.system("cargo build --release --frozen --all-targets")
def check(): def check():
shelltools.system("cargo test --release || :") # shelltools.system("cargo test --release || :")
shelltools.system("RUSTC_BOOTSTRAP=1 cargo test --release --frozen")
def install(): def install():
pisitools.dobin("target/release/cbindgen") pisitools.dobin("target/release/cbindgen")