From bc738c8afc5ae81f0dd56f66af6aaf3e3d51fa3c Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 11 Sep 2019 13:30:44 +0200 Subject: [PATCH] Update x86_64, volatile, and spin dependencies --- blog/content/second-edition/posts/03-vga-text-buffer/index.md | 4 ++-- blog/content/second-edition/posts/04-testing/index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blog/content/second-edition/posts/03-vga-text-buffer/index.md b/blog/content/second-edition/posts/03-vga-text-buffer/index.md index 0d894099..977cb4ac 100644 --- a/blog/content/second-edition/posts/03-vga-text-buffer/index.md +++ b/blog/content/second-edition/posts/03-vga-text-buffer/index.md @@ -300,7 +300,7 @@ We can add a dependency on the `volatile` crate by adding it to the `dependencie # in Cargo.toml [dependencies] -volatile = "0.2.3" +volatile = "0.2.6" ``` The `0.2.3` is the [semantic] version number. For more information, see the [Specifying Dependencies] guide of the cargo documentation. @@ -538,7 +538,7 @@ To use a spinning mutex, we can add the [spin crate] as a dependency: ```toml # in Cargo.toml [dependencies] -spin = "0.4.9" +spin = "0.5.2" ``` Then we can use the spinning Mutex to add safe [interior mutability] to our static `WRITER`: diff --git a/blog/content/second-edition/posts/04-testing/index.md b/blog/content/second-edition/posts/04-testing/index.md index 03d41889..1b78c86c 100644 --- a/blog/content/second-edition/posts/04-testing/index.md +++ b/blog/content/second-edition/posts/04-testing/index.md @@ -172,7 +172,7 @@ Instead of manually invoking the `in` and `out` assembly instructions, we use th # in Cargo.toml [dependencies] -x86_64 = "0.7.0" +x86_64 = "0.7.5" ``` Now we can use the [`Port`] type provided by the crate to create an `exit_qemu` function: