set_persistence_file_name!() { /* proc-macro */ }Expand description
Define a file name for compile-to-runtime persistence.
- If the input is not a (non-empty) string literal, it will be ignored.
- If this macro has been invoked once during the compile, all subsequent invocations will be ignored.
- An empty TokenStream is retured
Note: This entire library works by persisting data captured at compile time to a file that is then loaded at runtime at the caller’s discretion. In a workspace where multiple sub-packages are capturing data, this macro ought be invoked in each sub-package to set a unique file name for said sub-package’s capture data.