Update x86_64, volatile, and spin dependencies

This commit is contained in:
Philipp Oppermann
2019-09-11 13:30:44 +02:00
parent 1fc00669a6
commit bc738c8afc
2 changed files with 3 additions and 3 deletions

View File

@@ -300,7 +300,7 @@ We can add a dependency on the `volatile` crate by adding it to the `dependencie
# in Cargo.toml # in Cargo.toml
[dependencies] [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. 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 ```toml
# in Cargo.toml # in Cargo.toml
[dependencies] [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`: Then we can use the spinning Mutex to add safe [interior mutability] to our static `WRITER`:

View File

@@ -172,7 +172,7 @@ Instead of manually invoking the `in` and `out` assembly instructions, we use th
# in Cargo.toml # in Cargo.toml
[dependencies] [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: Now we can use the [`Port`] type provided by the crate to create an `exit_qemu` function: