Unable to make crate examples #2055
-
I've made a library crate using
This is (a simplified version of) what my example looks like: use ham2spec::some_func;
fn main() {
let foo = some_func();
} I also have the example listed in my [[example]]
name = "my_example"
path = "examples/my_example.rs" I'm getting the error So, what am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Can you post the full example somewhere? Or at least the content of |
Beta Was this translation helpful? Give feedback.
Can you post the full example somewhere? Or at least the content of
Cargo.toml
?