We currently document that -C target-feature=+tagged-globals needs to be used with -Z sanitizer=hwaddress. But that is easy to miss. We forgot to do that in our own test for example (fixed by this PR).
We should probably do like clang and automatically enable that target-feature after thinking about how that affects Rust safety guarantees, for example. That was suggested here.
We currently document that
-C target-feature=+tagged-globalsneeds to be used with-Z sanitizer=hwaddress. But that is easy to miss. We forgot to do that in our own test for example (fixed by this PR).We should probably do like
clangand automatically enable that target-feature after thinking about how that affects Rust safety guarantees, for example. That was suggested here.