Skip to content

Commit 256bcec

Browse files
committed
qemu成功后退出
1 parent 03d72d1 commit 256bcec

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ostool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ostool"
3-
version = "0.7.19"
3+
version = "0.7.20"
44
edition = "2024"
55
description = "A tool for operating system development"
66
authors = ["周睿 <zrufo747@outlook.com>"]

ostool/src/step/qemu.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ impl Step for Qemu {
8888
if !is_ok.load(Ordering::SeqCst) {
8989
println!("{}", "Test failed!".red());
9090
exit(1);
91+
} else {
92+
println!("{}", "Test passed!".green());
93+
exit(0);
9194
}
9295
} else {
9396
self.cmd

0 commit comments

Comments
 (0)