Closed vairamsvsjdo closed 4 years ago
The most time consumed and lag is due to the buld time
root@11c937647f1b:/work# cargo build
Compiling work v0.1.0 (/work)
Finished dev [unoptimized + debuginfo] target(s) in 1.86s
root@11c937647f1b:/work# cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.14s
Running `target/debug/work`
Hello, world 1,2,3,4,5!
Stack overflow, the /r/rust subreddit, or users.rust-lang.org would be a better place to ask general questions like this.
I felt there is a performance issue with the compiler.
This is not the issue tracker for the compiler either.
Environment: windows 10: docker latest with wsl2 Docker version 19.03.8, build afacb8b docker-compose version 1.26.0-rc4, build d279b7a8
cargo build and cargo run is very slow. What needs to be done to improve compile time?