Slim down temporary trampoline objects (#5212)

I noticed this in the backtrace of something that timed out on oss-fuzz
and there's no need to include this information in trampolines, so this
removes the extra sections from being generated.
This commit is contained in:
Alex Crichton
2022-11-07 11:28:17 -06:00
committed by GitHub
parent 9814e8bfeb
commit 980e948239

View File

@@ -120,7 +120,6 @@ where
stub_fn::<F> as usize,
&mut obj,
)?;
engine.append_compiler_info(&mut obj);
engine.append_bti(&mut obj);
let obj = wasmtime_jit::ObjectBuilder::new(obj, &engine.config().tunables).finish()?;