This commit is contained in:
vms 2021-03-15 18:42:19 +03:00
parent 8e74adb98f
commit cdb1b41b26
4 changed files with 4 additions and 5 deletions

2
Cargo.lock generated
View File

@ -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",

View File

@ -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 <engineering@wasmer.io>"]

View File

@ -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 = ",");

View File

@ -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() {