3 ms·
Can't the Rust compiler cache the evaluated outputs?
by creata 6y ago
Can't the Rust compiler cache the evaluated outputs?
- pjmlp 6y agoIn theory yes, with the current LLVM toolchain doesn't look like it.
- vlang1dot0 6y agoLLVM has nothing to do with `const` evaluation in Rust. `const` evaluation happens at the MIR level which participates in incremental compilation.
- pjmlp 6y ago> cache the evaluated outputs Was the point of my answer.
- vlang1dot0 6y agoApologies but as your comment currently stands, it reads to me like "in theory yes, but actually no".