Skip to content

Commit

Permalink
Fix typo: x86_64 (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwsmith authored Sep 9, 2024
1 parent 2d8cee3 commit b671148
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions aws-lc-sys/builder/cmake_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ impl CmakeBuilder {
impl crate::Builder for CmakeBuilder {
fn check_dependencies(&self) -> Result<(), String> {
let mut missing_dependency = false;

if target_os() == "windows" && target_arch() == "x86-64" {
if target_os() == "windows" && target_arch() == "x86_64" {
if is_no_asm() && Some(true) == allow_prebuilt_nasm() {
eprintln!(
"Build environment has both `AWS_LC_SYS_PREBUILT_NASM` and `AWS_LC_SYS_NO_ASM` set.\
Expand All @@ -336,7 +335,7 @@ impl crate::Builder for CmakeBuilder {
}
if !is_no_asm() && !test_nasm_command() && !use_prebuilt_nasm() {
eprintln!(
"Consider setting `AWS_LC_SYS_PREBUILT_NASM` in the build environment.\
"Consider installing NASM or setting `AWS_LC_SYS_PREBUILT_NASM` in the build environment.\
See User Guide: https://aws.github.io/aws-lc-rs/index.html"
);
eprintln!("Missing dependency: nasm");
Expand Down

0 comments on commit b671148

Please sign in to comment.