Skip to content

is_flag_supported not using compiler specified by user #675

Closed
@Ast-x64

Description

@Ast-x64

Currently is_flag_supported creates a new cfg to detect whether the given flag could be accepted, inheriting some configurations (target, host, cpp etc.) except compiler. This means though the compiler to use may have been specified explicitly, the flag is still tested with the default compiler instead, resulting in wrong configurations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions