Skip to content

Commit a83b98a

Browse files
committed
fix warning: the feature has been stable since 1.69.0-nightly and no longer requires an attribute to enable
1 parent 6363652 commit a83b98a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

ch4/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_std]
22
#![no_main]
33
#![feature(naked_functions, asm_const)]
4-
#![feature(default_alloc_error_handler)]
4+
//#![feature(default_alloc_error_handler)]
55
#![deny(warnings)]
66

77
mod process;

ch5/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_std]
22
#![no_main]
33
#![feature(naked_functions, asm_const)]
4-
#![feature(default_alloc_error_handler)]
4+
//#![feature(default_alloc_error_handler)]
55
#![deny(warnings)]
66

77
mod process;

ch6/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_std]
22
#![no_main]
33
#![feature(naked_functions, asm_const)]
4-
#![feature(default_alloc_error_handler)]
4+
//#![feature(default_alloc_error_handler)]
55
#![deny(warnings)]
66

77
mod fs;

ch7/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![no_std]
22
#![no_main]
33
#![feature(naked_functions, asm_const)]
4-
#![feature(default_alloc_error_handler)]
5-
// #![deny(warnings)]
4+
//#![feature(default_alloc_error_handler)]
5+
#![deny(warnings)]
66

77
mod fs;
88
mod process;

ch8/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![no_std]
22
#![no_main]
33
#![feature(naked_functions, asm_const)]
4-
#![feature(default_alloc_error_handler)]
5-
// #![deny(warnings)]
4+
//#![feature(default_alloc_error_handler)]
5+
#![deny(warnings)]
66

77
mod fs;
88
mod process;

0 commit comments

Comments
 (0)