diff options
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs index 2b958ff55..93639d34f 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -344,7 +344,7 @@ async fn compile_command( // Select base binary based on `target` and `lite` arguments let original_binary = - tools::standalone::get_base_binary(deno_dir, target, lite).await?; + tools::standalone::get_base_binary(deno_dir, target.clone(), lite).await?; let final_bin = tools::standalone::create_standalone_binary( original_binary, @@ -354,7 +354,8 @@ async fn compile_command( info!("{} {}", colors::green("Emit"), output.display()); - tools::standalone::write_standalone_binary(output.clone(), final_bin).await?; + tools::standalone::write_standalone_binary(output.clone(), target, final_bin) + .await?; Ok(()) } |