You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failures:
1) LLVM .default_target_triple
Failure/Error: {% if flag?(:darwin) %}
Expected: "arm64-apple-darwin23.1.0"
to match: /-apple-macosx$/
# spec/std/llvm/llvm_spec.cr:17
LLVM is supposed to normalize the triple by removing the version number, but this doesn't work because the triple starts with arm64 rather than aarch64:
I found the same thing, that LLVM supports name arm64-apple-darwin, the aarch64-apple-darwin could be replaced. (llvm-config --host-target #=> arm64-apple-darwin23.0.0)
This spec is still failing on my M2:
crystal/spec/std/llvm/llvm_spec.cr
Lines 15 to 18 in 25d3303
LLVM
is supposed to normalize the triple by removing the version number, but this doesn't work because the triple starts witharm64
rather thanaarch64
:crystal/src/llvm.cr
Lines 91 to 99 in 25d3303
This spec passes inside a Nix shell. I don't know what is going on there.
Rust had this problem too. Apparently
arm64
is preferred overaarch64
now?The text was updated successfully, but these errors were encountered: