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
The macOS aarch64 Julia CI job can fail in the LLVM integration tests when parsing LLVM IR emitted by the newer Rust toolchain. The observed failure is in PR #240, whose changes are documentation/example metadata only.
The most likely cause is an environment/toolchain compatibility issue: rustc 1.95.0 emits LLVM IR containing the nocreateundeforpoison function attribute, and the LLVM parser available through the current Julia/LLVM.jl stack fails to parse that attribute on macOS aarch64.
This appears unrelated to PR #240's documentation changes, but it blocks CI on that PR because the matrix resolves newer runner/toolchain/package versions than the last passing main run.
Possible fixes
Pin the CI Rust toolchain used by Julia tests to the last known passing version, 1.94.1, at least for macOS aarch64.
Sanitize or normalize unsupported LLVM IR attributes before calling LLVM.parse in load_llvm_ir.
Skip or xfail the Optimization passes are not no-ops LLVM IR parser test on affected macOS aarch64 / Rust / LLVM combinations until compatibility is restored.
Suggested next step
Reproduce on macOS aarch64 with rustc 1.95.0 and LLVM.jl v9.7.0, then decide whether the right fix is a CI toolchain pin or an IR compatibility shim in RustCall.
Summary
The macOS aarch64 Julia CI job can fail in the LLVM integration tests when parsing LLVM IR emitted by the newer Rust toolchain. The observed failure is in PR #240, whose changes are documentation/example metadata only.
Failing check:
Julia 1 - macos-latest - aarch64Failure
The failure occurs in
test/test_core_api.jl, inside theOptimization passes are not no-opstestset:Stack points through
RustCall.load_llvm_ir:Important context
README.md,docs/src/*,docs/troubleshooting.md, andexamples/*documentation/example metadata.mainCI passed on 2026-04-22.mainsuccess environment on 2026-04-22:macos-15-arm64/20260414.0270rustc 1.94.1LLVM.jl v9.4.6PR #240 failure environment on 2026-04-25:
macos-15-arm64/20260421.0007rustc 1.95.0LLVM.jl v9.7.0Current hypothesis
The most likely cause is an environment/toolchain compatibility issue:
rustc 1.95.0emits LLVM IR containing thenocreateundeforpoisonfunction attribute, and the LLVM parser available through the current Julia/LLVM.jl stack fails to parse that attribute on macOS aarch64.This appears unrelated to PR #240's documentation changes, but it blocks CI on that PR because the matrix resolves newer runner/toolchain/package versions than the last passing
mainrun.Possible fixes
1.94.1, at least for macOS aarch64.LLVM.parseinload_llvm_ir.Optimization passes are not no-opsLLVM IR parser test on affected macOS aarch64 / Rust / LLVM combinations until compatibility is restored.Suggested next step
Reproduce on macOS aarch64 with
rustc 1.95.0andLLVM.jl v9.7.0, then decide whether the right fix is a CI toolchain pin or an IR compatibility shim in RustCall.