Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Feb 20, 2025
1 parent 9a5a24e commit 724f76b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -922,9 +922,9 @@ fn local_build(

let mut config = polkavm_linker::Config::default();
config.set_strip(!keep_debug_symbols);
if *build_mode != BuildMode::Debug {
//if *build_mode != BuildMode::Debug {
config.set_optimize(true);
}
//}
let orig = fs::read(&crate_metadata.original_code)?;

let linked = match polkavm_linker::program_from_elf(config, orig.as_ref()) {
Expand Down

0 comments on commit 724f76b

Please sign in to comment.