summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Poveda <christian.poveda@ferrous-systems.com>2022-09-22 11:13:50 -0500
committerEmilio Cobos Álvarez <emilio@crisal.io>2022-09-22 21:18:25 -1000
commit0f3b8a840c4456d1db6d005cfdf52c0f6b9dcd81 (patch)
treeb1972c1d5880a8287d63824610f86f0a227b11a1 /tests
parent995943ce06b0b8d59ceeb056844e474ee0ae644e (diff)
update to rust 1.64
Diffstat (limited to 'tests')
-rw-r--r--tests/expectations/tests/core_ffi_c.rs1
-rw-r--r--tests/headers/core_ffi_c.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/expectations/tests/core_ffi_c.rs b/tests/expectations/tests/core_ffi_c.rs
index 4a74c839..7e138a89 100644
--- a/tests/expectations/tests/core_ffi_c.rs
+++ b/tests/expectations/tests/core_ffi_c.rs
@@ -4,7 +4,6 @@
non_camel_case_types,
non_upper_case_globals
)]
-#![cfg(feature = "nightly")]
pub type c_char = ::core::ffi::c_char;
pub type c_double = ::core::ffi::c_double;
diff --git a/tests/headers/core_ffi_c.h b/tests/headers/core_ffi_c.h
index 06623138..6df1e2f8 100644
--- a/tests/headers/core_ffi_c.h
+++ b/tests/headers/core_ffi_c.h
@@ -1,4 +1,4 @@
-// bindgen-flags: --rust-target nightly --raw-line '#![cfg(feature = "nightly")]' --use-core --no-convert-floats
+// bindgen-flags: --use-core --rust-target 1.64 --no-convert-floats
typedef char c_char;
typedef double c_double;
typedef float c_float;