Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add additional arguments for wasm-opt in process_wasm function
  • Loading branch information
kpob committed Mar 27, 2026
commit b472773c7dc472f9716c01d7985678ad5496d228
2 changes: 2 additions & 0 deletions src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ pub fn mkdir(path: PathBuf) -> Result<(), Error> {
pub fn process_wasm(contract_name: &str, project_root: PathBuf) {
let command = Command::new("wasm-opt")
.current_dir(project_root.clone())
.arg("--enable-bulk-memory")
.arg("--signext-lowering")
.arg("--llvm-memory-copy-fill-lowering")
.arg(paths::wasm_path_in_wasm_dir(contract_name, &project_root))
.arg("-o")
.arg(paths::wasm_path_in_wasm_dir(contract_name, &project_root))
Expand Down