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
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:
@@ -349,7 +349,8 @@ pub struct BuildInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn get_features() -> Vec<&'static str> {
|
fn get_features() -> Vec<&'static str> {
|
||||||
let features = Vec::new();
|
#[allow(unused_mut)]
|
||||||
|
let mut features = Vec::new();
|
||||||
|
|
||||||
#[cfg(feature = "cuda")]
|
#[cfg(feature = "cuda")]
|
||||||
features.push("cuda");
|
features.push("cuda");
|
||||||
|
|||||||
Reference in New Issue
Block a user