Skip to content

Commit

Permalink
feat build execute code (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
honeywest authored Jan 7, 2021
1 parent b2c5602 commit 71525f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ fn execute(
build_artifact: BuildArtifacts,
unstable_flags: UnstableFlags,
) -> Result<BuildResult> {
let crate_metadata = CrateMetadata::collect(manifest_path)?;
if build_artifact == BuildArtifacts::CodeOnly || build_artifact == BuildArtifacts::CheckOnly {
let crate_metadata = CrateMetadata::collect(manifest_path)?;
let (maybe_dest_wasm, maybe_optimization_result) = execute_with_crate_metadata(
&crate_metadata,
verbosity,
Expand Down

0 comments on commit 71525f9

Please sign in to comment.