This commit is contained in:
Alex Crichton
2019-08-13 13:14:03 -07:00
committed by Dan Gohman
parent dfda794f55
commit 705bfacf10

View File

@@ -469,11 +469,7 @@ pub trait ModuleEnvironment<'data> {
) -> WasmResult<()>;
/// Indicates that a custom section has been found in the wasm file
fn custom_section(
&mut self,
name: &'data str,
data: &'data [u8],
) -> WasmResult<()> {
fn custom_section(&mut self, name: &'data str, data: &'data [u8]) -> WasmResult<()> {
drop((name, data));
Ok(())
}