Bump the wasm-tools crates (#3139)

* Bump the wasm-tools crates

Pulls in some updates here and there, mostly for updating crates to the
latest version to prepare for later memory64 work.

* Update lightbeam
This commit is contained in:
Alex Crichton
2021-08-04 09:53:47 -05:00
committed by GitHub
parent 9419d635c6
commit a33caec9be
30 changed files with 148 additions and 137 deletions

View File

@@ -20,7 +20,7 @@ wasmtime-cache = { path = "../cache", version = "0.29.0", optional = true }
wasmtime-profiling = { path = "../profiling", version = "0.29.0" }
wasmtime-fiber = { path = "../fiber", version = "0.29.0", optional = true }
target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.79"
wasmparser = "0.80"
anyhow = "1.0.19"
region = "2.2.0"
libc = "0.2"

View File

@@ -217,7 +217,7 @@ impl ExternType {
let ty = &types.instance_signatures[*ty];
InstanceType::from_wasmtime(types, ty).into()
}
EntityType::Event(_) => unimplemented!("wasm event support"),
EntityType::Tag(_) => unimplemented!("wasm tag support"),
}
}
}

View File

@@ -236,7 +236,7 @@ impl MatchCx<'_> {
EntityType::Global(_) => "global",
EntityType::Module(_) => "module",
EntityType::Memory(_) => "memory",
EntityType::Event(_) => "event",
EntityType::Tag(_) => "tag",
EntityType::Instance(_) => "instance",
EntityType::Table(_) => "table",
EntityType::Function(_) => "function",
@@ -301,7 +301,7 @@ impl MatchCx<'_> {
}
_ => bail!("expected module, but found {}", actual_desc),
},
EntityType::Event(_) => unimplemented!(),
EntityType::Tag(_) => unimplemented!(),
}
}
@@ -332,7 +332,7 @@ impl MatchCx<'_> {
Extern::Module(actual) => self.module(*expected, actual),
_ => bail!("expected module, but found {}", actual.desc()),
},
EntityType::Event(_) => unimplemented!(),
EntityType::Tag(_) => unimplemented!(),
}
}
@@ -373,6 +373,6 @@ fn entity_desc(ty: &EntityType) -> &'static str {
EntityType::Function(_) => "func",
EntityType::Instance(_) => "instance",
EntityType::Module(_) => "module",
EntityType::Event(_) => "event",
EntityType::Tag(_) => "tag",
}
}