Skip to content

Commit

Permalink
rust: remove stabilized features from 1.57.0
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
ojeda committed Dec 2, 2021
1 parent 2d5e1de commit 6837ae4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
8 changes: 1 addition & 7 deletions drivers/android/rust_binder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
//! TODO: This module is a work in progress.

#![no_std]
#![feature(
global_asm,
try_reserve,
allocator_api,
concat_idents,
generic_associated_types
)]
#![feature(global_asm, allocator_api, concat_idents, generic_associated_types)]

use kernel::{
io_buffer::IoBufferWriter,
Expand Down
2 changes: 1 addition & 1 deletion rust/build_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//! functions could still be called in the runtime).

#![no_std]
#![feature(const_panic, core_panic)]
#![feature(core_panic)]

/// Panics if executed in const context, or triggers a build error if not.
#[inline(never)]
Expand Down
5 changes: 1 addition & 4 deletions rust/kernel/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,13 @@
concat_idents,
const_fn_trait_bound,
const_mut_refs,
const_panic,
const_unreachable_unchecked,
doc_cfg,
generic_associated_types,
ptr_metadata,
receiver_trait,
coerce_unsized,
dispatch_from_dyn,
unsize,
try_reserve
unsize
)]

// Ensure conditional compilation based on the kernel configuration works;
Expand Down

0 comments on commit 6837ae4

Please sign in to comment.