Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit 9eca3ee

Browse files
committed
Update hello-world example for current boilerplate
1 parent 4dcc4f6 commit 9eca3ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hello-world/src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#![no_std]
2-
#![feature(alloc, const_str_as_bytes)]
2+
#![feature(const_str_as_bytes)]
3+
4+
extern crate alloc;
35

46
use alloc::borrow::ToOwned;
57
use alloc::string::String;

0 commit comments

Comments
 (0)