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 ./y.sh build --no-default-features --sysroot-panic-abort
# Uncomment when we no longer need to remove global variables. # 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
#./y.sh build --sysroot --no-default-features --sysroot-panic-abort
#cargo test --no-default-features #cargo test --no-default-features
#./y.sh clean all #./y.sh clean all

View file

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

View file

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