skip
attribute: make them work on non-inline mod
#245
Labels
needs-discussion
Issue that requires a discussion to make their status clear
cc @franziskuskiefer
Status
We have now an
include
attribute and anexclude
attribute.Due to rust-lang/rust#54727, on stable, a proc macro cannot work on non-inline modules (an inline module is
mod foo { ... items ... }
, whereas a non-inline module is iemod foo;
withfoo.rs
is a file).Our hax attributes are working with two layers: we have some proc-macros that get transformed into tool attributes but only when compiling via hax, because tool attributes are nightly.
Technically, until either tool attributes or rust-lang/rust#54727 are nightly, I don't think we can solve this issue. But, since we now support the
-i
flag in thecargo hax into
command line, maybe this issue is not important any longer.The text was updated successfully, but these errors were encountered: