diff --git a/Cargo.toml b/Cargo.toml index 3f072bf4c..001834d6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ skeptic = "0.13" [build-dependencies] anyhow = "1" -bindgen = "0.68.1" +bindgen = "0.70" cc = "1.0" skeptic = "0.13" diff --git a/docsrs_bindings.rs b/docsrs_bindings.rs index ece3117fd..900390cd7 100644 --- a/docsrs_bindings.rs +++ b/docsrs_bindings.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.68.1 */ +/* automatically generated by rust-bindgen 0.70.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] diff --git a/tests/src/integration/defaults/mod.rs b/tests/src/integration/defaults/mod.rs index 03ab1a730..5b1e2a5a5 100644 --- a/tests/src/integration/defaults/mod.rs +++ b/tests/src/integration/defaults/mod.rs @@ -12,6 +12,7 @@ pub fn test_defaults_nullable_string(a: Option) -> Option { a } +#[allow(clippy::unnecessary_wraps)] #[php_function] #[php(defaults(a = None, b = None))] pub fn test_defaults_multiple_option_arguments(