diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-02-10 01:28:28 +0200 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-02-10 01:28:28 +0200 |
| commit | b5ad702c621ca92a2a24088b6fb2e7fcf30638e9 (patch) | |
| tree | 2b681abd0e810bc5a8feefbdce855f5e11d232f3 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | a7e9739315791e6c6085a6f3047387393464a3ee (diff) | |
| download | rust-b5ad702c621ca92a2a24088b6fb2e7fcf30638e9.tar.gz rust-b5ad702c621ca92a2a24088b6fb2e7fcf30638e9.zip | |
Censor cfg_attr for attribute macros
This is not documented (and I discovered that from experimenting and looking at the compiler's source code), but cfg_attrs *on the same level* as the attribute macro should be processed before it is expanded. cfg_attrs *below* should not (and this is contrary to what happens with derive macros, where both should be processed).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
