Closed shuaimu closed 7 years ago
I think your problem here is that you created a library when you intended to create a binary.
Try either creating your project with cargo new --bin
instead of cargo new
, or rename your lib.rs
file to main.rs
:-)
I see. thanks!
Hello. I am new to rust and want to start by playing with some cxx-rust bindings.
I followed the example from the document. The compile generated no executable binary with a warning:
Is this normal? Any help is appreciated.