Bump versions of wasm-tools crates (#4380)

* Bump versions of wasm-tools crates

Note that this leaves new features in the component model, outer type
aliases for core wasm types, unimplemented for now.

* Move to crates.io-based versions of tools
This commit is contained in:
Alex Crichton
2022-07-05 14:23:03 -05:00
committed by GitHub
parent 7943d34483
commit 41ba851a95
16 changed files with 46 additions and 38 deletions

View File

@@ -14,7 +14,7 @@ edition = "2021"
anyhow = "1.0"
cranelift-entity = { path = "../../cranelift/entity", version = "0.87.0" }
wasmtime-types = { path = "../types", version = "0.40.0" }
wasmparser = "0.86.0"
wasmparser = "0.87.0"
indexmap = { version = "1.0.2", features = ["serde-1"] }
thiserror = "1.0.4"
serde = { version = "1.0.94", features = ["derive"] }

View File

@@ -583,6 +583,10 @@ impl<'a, 'data> Translator<'a, 'data> {
let instance = ModuleInstanceIndex::from_u32(instance_index);
self.alias_module_instance_export(kind, instance, name)
}
wasmparser::Alias::Outer { kind, count, index } => {
drop((kind, count, index));
unimplemented!("outer core index");
}
};
self.result.initializers.push(init);
}

View File

@@ -428,6 +428,10 @@ impl ComponentTypesBuilder {
);
assert!(prev.is_none());
}
wasmparser::ModuleTypeDeclaration::Alias(alias) => {
drop(alias);
unimplemented!("outer alias in module type");
}
}
}