News for hackers. Stuff that matters.
Re:Rust Compile Times and Code Graphs by TinkersW on Saturday October 14, 2023 @01:22PM (#37882381)
Depends if that 2 minutes is full build or incremental..if incremental that is unacceptable, should be more like 2 seconds.

Compiling to see if you have syntax errors? What do you not have an editor?

Re:Rust Compile Times and Code Graphs by trealira on Saturday October 14, 2023 @04:01PM (#37883777)
Yeah, and cargo check exists for that very reason. It does type checking without actually compiling the code. Rust-analyzer, the LSP server for Rust, runs `cargo check` whenever the file is saved, IIRC, and then shows you what the compiler said.
Re:Rust Compile Times and Code Graphs by dist1ll on Sunday October 15, 2023 @06:51PM (#37894138)
Incremental type checking is still painfully slow on a large codebase.