diff --git a/src/features.rs b/src/features.rs index bb836ce8e0..4f05b9eb07 100644 --- a/src/features.rs +++ b/src/features.rs @@ -142,7 +142,7 @@ rust_target_base!(rust_target_def); rust_target_base!(rust_target_values_def); /// Latest stable release of Rust -pub const LATEST_STABLE_RUST: RustTarget = RustTarget::Stable_1_47; +pub const LATEST_STABLE_RUST: RustTarget = RustTarget::Stable_1_64; /// Create RustFeatures struct definition, new(), and a getter for each field macro_rules! rust_feature_def { diff --git a/tests/expectations/tests/use-core.rs b/tests/expectations/tests/use-core.rs index e6124d5aec..569e8d2470 100644 --- a/tests/expectations/tests/use-core.rs +++ b/tests/expectations/tests/use-core.rs @@ -10,8 +10,8 @@ extern crate core; #[repr(C)] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] pub struct foo { - pub a: ::std::os::raw::c_int, - pub b: ::std::os::raw::c_int, + pub a: ::core::ffi::c_int, + pub b: ::core::ffi::c_int, pub bar: *mut ::core::ffi::c_void, } #[test] @@ -57,8 +57,8 @@ impl Default for foo { #[repr(C)] #[derive(Copy, Clone)] pub union _bindgen_ty_1 { - pub bar: ::std::os::raw::c_int, - pub baz: ::std::os::raw::c_long, + pub bar: ::core::ffi::c_int, + pub baz: ::core::ffi::c_long, } #[test] fn bindgen_test_layout__bindgen_ty_1() { @@ -109,4 +109,4 @@ extern "C" { pub static mut bazz: _bindgen_ty_1; } pub type fooFunction = - ::core::option::Option; + ::core::option::Option;