Skip to content

Commit 5c4d8c7

Browse files
committed
lint: Allow improper_ctypes_definitions
rust-lang/rust#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 <joerichey@google.com>
1 parent 7b996ca commit 5c4d8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// We use `u128` in a whole bunch of places which we currently agree with the
1616
// compiler on ABIs and such, so we should be "good enough" for now and changes
1717
// to the `u128` ABI will be reflected here.
18-
#![allow(improper_ctypes)]
18+
#![allow(improper_ctypes, improper_ctypes_definitions)]
1919

2020
// We disable #[no_mangle] for tests so that we can verify the test results
2121
// against the native compiler-rt implementations of the builtins.

0 commit comments

Comments
 (0)