diff --git a/Cargo.lock b/Cargo.lock index d4d209c..95e0d06 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -210,7 +210,7 @@ checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed" [[package]] name = "wasmer-interface-types-fl" -version = "0.18.1" +version = "0.18.2" dependencies = [ "fluence-it-types", "it-to-bytes", diff --git a/wasmer-it/Cargo.toml b/wasmer-it/Cargo.toml index a3e1045..89b6f4e 100644 --- a/wasmer-it/Cargo.toml +++ b/wasmer-it/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-interface-types-fl" -version = "0.18.2" +version = "0.18.3" description = "WebAssembly Interface Types library for Wasmer" license = "MIT" authors = ["The Wasmer Engineering Team "] diff --git a/wasmer-it/src/decoders/wat.rs b/wasmer-it/src/decoders/wat.rs index e2bcff7..5ab8b58 100644 --- a/wasmer-it/src/decoders/wat.rs +++ b/wasmer-it/src/decoders/wat.rs @@ -18,7 +18,7 @@ mod keyword { custom_keyword!(r#type = "type"); custom_keyword!(record); custom_keyword!(field); - custom_keyword!(version); + custom_keyword!(it_version); // Special symbols custom_keyword!(comma = ","); diff --git a/wasmer-it/src/encoders/wat.rs b/wasmer-it/src/encoders/wat.rs index de9bab9..766c405 100644 --- a/wasmer-it/src/encoders/wat.rs +++ b/wasmer-it/src/encoders/wat.rs @@ -296,8 +296,7 @@ impl<'input> ToString for &Interfaces<'input> { } }; - output.push_str("(@interface version "); - output.push_str(&self.version.to_string()); + output.push_str(&format!(r#"(@interface it_version "{}""#, self.version)); separator(&mut output); if !types.is_empty() {