Refactor usage of SecondaryMap impls (serde, PartialEq)
This commit is contained in:
@@ -12,11 +12,11 @@ name = "wasmtime_api"
|
||||
crate-type = ["lib", "staticlib", "cdylib"]
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = "0.40.0"
|
||||
cranelift-native = "0.40.0"
|
||||
cranelift-entity = "0.40.0"
|
||||
cranelift-wasm = "0.40.0"
|
||||
cranelift-frontend = "0.40.0"
|
||||
cranelift-codegen = { version = "0.41.0", features = ["enable-serde"] }
|
||||
cranelift-native = "0.41.0"
|
||||
cranelift-entity = { version = "0.41.0", features = ["enable-serde"] }
|
||||
cranelift-wasm = { version = "0.41.0", features = ["enable-serde"] }
|
||||
cranelift-frontend = "0.41.0"
|
||||
wasmtime-runtime = { path="../wasmtime-runtime" }
|
||||
wasmtime-environ = { path="../wasmtime-environ" }
|
||||
wasmtime-jit = { path="../wasmtime-jit" }
|
||||
|
||||
@@ -254,6 +254,14 @@ impl binemit::RelocSink for RelocSink {
|
||||
) {
|
||||
panic!("trampoline compilation should not produce external symbol relocs");
|
||||
}
|
||||
fn reloc_constant(
|
||||
&mut self,
|
||||
_code_offset: binemit::CodeOffset,
|
||||
_reloc: binemit::Reloc,
|
||||
_constant_offset: ir::ConstantOffset,
|
||||
) {
|
||||
panic!("trampoline compilation should not produce constant relocs");
|
||||
}
|
||||
fn reloc_jt(
|
||||
&mut self,
|
||||
_offset: binemit::CodeOffset,
|
||||
|
||||
Reference in New Issue
Block a user