Closed doitian closed 1 year ago
Have you tried the latest develop branch? I have fixed rust-analyzer “duplicate lang item” errors by adding cfg(test)
. Running cargo clippy
or cross clippy
is also supported.
I tried develop branch. Rust-analyzer is green and rustfmt works. 👍
What's the best practices to setup the local development environment so that
My current approach:
This is not perfect, I still got errors like
But at least, I have a working rustfmt and rust-analyzer in the project.
I know I should use the target riscv64-unknown-elf-gcc instead of the host default target, but I don't know how to setup all the required packages.