Skip to content

Commit

Permalink
Tweak build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed May 5, 2024
1 parent 93b6ebc commit 473c80d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion md5/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn main() {
} else if target_arch == "x86_64" {
"src/x64.S"
} else {
panic!("Unsupported target architecture");
panic!("Unsupported target architecture: {}", target_arch);
};
cc::Build::new().flag("-c").file(asm_path).compile("md5");
}
2 changes: 1 addition & 1 deletion sha1/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fn main() {
} else if target_arch == "aarch64" {
"src/aarch64.S"
} else {
panic!("Unsupported target architecture");
panic!("Unsupported target architecture: {}", target_arch);
};
let mut build = cc::Build::new();
if target_arch == "aarch64" {
Expand Down
2 changes: 1 addition & 1 deletion sha2/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn main() {
build256.flag("-march=armv8-a+crypto");
("src/sha256_aarch64.S", "")
} else {
panic!("Unsupported target architecture");
panic!("Unsupported target architecture: {}", target_arch);
};

if target_arch != "aarch64" {
Expand Down
2 changes: 1 addition & 1 deletion whirlpool/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn main() {
} else if target_arch == "x86_64" {
"src/x64.S"
} else {
panic!("Unsupported target architecture");
panic!("Unsupported target architecture: {}", target_arch);
};
cc::Build::new()
.flag("-c")
Expand Down

0 comments on commit 473c80d

Please sign in to comment.