Skip to content

Commit

Permalink
Slim down temporary trampoline objects (#5212)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexcrichton authored Nov 7, 2022
1 parent 9814e8b commit 980e948
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/wasmtime/src/trampoline/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?;

Expand Down

0 comments on commit 980e948

Please sign in to comment.