mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Merge pull request #70 from phil-opp/stable-no_std
The `no_std` attribute is stable now
This commit is contained in:
@@ -40,7 +40,7 @@ The `package` section contains required project metadata such as the [semantic c
|
||||
Now we place our root source file in `src/lib.rs`:
|
||||
|
||||
```rust
|
||||
#![feature(no_std, lang_items)]
|
||||
#![feature(lang_items)]
|
||||
#![no_std]
|
||||
|
||||
#[no_mangle]
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#![feature(no_std, lang_items)]
|
||||
#![feature(lang_items)]
|
||||
#![feature(const_fn, unique, core_str_ext, iter_cmp)]
|
||||
#![no_std]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user