From 6de2d3d1c17bb4dd432daabf2cd858254663f49e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 22 Sep 2022 21:20:05 -1000 Subject: [PATCH] features: Bump LATEST_STABLE_RUST after #2267. --- src/features.rs | 2 +- tests/expectations/tests/use-core.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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;