-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
Platform: macOS 10.12.2
Cargo: cargo 0.15.0-nightly (298a012 2016-12-20)
Rust: rustc 1.14.0 (e8a012324 2016-12-16)
I've set up a rust project using crates but I'm getting no backends if I use cargo run
, if I run the executable directly from the shell, I get expected results.
cargo run --example unified
Compiling arrayfire v3.4.1 (file:///Users/shane/src/rust/arrayfire-rust)
Finished debug [unoptimized + debuginfo] target(s) in 0.27 secs
Running `target/debug/examples/unified`
There are 0 available backends
cargo build --example unified
Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs
./target/debug/examples/unified
There are 2 available backends
Evaluating CPU Backend...
There are 1 CPU compute devices
...
I've added a stackoverflow question with similar info http://stackoverflow.com/questions/41602744/how-to-configure-arrayfire-rust-to-use-cargo-run