Skip to content

bug: Build::is_flag_supported /guard:cf returns false on 1.2.4 ->1.2.5 transition (on x86_64-pc-windows-msvc) #1416

Closed
@omerkattan-microsoft

Description

@omerkattan-microsoft

Seems related to #1324
The build output looks like that in 1.2.5, while these messages don't show up in 1.2.4:
Image

When manually running the flag check command I get the following output:
Image

This in practice disables control flow guard mitigation for projects compiled with cc.
It is possible that /guard:cf adds a link dependency on MSVCRT.lib and the fix for #1324 didn't take that into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsWindows targets and toolchainsbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions