Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomwiggers committed Apr 26, 2023
1 parent 82479d0 commit e2f4d80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pqcrypto-internals/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn main() {
if target_os == "wasi" {
let wasi_sdk_path =
&std::env::var("WASI_SDK_DIR").expect("missing environment variable: WASI_SDK_DIR");
build.flag(format!("--sysroot={}", wasi_sdk_path).as_str());
build.flag(format!("--sysroot={wasi_sdk_path}").as_str());
}

build
Expand All @@ -39,7 +39,7 @@ fn main() {
if target_os == "wasi" {
let wasi_sdk_path =
&std::env::var("WASI_SDK_DIR").expect("missing environment variable: WASI_SDK_DIR");
builder.flag(format!("--sysroot={}", wasi_sdk_path).as_str());
builder.flag(format!("--sysroot={wasi_sdk_path}").as_str());
}

let target_env = env::var("CARGO_CFG_TARGET_ENV").unwrap();
Expand All @@ -50,7 +50,7 @@ fn main() {
};
builder
.file(
&cfiledir
cfiledir
.join("keccak4x")
.join("KeccakP-1600-times4-SIMD256.c"),
)
Expand Down

0 comments on commit e2f4d80

Please sign in to comment.