mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Replace wildcards in dependencies with a lower bound
This commit is contained in:
@@ -315,8 +315,8 @@ To use a spinning mutex, we can add the [spin crate] as a dependency in Cargo.to
|
||||
```toml
|
||||
...
|
||||
[dependencies]
|
||||
rlibc = "*"
|
||||
spin = "*"
|
||||
rlibc = "0.1.4"
|
||||
spin = "0.3.4"
|
||||
```
|
||||
and a `extern crate spin;` definition in `src/lib.rs`. Then we can use the spinning Mutex to provide interior mutability to our static writer:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user