rtx-cfd: get_features compiles under --features cuda (the vector must be mutable)
CI / Python Bindings (maturin) (macos-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (ubuntu-latest) (push) Blocked by required conditions
CI / WASM Build + Size Check (push) Blocked by required conditions
CI / Distributed Training Tests (push) Blocked by required conditions
CI / CI Success (push) Blocked by required conditions
CI / Build (macos-latest) (push) Waiting to run
CI / Build CPU-Only (Explicit) (push) Failing after 5s
CI / Test (macos-latest) (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Blocked by required conditions
Documentation / Build API Documentation (push) Failing after 5s
Documentation / Build User Guide (push) Successful in 6s
CI / Format Check (push) Failing after 15s
CI / Clippy Check (push) Failing after 56s
CI / Build (ubuntu-latest) (push) Failing after 2m29s
Performance Benchmarks / Run Benchmarks (push) Successful in 3m20s

This commit is contained in:
Omar Sobh
2026-09-16 01:00:34 -05:00
parent 8c130c55c8
commit 53078c2aa7
+2 -1
View File
@@ -349,7 +349,8 @@ pub struct BuildInfo {
}
fn get_features() -> Vec<&'static str> {
let features = Vec::new();
#[allow(unused_mut)]
let mut features = Vec::new();
#[cfg(feature = "cuda")]
features.push("cuda");