This commit is contained in:
Antoni Boucher 2024-07-05 15:35:57 -04:00
parent 0b5be441cf
commit 5681c3cf68
3 changed files with 1 additions and 4 deletions

View File

@ -70,7 +70,6 @@ jobs:
./y.sh build --no-default-features --sysroot-panic-abort
# Uncomment when we no longer need to remove global variables.
#./y.sh build --sysroot --no-default-features --sysroot-panic-abort
#./y.sh build --sysroot --no-default-features --sysroot-panic-abort
#cargo test --no-default-features
#./y.sh clean all

View File

@ -22,8 +22,7 @@ master = ["gccjit/master"]
default = ["master"]
[dependencies]
#gccjit = "2.0"
gccjit = { git = "https://github.com/rust-lang/gccjit.rs" }
gccjit = "2.1"
# Local copy.
#gccjit = { path = "../gccjit.rs" }

View File

@ -153,7 +153,6 @@ fn array_as_slice(arr: &[u8; 3]) -> &[u8] {
arr
}
// FIXME: fix the intrinsic implementation to work with the new ->u32 signature
unsafe fn use_ctlz_nonzero(a: u16) -> u32 {
intrinsics::ctlz_nonzero(a)
}