News for hackers. Stuff that matters.
Re:Zig's Incremental Compilation Internals by afdbcreid on Wednesday July 29, 2026 @01:42AM (#49093801)
That's only part of the issue. First, declarative macros are of course pure. Most procedural macros are pure too, although there are exceptions (an infamous case is sqlx). And while rustc does expand them every time (although a config for declaring "my macro is pure" was considered multiple times and the teams generally view it favorably), rust-analyzer just declares "we don't support impure macros" and caches them anyway.

There are no comments on this comment yet.