Skip to content

Commit 2173938

Browse files
Make backend features (native, intel-mkl, openblas) imply std
These backends expose HPC functionality via the hpc module which is gated behind cfg(feature = "std"). Without this, --no-default-features --features native fails to find hpc::ocr_simd and other hpc modules. Also adds required-features = ["std"] to ocr_benchmark example as a safeguard. Co-authored-by: AdaWorldAPI <AdaWorldAPI@users.noreply.github.com>
1 parent 4c61e38 commit 2173938

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ name = "ndarray"
3434
bench = false
3535
test = true
3636

37+
[[example]]
38+
name = "ocr_benchmark"
39+
required-features = ["std"]
3740

3841
[dependencies]
3942
num-integer = { workspace = true }

0 commit comments

Comments
 (0)