Crates.io | proc_macro_global_state |
lib.rs | proc_macro_global_state |
version | 0.1.0 |
source | src |
created_at | 2021-08-06 08:21:24.260788 |
updated_at | 2021-08-06 08:21:24.260788 |
description | Example procedural macro using globals. |
homepage | |
repository | https://github.com/DerSaidin/proc_macro_global_state |
max_upload_size | |
id | 432369 |
size | 3,065 |
A procedural macro can use global state.
This crate demonstrates this to ask: should this be possible?