Skip to content

Commit 345e9a0

Browse files
committed
Document -Zcache-proc-macros
1 parent 503745e commit 345e9a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## `cache-proc-macros`
2+
3+
The tracking issue for this feature is: [#151364]
4+
5+
[#151364]: https://github.com/rust-lang/rust/issues/151364
6+
7+
------------------------
8+
9+
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.

0 commit comments

Comments
 (0)