I have the follow error when compiling on Rust nightly 1.79:
error[E0259]: the name _src is defined multiple times
--> /storage/home/hcoda1/4/jzhao399/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lax-0.16.0/src/lib.rs:82:1
79
extern crate intel_mkl_src as _src;
----------------------------------- previous import of the extern crate _src here
...
82
extern crate openblas_src as _src;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _src reimported here
= note: _src must be defined only once in the type namespace of this module
help: you can use as to change the binding name of the import
|
82 | extern crate openblas_src as other__src;
Features is like this:
ndarray = { version = "0.15", features = ["rayon", "serde"] }
ndarray-linalg = { version = "0.16", default-features = false }
Hello Team,
I have the follow error when compiling on Rust nightly 1.79:
_src
is defined multiple times --> /storage/home/hcoda1/4/jzhao399/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lax-0.16.0/src/lib.rs:82:1_src
here ... 82_src
reimported here= note:
_src
must be defined only once in the type namespace of this module help: you can useas
to change the binding name of the import | 82 | extern crate openblas_src as other__src;Features is like this:
ndarray = { version = "0.15", features = ["rayon", "serde"] } ndarray-linalg = { version = "0.16", default-features = false }
intel-mkl-static = [ "ndarray/blas", "ndarray-linalg/intel-mkl-static",]
Any idea?
Thanks,
Jianshu