Skip to content

Commit 90965d5

Browse files
authored
Merge pull request #636 from ojeda/fmt-features
rust: kernel: use `feature` individually
2 parents 499f1a0 + 864d8af commit 90965d5

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

rust/kernel/lib.rs

+16-18
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,22 @@
1212
//! do so first instead of bypassing this crate.
1313
1414
#![no_std]
15-
#![feature(
16-
allocator_api,
17-
associated_type_defaults,
18-
concat_idents,
19-
const_fn_trait_bound,
20-
const_mut_refs,
21-
const_ptr_offset_from,
22-
const_refs_to_cell,
23-
const_trait_impl,
24-
doc_cfg,
25-
generic_associated_types,
26-
maybe_uninit_extra,
27-
ptr_metadata,
28-
receiver_trait,
29-
coerce_unsized,
30-
dispatch_from_dyn,
31-
unsize
32-
)]
15+
#![feature(allocator_api)]
16+
#![feature(associated_type_defaults)]
17+
#![feature(concat_idents)]
18+
#![feature(const_fn_trait_bound)]
19+
#![feature(const_mut_refs)]
20+
#![feature(const_ptr_offset_from)]
21+
#![feature(const_refs_to_cell)]
22+
#![feature(const_trait_impl)]
23+
#![feature(doc_cfg)]
24+
#![feature(generic_associated_types)]
25+
#![feature(maybe_uninit_extra)]
26+
#![feature(ptr_metadata)]
27+
#![feature(receiver_trait)]
28+
#![feature(coerce_unsized)]
29+
#![feature(dispatch_from_dyn)]
30+
#![feature(unsize)]
3331

3432
// Ensure conditional compilation based on the kernel configuration works;
3533
// otherwise we may silently break things like initcall handling.

0 commit comments

Comments
 (0)