mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-02-11 22:25:04 +08:00
update ch1:sec3
This commit is contained in:
@@ -233,7 +233,8 @@ Rust 的 core 库内建了以一系列帮助实现显示字符的基本 Trait
|
||||
|
||||
#[no_mangle]
|
||||
extern "C" fn _start() {
|
||||
println!("Hello, world!");
|
||||
print!("Hello, "");
|
||||
println!("world!");
|
||||
sys_exit(9);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user