cranelift: Test calling across different calling conventions (#4801)

* cranelift: Test calling across different calling conventions

* cranelift: Use `wasmtime_system_v` calling convention for cross cc tests
This commit is contained in:
Afonso Bordado
2022-08-31 23:16:41 +01:00
committed by GitHub
parent 328727644f
commit 2beaf7352f
2 changed files with 19 additions and 4 deletions

View File

@@ -326,10 +326,6 @@ impl<'a> Trampoline<'a> {
/// Compilation Error when compiling a function.
#[derive(Error, Debug)]
pub enum CompilationError {
/// This Target ISA is invalid for the current host.
#[error("Cross-compilation not currently supported; use the host's default calling convention \
or remove the specified calling convention in the function signature to use the host's default.")]
InvalidTargetIsa,
/// Cranelift codegen error.
#[error("Cranelift codegen error")]
CodegenError(#[from] CodegenError),