Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekleog committed Jan 30, 2023
1 parent 154db5e commit 25f9d92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions bolero-honggfuzz/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ fn build(target: &str, file: &str, lib: &str) -> String {
.unwrap();
assert!(status.success());

std::fs::copy(
format!("honggfuzz/{target}"),
format!("{out_dir}/{file}"),
)
.expect("could not copy target");
std::fs::copy(format!("honggfuzz/{target}"), format!("{out_dir}/{file}"))
.expect("could not copy target");

println!("cargo:rustc-link-lib=static={lib}");
println!("cargo:rustc-link-search=native={out_dir}");
Expand Down
4 changes: 1 addition & 3 deletions cargo-bolero/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ impl Project {
.arg("rustc")
.arg("-vV")
.output()
.with_context(|| {
format!("failed to determine {toolchain} toolchain version")
})?
.with_context(|| format!("failed to determine {toolchain} toolchain version"))?
.stdout;
let stdout = core::str::from_utf8(&stdout)?;
rustc_version::version_meta_for(stdout)?
Expand Down

0 comments on commit 25f9d92

Please sign in to comment.