Temporarily remove support for interface types (#1292)
* Temporarily remove support for interface types This commit temporarily removes support for interface types from the `wasmtime` CLI and removes the `wasmtime-interface-types` crate. An error is now printed for any input wasm modules that have wasm interface types sections to indicate that support has been removed and references to two issues are printed as well: * #677 - tracking work for re-adding interface types support * #1271 - rationale for removal and links to other discussions Closes #1271 * Update the python extension
This commit is contained in:
@@ -418,6 +418,28 @@ impl Module {
|
||||
}
|
||||
}
|
||||
}
|
||||
SectionCode::Custom {
|
||||
name: "webidl-bindings",
|
||||
..
|
||||
}
|
||||
| SectionCode::Custom {
|
||||
name: "wasm-interface-types",
|
||||
..
|
||||
} => {
|
||||
bail!(
|
||||
"\
|
||||
support for interface types has temporarily been removed from `wasmtime`
|
||||
|
||||
for more information about this temoprary you can read on the issue online:
|
||||
|
||||
https://github.com/bytecodealliance/wasmtime/issues/1271
|
||||
|
||||
and for re-adding support for interface types you can see this issue:
|
||||
|
||||
https://github.com/bytecodealliance/wasmtime/issues/677
|
||||
"
|
||||
);
|
||||
}
|
||||
_ => {
|
||||
// skip other sections
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user