diff options
author | Christian Poveda <christian.poveda@ferrous-systems.com> | 2022-09-07 15:45:11 -0500 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2022-09-22 21:18:25 -1000 |
commit | 995943ce06b0b8d59ceeb056844e474ee0ae644e (patch) | |
tree | ffdbad60aee07d6e319e541f4efd4d4a355e6de9 | |
parent | 3ec5c8746204ad82bfbf0239d3e9d95d92c2e331 (diff) |
put tests behind the `nightly` feature
-rw-r--r-- | tests/expectations/tests/core_ffi_c.rs | 1 | ||||
-rw-r--r-- | tests/headers/core_ffi_c.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/expectations/tests/core_ffi_c.rs b/tests/expectations/tests/core_ffi_c.rs index 7e138a89..4a74c839 100644 --- a/tests/expectations/tests/core_ffi_c.rs +++ b/tests/expectations/tests/core_ffi_c.rs @@ -4,6 +4,7 @@ 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 3e180fd8..06623138 100644 --- a/tests/headers/core_ffi_c.h +++ b/tests/headers/core_ffi_c.h @@ -1,4 +1,4 @@ -// bindgen-flags: --rust-target nightly --use-core --no-convert-floats +// bindgen-flags: --rust-target nightly --raw-line '#![cfg(feature = "nightly")]' --use-core --no-convert-floats typedef char c_char; typedef double c_double; typedef float c_float; |