Skip to content

Commit 8424fa1

Browse files
fix(kernel): allow use of internal compiler features for now
Fixes: #105 Signed-off-by: Anhad Singh <[email protected]>
1 parent 08df5e4 commit 8424fa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/aero_kernel/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
naked_functions, // https://github.com/rust-lang/rust/issues/32408
5050
strict_provenance
5151
)]
52+
// TODO(andypython): can we remove the dependency of "prelude_import" and "lang_items"?
53+
// `lang_items` => is currently used for the personality function (`rust_eh_personality`).
54+
// `prelude_import` => is currently just used to re-export alloc prelude. This just makes the
55+
// files overall more readable.
56+
#![allow(internal_features)]
5257
#![deny(trivial_numeric_casts, unused_allocation)]
5358
#![test_runner(crate::tests::test_runner)]
5459
#![no_std]

0 commit comments

Comments
 (0)