From 5c4d8c778d9eb964a939950ebfe39787641a4b10 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Wed, 8 Jul 2020 01:15:07 -0700 Subject: [PATCH] lint: Allow improper_ctypes_definitions https://github.com/rust-lang/rust/pull/72700 caused the existing `allow(improper_ctypes)` guard to stop working, we now need `allow(improper_ctypes_definitions)` instead. We keep the old one to avoid any issues with older nightlies. Signed-off-by: Joe Richey --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index db05af5de..34397e0d2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ // We use `u128` in a whole bunch of places which we currently agree with the // compiler on ABIs and such, so we should be "good enough" for now and changes // to the `u128` ABI will be reflected here. -#![allow(improper_ctypes)] +#![allow(improper_ctypes, improper_ctypes_definitions)] // We disable #[no_mangle] for tests so that we can verify the test results // against the native compiler-rt implementations of the builtins.