Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
3.16k stars 120 forks source link

cust_core: Doctest failed #58

Open ghost opened 2 years ago

ghost commented 2 years ago

https://download.copr.fedorainfracloud.org/results/remilauzier/rust-cuda/fedora-rawhide-x86_64/03707783-rust-cust_core/builder-live.log.gz

running 3 tests test src/lib.rs - _hidden::DeviceCopy (line 21) ... FAILED test src/lib.rs - _hidden::DeviceCopy (line 34) - compile fail ... ok test src/lib.rs - _hidden::DeviceCopy (line 44) ... FAILED

failures:

---- src/lib.rs - _hidden::DeviceCopy (line 21) stdout ---- error[E0432]: unresolved import cust --> src/lib.rs:22:5 | 2 | use cust::DeviceCopy; | ^^^^ use of undeclared crate or module cust

error: cannot determine resolution for the derive macro DeviceCopy --> src/lib.rs:24:17 4 #[derive(Clone, DeviceCopy)] ^^^^^^^^^^

= note: import resolution is stuck, try simplifying macro imports