Skip to content

MSVC Compiler 19.22.xxxxx generates invalid code which leads to inability to build libuserland #3024

@dimenus

Description

@dimenus

Related to #2740

With the upgrade from 19.21 (VS 2017) to 19.22, Microsoft seems to have broken something related to our FNV hash implementation. Building libuserland leads to this error:

invalid builtin function: 'hasDecl'

The workaround is to use VS 2017 or build tools older than 19.22.

Metadata

Metadata

Assignees

No one assigned

    Labels

    os-windowsstage1The process of building from source via WebAssembly and the C backend.upstreamAn issue with a third party project that Zig uses.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions