Update wasm-tools dependencies (#4970)

* Update wasm-tools dependencies

This update brings in a number of features such as:

* The component model binary format and AST has been slightly adjusted
  in a few locations. Names are dropped from parameters/results now in
  the internal representation since they were not used anyway. At this
  time the ability to bind a multi-return function has not been exposed.

* The `wasmparser` validator pass will now share allocations with prior
  functions, providing what's probably a very minor speedup for Wasmtime
  itself.

* The text format for many component-related tests now requires named
  parameters.

* Some new relaxed-simd instructions are updated to be ignored.

I hope to have a follow-up to expose the multi-return ability to the
embedding API of components.

* Update audit information for new crates
This commit is contained in:
Alex Crichton
2022-09-27 13:12:34 -05:00
committed by GitHub
parent 10deb9b7fe
commit 29c7de7340
31 changed files with 407 additions and 331 deletions

View File

@@ -32,6 +32,7 @@ impl ComponentCompiler for Compiler {
mut func_translator,
codegen_context: mut context,
mut incremental_cache_ctx,
validator_allocations,
} = self.take_context();
context.func = ir::Function::with_name_signature(
@@ -156,6 +157,7 @@ impl ComponentCompiler for Compiler {
func_translator,
codegen_context: context,
incremental_cache_ctx,
validator_allocations,
});
Ok(Box::new(func))
}
@@ -166,6 +168,7 @@ impl ComponentCompiler for Compiler {
mut func_translator,
codegen_context: mut context,
mut incremental_cache_ctx,
validator_allocations,
} = self.take_context();
context.func = ir::Function::with_name_signature(
ir::UserFuncName::user(0, 0),
@@ -187,6 +190,7 @@ impl ComponentCompiler for Compiler {
func_translator,
codegen_context: context,
incremental_cache_ctx,
validator_allocations,
});
Ok(Box::new(func))
}
@@ -205,6 +209,7 @@ impl ComponentCompiler for Compiler {
mut func_translator,
codegen_context: mut context,
mut incremental_cache_ctx,
validator_allocations,
} = self.take_context();
context.func = ir::Function::with_name_signature(
@@ -226,6 +231,7 @@ impl ComponentCompiler for Compiler {
func_translator,
codegen_context: context,
incremental_cache_ctx,
validator_allocations,
});
Ok(Box::new(func))
}