Skip to content

Commit

Permalink
Fix Cargo.toml no_std example in readme (#265)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
  • Loading branch information
barafael and athei authored Sep 23, 2021
1 parent 2280325 commit f899fe9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ cargo test
This crate supports `no_std` environments.
Enable the `core` feature and disable default features:
```toml
[dependencies]
wasmi = {
version = "*",
default-features = false,
features = "core"
}
[dependencies.wasmi]
version = "*"
default-features = false
features = ["core"]
```

When the `core` feature is enabled, code related to `std::error` is disabled.
Expand Down

0 comments on commit f899fe9

Please sign in to comment.