Skip to content

Commit

Permalink
Remove the use of "alloc" feature flag
Browse files Browse the repository at this point in the history
The alloc feature is now stable, so no need to use the feature flag.
  • Loading branch information
penberg committed May 11, 2019
1 parent f4b6982 commit ec3dbdb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion drivers/pci/lib.rs
Expand Up @@ -3,7 +3,6 @@
//!

#![no_std]
#![feature(alloc)]
#![feature(const_fn)]

extern crate alloc;
Expand Down
1 change: 0 additions & 1 deletion drivers/virtio/lib.rs
@@ -1,7 +1,6 @@
//! Virtio drivers.

#![no_std]
#![feature(alloc)]

extern crate alloc;
#[macro_use]
Expand Down
1 change: 0 additions & 1 deletion kernel/lib.rs
Expand Up @@ -5,7 +5,6 @@
#![feature(allocator_api)]
#![feature(box_syntax)]
#![feature(const_fn)]
#![feature(alloc)]
#![feature(asm)]
#![no_std]

Expand Down

0 comments on commit ec3dbdb

Please sign in to comment.