mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-20 22:56:53 -04:00
features: Bump LATEST_STABLE_RUST after #2267.
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Generated
+5
-5
@@ -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<unsafe extern "C" fn(bar: ::std::os::raw::c_int)>;
|
||||
::core::option::Option<unsafe extern "C" fn(bar: ::core::ffi::c_int)>;
|
||||
|
||||
Reference in New Issue
Block a user