Skip to content

Commit 07f30f3

Browse files
committed
fix(ci): make LLVM backend opt-in to fix CI lint job
Change compiler default features from all-backends (which includes llvm-backend) to cranelift-backend only. This prevents the lint job from failing with "No suitable version of LLVM was found" since LLVM is only installed in the dedicated llvm-backend CI lane.
1 parent 8d89149 commit 07f30f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Check formatting
2929
run: cargo fmt --all -- --check
3030

31-
- name: Run clippy
31+
- name: Run clippy (default features, no LLVM)
3232
run: cargo clippy --workspace --all-targets
3333

3434
backend-feature-matrix:

crates/compiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ name = "simd_vectorization"
6767
harness = false
6868

6969
[features]
70-
default = ["all-backends"]
70+
default = ["cranelift-backend"]
7171
cranelift-backend = ["cranelift", "cranelift-codegen", "cranelift-frontend", "cranelift-jit", "cranelift-module", "cranelift-native"]
7272
llvm-backend = ["inkwell"]
7373
all-backends = ["cranelift-backend", "llvm-backend"]

0 commit comments

Comments
 (0)