Skip to content

Commit 0f3b8a8

Browse files
pvdrzemilio
authored andcommitted
update to rust 1.64
1 parent 995943c commit 0f3b8a8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/features.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,12 @@ macro_rules! rust_target_base {
127127
/// Rust stable 1.47
128128
/// * `larger_arrays` ([Tracking issue](https://github.com/rust-lang/rust/pull/74060))
129129
=> Stable_1_47 => 1.47;
130+
/// Rust stable 1.64
131+
/// * `core_ffi_c` ([Tracking issue](https://github.com/rust-lang/rust/issues/94501))
132+
=> Stable_1_64 => 1.64;
130133
/// Nightly rust
131134
/// * `thiscall` calling convention ([Tracking issue](https://github.com/rust-lang/rust/issues/42202))
132135
/// * `vectorcall` calling convention (no tracking issue)
133-
/// * `core_ffi_c` ([Tracking issue](https://github.com/rust-lang/rust/issues/94501))
134136
=> Nightly => nightly;
135137
);
136138
}
@@ -234,10 +236,12 @@ rust_feature_def!(
234236
Stable_1_47 {
235237
=> larger_arrays;
236238
}
239+
Stable_1_64 {
240+
=> core_ffi_c;
241+
}
237242
Nightly {
238243
=> thiscall_abi;
239244
=> vectorcall_abi;
240-
=> core_ffi_c;
241245
}
242246
);
243247

tests/expectations/tests/core_ffi_c.rs

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/headers/core_ffi_c.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// bindgen-flags: --rust-target nightly --raw-line '#![cfg(feature = "nightly")]' --use-core --no-convert-floats
1+
// bindgen-flags: --use-core --rust-target 1.64 --no-convert-floats
22
typedef char c_char;
33
typedef double c_double;
44
typedef float c_float;

0 commit comments

Comments
 (0)