Skip to content

Commit

Permalink
fix: disable dwarf on debug (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Feb 23, 2024
1 parent fd2fae0 commit 45a4a3f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,7 @@ impl WasiVirt {
}

pub fn finish(&mut self) -> Result<VirtResult> {
let mut config = walrus::ModuleConfig::new();
if self.debug {
config.generate_dwarf(true);
}
let config = walrus::ModuleConfig::new();
let mut module = if self.debug {
config.parse(VIRT_ADAPTER_DEBUG)
} else {
Expand Down

0 comments on commit 45a4a3f

Please sign in to comment.