Re:Rust 1.47
by pjmlp on Thursday October 08, 2020 @11:21AM
(#24719928)
In theory yes, with the current LLVM toolchain doesn't look like it.
[ Parent
| on HN ]
Re:Rust 1.47
by vlang1dot0 on Thursday October 08, 2020 @11:32AM
(#24720073)
LLVM has nothing to do with `const` evaluation in Rust. `const` evaluation happens at the MIR level which participates in incremental compilation.
> cache the evaluated outputs
Was the point of my answer.
Re:Rust 1.47
by vlang1dot0 on Thursday October 08, 2020 @02:30PM
(#24722182)
Apologies but as your comment currently stands, it reads to me like "in theory yes, but actually no".