Closed BadPseudonym closed 1 year ago
After checking https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html#build-scripts-and-procedural-macros it turns out that sanitizer=address disables procedural-macros I think.
To bypass the issue I used
[profile.sanitizer_address]
inherits = "test"
[profile.sanitizer_address.package.atomic_epoch]
rustflags = [ "-Z", "sanitizer=address" ]
to only target the crate I wanted that didn't use procedural-macros
When building with RUSTFLAGS="-Z sanitizer=address" I get the following error when using rustversion in my crate
when building without RUSTFLAGS="-Z sanitizer=address" it all works correctly.