Skip to content

Commit

Permalink
alloc: remove #![feature(strict_provenance)] because NonZeroUsize cha…
Browse files Browse the repository at this point in the history
…nge to NonNull<u8>
  • Loading branch information
pymongo committed Aug 23, 2023
1 parent d7cacab commit 0adc6ab
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion api/arceos_api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#![no_std]
#![feature(ip_in_core)]
#![feature(strict_provenance)]
#![feature(doc_auto_cfg)]
#![feature(doc_cfg)]
#![allow(unused_imports)]
Expand Down
1 change: 0 additions & 1 deletion crates/allocator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//! - [`IdAllocator`]: Used to allocate unique IDs.
#![no_std]
#![feature(strict_provenance)]
#![feature(result_option_inspect)]
#![cfg_attr(feature = "allocator_api", feature(allocator_api))]

Expand Down
1 change: 0 additions & 1 deletion crates/allocator/tests/allocator.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![feature(btreemap_alloc)]
#![feature(allocator_api)]
#![feature(strict_provenance)]

use std::alloc::{Allocator, Layout};
use std::collections::BTreeMap;
Expand Down
1 change: 0 additions & 1 deletion modules/axdriver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
#![no_std]
#![feature(doc_auto_cfg)]
#![feature(associated_type_defaults)]
#![feature(strict_provenance)]

#[macro_use]
extern crate log;
Expand Down

0 comments on commit 0adc6ab

Please sign in to comment.