Skip to content

Commit ab561f8

Browse files
committed
Remove instances of allow(improper_ctypes)
1 parent e74519e commit ab561f8

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)