Skip to content
Snippets Groups Projects
Commit cbe8e5e6 authored by John Hodge's avatar John Hodge
Browse files

Usermode libstd - nightly fix

parent f749911e
No related merge requests found
...@@ -12,9 +12,10 @@ ...@@ -12,9 +12,10 @@
#![feature(box_syntax)] #![feature(box_syntax)]
#![feature(raw)] #![feature(raw)]
#![feature(slice_concat_ext)] #![feature(slice_concat_ext)]
#![feature(macro_reexport)] #![feature(use_extern_macros)] // allow `use` with macros
#![feature(alloc,allocator_api)] #![feature(alloc,allocator_api)]
#![feature(allocator_internals)] #![feature(allocator_internals)]
#![feature(core_panic_info)] // Needed because of import of `panic` macro bringin in the module too
#![default_lib_allocator] #![default_lib_allocator]
#![no_std] #![no_std]
...@@ -23,14 +24,13 @@ extern crate syscalls; ...@@ -23,14 +24,13 @@ extern crate syscalls;
#[macro_use] #[macro_use]
extern crate macros; extern crate macros;
#[macro_reexport(vec,format)]
extern crate alloc; extern crate alloc;
extern crate alloc_system; extern crate alloc_system;
#[macro_reexport(try,assert_eq,panic,write,unreachable,unimplemented)]
extern crate core as core_2; // Alternate name because it collides otherwise
//extern crate loader; //extern crate loader;
// Macros
pub use alloc::{/*vec, */format};
pub use core::{try, assert_eq, panic, write, unreachable, unimplemented};
// Raw re-exports from core // Raw re-exports from core
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment