Skip to content

Commit dcdd89b

Browse files
authored
Merge pull request #32 from golemcloud/wit-bindgen
Update
2 parents 6dd450e + e07ea7a commit dcdd89b

File tree

4 files changed

+74
-219
lines changed

4 files changed

+74
-219
lines changed

Cargo.lock

Lines changed: 2 additions & 193 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

golem-rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ golem-rust-macro = { path = "../golem-rust-macro", version = "0.0.0", optional =
1616
serde = { version = "1", optional = true }
1717
serde_json = { version = "1", optional = true }
1818
uuid = { version = "1", features = ["v4"] }
19-
golem-wasm-rpc = { version = "1.2.2-dev.7", default-features = false, features = [
19+
golem-wasm-rpc = { version = "1.2.2-dev.8", default-features = false, features = [
2020
"stub",
2121
] }
2222
wit-bindgen = { version = "0.40.0" }

golem-rust/src/durability.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ mod tests {
237237
}
238238

239239
impl FromValueAndType for CustomError {
240-
fn from_extractor<'a>(
241-
extractor: &'a impl WitValueExtractor<'a>,
240+
fn from_extractor<'a, 'b>(
241+
extractor: &'a impl WitValueExtractor<'a, 'b>,
242242
) -> Result<Self, String> {
243243
match extractor.enum_value() {
244244
Some(0) => Ok(CustomError::Error1),

0 commit comments

Comments
 (0)