Skip to content

Commit

Permalink
Build wasm for mvp cpu (paritytech#13758)
Browse files Browse the repository at this point in the history
  • Loading branch information
athei authored and sea212 committed Aug 25, 2023
1 parent dd99ac3 commit a19eadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/wasm-builder/src/wasm_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ fn build_project(
let mut build_cmd = cargo_cmd.command();

let rustflags = format!(
"-C link-arg=--export-table {} {}",
"-C target-cpu=mvp -C link-arg=--export-table {} {}",
default_rustflags,
env::var(crate::WASM_BUILD_RUSTFLAGS_ENV).unwrap_or_default(),
);
Expand Down

0 comments on commit a19eadb

Please sign in to comment.