Skip to content

Do not add -fsanitize flags to msvc linker#6567

Merged
waruqi merged 1 commit intoxmake-io:devfrom
DownerCase:msvc-no-link-fsanitize-flag
Jun 21, 2025
Merged

Do not add -fsanitize flags to msvc linker#6567
waruqi merged 1 commit intoxmake-io:devfrom
DownerCase:msvc-no-link-fsanitize-flag

Conversation

@DownerCase
Copy link
Contributor

msvc's linker does not have an fsanitize flag. It was not causing build failures by was creating warning messages like:

LINK : warning LNK4044: unrecognized option '/fsanitize=address'; ignored

msvc's link.exe does not have an `fsanitize` flag.
It was not causing build failures by was creating warning messages like:

LINK : warning LNK4044: unrecognized option '/fsanitize=address'; ignored
@waruqi waruqi added this to the v3.0.1 milestone Jun 21, 2025
@waruqi waruqi merged commit 821fb01 into xmake-io:dev Jun 21, 2025
13 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants