diff options
| author | Tianhao Wang <wth@riseup.net> | 2024-02-01 05:18:20 +0100 |
|---|---|---|
| committer | Tianhao Wang <wth@riseup.net> | 2024-02-01 05:18:25 +0100 |
| commit | f8c1ef0109a8177cf4747a891e6c462c4ef59c92 (patch) | |
| tree | 1d608c0b41b98304973e1d53bc82be848d83d022 /Cargo.toml | |
| parent | 2bdafab229439dcd9968114ab232ed0a3a218bfb (diff) | |
add println! and panic! macro
The rust lazy_static requires interior mutability. I have to include a
Mutex impl (spin::Mutex). But I'd like to implement my own primitives.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,11 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +spin = "0.9.8" + +[dependencies.lazy_static] +version = "1.4" +features = ["spin_no_std"] [build] |
