diff --git a/blog/content/second-edition/posts/04-testing/index.zh-CN.md b/blog/content/second-edition/posts/04-testing/index.zh-CN.md index d089bd71..8a1e0fe2 100644 --- a/blog/content/second-edition/posts/04-testing/index.zh-CN.md +++ b/blog/content/second-edition/posts/04-testing/index.zh-CN.md @@ -179,7 +179,7 @@ test-args = ["-device", "isa-debug-exit,iobase=0xf4,iosize=0x04"] # in Cargo.toml [dependencies] -x86_64 = "0.7.5" +x86_64 = "0.11.0" ``` 现在我们可以使用crate中提供的[`Port`] 类型来创建一个`exit_qemu` 函数了: