Skip to content

Commit

Permalink
Fix AArch32 ARCH detection logic
Browse files Browse the repository at this point in the history
Oops.
  • Loading branch information
pthariensflame committed Apr 29, 2024
1 parent e9180d7 commit cd3cb9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Random123.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ else
end

"True when Arm AArch64 FEAT_AES instructions have been detected."
const R123_USE_ARM_AARCH64_FEAT_AES::Bool = if Sys.ARCH :aarch64
const R123_USE_ARM_AARCH64_FEAT_AES::Bool = @static if Sys.ARCH :aarch64
try
cmd = Base.julia_cmd()
push!(
Expand All @@ -73,7 +73,7 @@ else
end

"True when Arm AArch32 FEAT_AES instructions have been detected."
const R123_USE_ARM_AARCH32_FEAT_AES::Bool = if Sys.ARCH :aarch64
const R123_USE_ARM_AARCH32_FEAT_AES::Bool = @static if startswith(String(Sys.ARCH), "arm")
try
cmd = Base.julia_cmd()
push!(
Expand Down

0 comments on commit cd3cb9c

Please sign in to comment.