Skip to content

Commit

Permalink
Choose subversion of tracing crate in wasix
Browse files Browse the repository at this point in the history
The wasix crate needs version at least 0.1.36, because of method "record" here: https://docs.rs/crate/tracing/0.1.36/source/src/span.rs

 pub fn record<Q: ?Sized, V>(&self, field: &Q, value: V) -> &Self
    where
        Q: field::AsField,
        V: field::Value,
    {

but sys-utils is using 0.1.37, so might as well use that.
  • Loading branch information
kajacx committed May 24, 2023
1 parent 2daaa78 commit fe1058b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
cfg-if = "1.0"
thiserror = "1"
tracing = { version = "0.1" }
tracing = { version = "0.1.37" }
getrandom = "0.2"
wasmer-wasix-types = { path = "../wasi-types", version = "0.4.0", features = [ "enable-serde" ] }
wasmer-types = { path = "../types", version = "=3.3.0", default-features = false }
Expand Down

0 comments on commit fe1058b

Please sign in to comment.