Closed gaowayne closed 1 year ago
Sorry, that first error makes it look like a newer rust compiler is needed. I think the project is still at the stage where it isn't trying to be compatible with older rust compiler versions. You may want to try on a machine where you can get rust and cargo of 1.66.0.
sorry, I am newbie to rust, is there any command that I can update my rust build tools?
[root@localhost tokio-uring]# cargo --version
cargo 1.56.0
[root@localhost tokio-uring]# cargo update
Updating crates.io index
[root@localhost tokio-uring]# cargo --version
cargo 1.56.0
[root@localhost tokio-uring]#
sorry, I am newbie to rust, is there any command that I can update my rust build tools?
You can use rustup update
if you originally installed it via rustup.rs
thank you so much. now build is OK, but I cannot see any example binary is built
[root@localhost debug]# cd examples/
[root@localhost examples]# ls -l
total 0
[root@localhost examples]# pwd
/mnt/sda/sda5/wayne/rust/tokio-uring/target/debug/examples
[root@localhost examples]#
Try this:
cargo build --examples
I'm going to close this. Please reopen if we've missed answering something. Thank you.
Also, if you keep having further issues, you can comment even if this is closed. We close issues to indicate that work doesn't need to be done on our end.