Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cache-proc-macros

The tracking issue for this feature is: #151364


This option instructs rustc to cache (derive) proc-macro invocations using the incremental system. Note that the compiler does not currently check whether the proc-macro is actually “cacheable” or not. If you use this flag when compiling a crate that uses non-pure proc-macros, it can result in stale expansions being compiled.