Skip to content

VS backend cross-compile support is broken (especially Microsoft GDK platforms) #14232

Open
@Listwon

Description

Describe the bug
#12654 replaced target_system = self.environment.machines.target.system with target_system = self.environment.machines.host.system which completely breaks the logic from #10616

I think target shouldn't be replaced with host in the whole mesonbuild/backend/vs2010backend.py, because you should be able to generate and build Visual Studio solutions on hosts that don't match the target machine (for example building arm64 projects on x64 host).

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