Skip to content

Commit

Permalink
fix(kernel): allow use of internal compiler features for now
Browse files Browse the repository at this point in the history
Fixes: #105

Signed-off-by: Anhad Singh <[email protected]>
  • Loading branch information
Andy-Python-Programmer committed Aug 19, 2023
1 parent 08df5e4 commit 8424fa1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/aero_kernel/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
naked_functions, // https://github.com/rust-lang/rust/issues/32408
strict_provenance
)]
// TODO(andypython): can we remove the dependency of "prelude_import" and "lang_items"?
// `lang_items` => is currently used for the personality function (`rust_eh_personality`).
// `prelude_import` => is currently just used to re-export alloc prelude. This just makes the
// files overall more readable.
#![allow(internal_features)]
#![deny(trivial_numeric_casts, unused_allocation)]
#![test_runner(crate::tests::test_runner)]
#![no_std]
Expand Down

0 comments on commit 8424fa1

Please sign in to comment.