diff options
-rw-r--r-- | yjit/bindgen/Cargo.lock | 10 | ||||
-rw-r--r-- | yjit/bindgen/Cargo.toml | 2 | ||||
-rw-r--r-- | zjit/src/cruby.rs | 3 | ||||
-rw-r--r-- | zjit/src/cruby_bindings.inc.rs | 4 |
4 files changed, 10 insertions, 9 deletions
diff --git a/yjit/bindgen/Cargo.lock b/yjit/bindgen/Cargo.lock index e5c6b2a1ed..423bea0164 100644 --- a/yjit/bindgen/Cargo.lock +++ b/yjit/bindgen/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "aho-corasick" @@ -62,9 +62,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.70.1" +version = "0.71.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f" +checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3" dependencies = [ "bitflags", "cexpr", @@ -277,9 +277,9 @@ checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "rustc-hash" -version = "1.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "shlex" diff --git a/yjit/bindgen/Cargo.toml b/yjit/bindgen/Cargo.toml index 8c1b533006..e6d263b2b4 100644 --- a/yjit/bindgen/Cargo.toml +++ b/yjit/bindgen/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bindgen = "0.70.1" +bindgen = "0.71.1" env_logger = "0.11.5" diff --git a/zjit/src/cruby.rs b/zjit/src/cruby.rs index 379fdbaa16..cfc145c7ab 100644 --- a/zjit/src/cruby.rs +++ b/zjit/src/cruby.rs @@ -101,8 +101,9 @@ pub type size_t = u64; /// shifted 1s but not explicitly an enum. pub type RedefinitionFlag = u32; +#[allow(unsafe_op_in_unsafe_fn)] #[allow(dead_code)] -#[allow(clippy::all)] +#[allow(clippy::all)] // warning meant to help with reading; not useful for generated code mod autogened { use super::*; // Textually include output from rust-bindgen as suggested by its user guide. diff --git a/zjit/src/cruby_bindings.inc.rs b/zjit/src/cruby_bindings.inc.rs index ad16f1711b..1502ee6139 100644 --- a/zjit/src/cruby_bindings.inc.rs +++ b/zjit/src/cruby_bindings.inc.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.70.1 */ +/* automatically generated by rust-bindgen 0.71.1 */ #[repr(C)] #[derive(Default)] @@ -732,7 +732,7 @@ pub const DEFINED_FUNC: defined_type = 16; pub const DEFINED_CONST_FROM: defined_type = 17; pub type defined_type = u32; pub type rb_iseq_param_keyword_struct = rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword; -extern "C" { +unsafe extern "C" { pub fn ruby_xfree(ptr: *mut ::std::os::raw::c_void); pub fn rb_class_attached_object(klass: VALUE) -> VALUE; pub fn rb_singleton_class(obj: VALUE) -> VALUE; |