Open
Description
It is not entirely clear what it means for a macro to be "safe", and by extension, what it means for a macro to be "sound". This is what underlies the old discussion at rustsec/advisory-db#275, and also has some up in other discussions:
- https://internals.rust-lang.org/t/explicitly-marking-unsafe-macro-expressions/9425
- https://internals.rust-lang.org/t/hidden-unsafe-due-to-unintentionally-abusable-macros-and-include/14107
- https://rust-lang.zulipchat.com/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines/topic/.22Safety.22.20of.20macros
We should figure out some proper definition for when a macro is considered to be "sound".
Metadata
Metadata
Assignees
Labels
No labels