Skip to content

Feature: Add -fsanitize=address for x86_64-unknown-linux-gnuasan #1666

@kamulos

Description

@kamulos

I think it could make sense to have cc automatically set -fsanitize=address, when the new target x86_64-unknown-linux-gnuasan is selected in Rust. This would make enabling ASAN in mixed code bases incredibly easy. And I think this would be what the user intends in every case when selecting the target.

I wanted to open a PR for this, but I am too unfamiliar with the code base to do it properly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions