mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
cargo fmt
This commit is contained in:
parent
c00db6da37
commit
81f466fee0
2 changed files with 15 additions and 12 deletions
|
@ -914,8 +914,10 @@ mod cli_tests {
|
|||
|
||||
dbg!("pre wasm_run_out");
|
||||
|
||||
let wasm_run_out =
|
||||
crate::run_wasm_for_cli_test(&roc_file_path.with_extension("wasm"), wasm_args.clone());
|
||||
let wasm_run_out = crate::run_wasm_for_cli_test(
|
||||
&roc_file_path.with_extension("wasm"),
|
||||
wasm_args.clone(),
|
||||
);
|
||||
|
||||
dbg!("post wasm_run_out");
|
||||
|
||||
|
|
|
@ -1018,7 +1018,8 @@ fn build_loaded_file<'a>(
|
|||
// In case of link_type == LinkType::Dylib or target == Target::Wasm32
|
||||
// When compiling a Dylib there is no host, such as when generating glue using `roc glue`.
|
||||
if target == Target::Wasm32 {
|
||||
let wasm_host_zig:PathBuf = platform_main_roc_path.with_file_name("host.zig");
|
||||
let wasm_host_zig: PathBuf =
|
||||
platform_main_roc_path.with_file_name("host.zig");
|
||||
|
||||
assert!(
|
||||
wasm_host_zig.exists(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue