Skip to content

Commit f17509e

Browse files
committed
fixup! Add safety dependency to alloc and std crates
1 parent 90fbc0e commit f17509e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/alloc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
//
9292
// Library features:
9393
// tidy-alphabetical-start
94+
#![cfg_attr(kani, feature(kani))]
9495
#![cfg_attr(not(no_global_oom_handling), feature(const_alloc_error))]
9596
#![cfg_attr(not(no_global_oom_handling), feature(const_btree_len))]
9697
#![feature(alloc_layout_extra)]
@@ -130,7 +131,6 @@
130131
#![feature(inplace_iteration)]
131132
#![feature(iter_advance_by)]
132133
#![feature(iter_next_chunk)]
133-
#![feature(kani)]
134134
#![feature(layout_for_ptr)]
135135
#![feature(local_waker)]
136136
#![feature(maybe_uninit_slice)]

library/std/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
#![cfg_attr(any(windows, target_os = "uefi"), feature(round_char_boundary))]
270270
#![cfg_attr(target_family = "wasm", feature(stdarch_wasm_atomic_wait))]
271271
#![cfg_attr(target_arch = "wasm64", feature(simd_wasm64))]
272-
#![feature(kani)]
272+
#![cfg_attr(kani, feature(kani))]
273273
//
274274
// Language features:
275275
// tidy-alphabetical-start

0 commit comments

Comments
 (0)