Skip to content

Commit

Permalink
switch cli to use .cargo build options
Browse files Browse the repository at this point in the history
  • Loading branch information
heytdep committed Mar 21, 2024
1 parent dfa0486 commit 69c3c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr-cli/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl ZephyrProjectParser {

pub fn build_wasm(&self) -> Result<()> {
let output = Command::new("cargo")
.args(&["+nightly", "rustc", "--release", "--target=wasm32-unknown-unknown", "--", "-C", "target-feature=+multivalue"])
.args(&["build", "--release", "--target=wasm32-unknown-unknown"])
.output()?;

if !output.status.success() {
Expand Down

0 comments on commit 69c3c1e

Please sign in to comment.