Skip to content

Commit 3aac155

Browse files
atheinathanwhit
authored andcommitted
Build wasm for mvp cpu (paritytech#13758)
1 parent 336e036 commit 3aac155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/wasm-builder/src/wasm_project.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ fn build_project(
632632
let mut build_cmd = cargo_cmd.command();
633633

634634
let rustflags = format!(
635-
"-C link-arg=--export-table {} {}",
635+
"-C target-cpu=mvp -C link-arg=--export-table {} {}",
636636
default_rustflags,
637637
env::var(crate::WASM_BUILD_RUSTFLAGS_ENV).unwrap_or_default(),
638638
);

0 commit comments

Comments
 (0)