mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
auto clippy fixes
This commit is contained in:
parent
72c85efc83
commit
ef39bad7c6
146 changed files with 750 additions and 1005 deletions
|
@ -450,8 +450,7 @@ pub(crate) fn surgery_pe(executable_path: &Path, metadata_path: &Path, roc_app_b
|
|||
.contains(&name.as_str());
|
||||
if *address == 0 && !name.starts_with("roc") && !is_ingested_compiler_rt {
|
||||
eprintln!(
|
||||
"I don't know the address of the {} function! this may cause segfaults",
|
||||
name
|
||||
"I don't know the address of the {name} function! this may cause segfaults"
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -1718,7 +1717,7 @@ mod test {
|
|||
std::io::stdout().write_all(&output.stdout).unwrap();
|
||||
std::io::stderr().write_all(&output.stderr).unwrap();
|
||||
|
||||
panic!("zig build-exe failed: {}", command_str);
|
||||
panic!("zig build-exe failed: {command_str}");
|
||||
}
|
||||
|
||||
let preprocessed_host_filename =
|
||||
|
@ -1939,7 +1938,7 @@ mod test {
|
|||
std::io::stdout().write_all(&output.stdout).unwrap();
|
||||
std::io::stderr().write_all(&output.stderr).unwrap();
|
||||
|
||||
panic!("zig build-exe failed: {}", command_str);
|
||||
panic!("zig build-exe failed: {command_str}");
|
||||
}
|
||||
|
||||
let host_bytes = std::fs::read(dir.join("host.exe")).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue