Skip to content

Commit 4585619

Browse files
committed
Allow FFI-unsafe warnings for u128/i128
Handle new warnings on nightly, and we shouldn't need to worry about these with compiler-builtins since this is tied to a particular compiler.
1 parent a533ae9 commit 4585619

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
)
3131
)]
3232

33+
// We use `u128` in a whole bunch of places which we currently agree with the
34+
// compiler on ABIs and such, so we should be "good enough" for now and changes
35+
// to the `u128` ABI will be reflected here.
36+
#![allow(improper_ctypes)]
37+
3338
// We disable #[no_mangle] for tests so that we can verify the test results
3439
// against the native compiler-rt implementations of the builtins.
3540

0 commit comments

Comments
 (0)