diff --git a/.github/workflows/gcc12.yml b/.github/workflows/gcc12.yml index b0775646c5c..5977ed33c56 100644 --- a/.github/workflows/gcc12.yml +++ b/.github/workflows/gcc12.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 309746f04e0..5caca63f634 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" } diff --git a/example/example.rs b/example/example.rs index 30e3c3c30c2..03470b74d0a 100644 --- a/example/example.rs +++ b/example/example.rs @@ -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) }