Skip to content

Commit 6c8bf5a

Browse files
committed
Remove instances of allow(improper_ctypes)
i128/u128 haven't flagged `improper_ctypes` for a while, and this just made it to stable [1]. Remove the `allow`s as they are no longer needed. [1]: https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/#i128-and-u128-in-extern-c-functions
1 parent e74519e commit 6c8bf5a

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

builtins-test/benches/float_conv.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![allow(improper_ctypes)]
21
#![cfg_attr(f128_enabled, feature(f128))]
32

43
use builtins_test::float_bench;

compiler-builtins/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
#![no_std]
1919
#![allow(unused_features)]
2020
#![allow(internal_features)]
21-
// We use `u128` in a whole bunch of places which we currently agree with the
22-
// compiler on ABIs and such, so we should be "good enough" for now and changes
23-
// to the `u128` ABI will be reflected here.
24-
#![allow(improper_ctypes, improper_ctypes_definitions)]
2521
// `mem::swap` cannot be used because it may generate references to memcpy in unoptimized code.
2622
#![allow(clippy::manual_swap)]
2723
// Support compiling on both stage0 and stage1 which may differ in supported stable features.

0 commit comments

Comments
 (0)