4 ms·
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
by TinkersW 3y ago
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?
- trealira 3y agoYeah, 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.
- dist1ll 3y agoIncremental type checking is still painfully slow on a large codebase.