Skip to content

Commit 6837ae4

Browse files
committed
rust: remove stabilized features from 1.57.0
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 2d5e1de commit 6837ae4

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

drivers/android/rust_binder.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@
55
//! TODO: This module is a work in progress.
66
77
#![no_std]
8-
#![feature(
9-
global_asm,
10-
try_reserve,
11-
allocator_api,
12-
concat_idents,
13-
generic_associated_types
14-
)]
8+
#![feature(global_asm, allocator_api, concat_idents, generic_associated_types)]
159

1610
use kernel::{
1711
io_buffer::IoBufferWriter,

rust/build_error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//! functions could still be called in the runtime).
1414
1515
#![no_std]
16-
#![feature(const_panic, core_panic)]
16+
#![feature(core_panic)]
1717

1818
/// Panics if executed in const context, or triggers a build error if not.
1919
#[inline(never)]

rust/kernel/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,13 @@
1818
concat_idents,
1919
const_fn_trait_bound,
2020
const_mut_refs,
21-
const_panic,
22-
const_unreachable_unchecked,
2321
doc_cfg,
2422
generic_associated_types,
2523
ptr_metadata,
2624
receiver_trait,
2725
coerce_unsized,
2826
dispatch_from_dyn,
29-
unsize,
30-
try_reserve
27+
unsize
3128
)]
3229

3330
// Ensure conditional compilation based on the kernel configuration works;

0 commit comments

Comments
 (0)