Skip to content

Automatically add -C target-feature=+tagged-globals when -Z sanitizer=hwaddress is used #148185

@Enselic

Description

@Enselic

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.

Metadata

Metadata

Assignees

Labels

A-sanitizersArea: Sanitizers for correctness and code qualityC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions