Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASI platform build issue for OGGraph in Swift #38

Open
Kyle-Ye opened this issue Feb 25, 2024 · 0 comments
Open

WASI platform build issue for OGGraph in Swift #38

Kyle-Ye opened this issue Feb 25, 2024 · 0 comments

Comments

@Kyle-Ye
Copy link
Member

Kyle-Ye commented Feb 25, 2024

Hitting swift compiler internal assertion. And the current swift-wasm toolchain is build with assertion enabled so we'll get a crash here.

RangeText="OGGraph.typeIndex(
            ctx: context,
            body: Body.self,
            valueType: OGTypeID(Value.self),
            flags: flags,
            update: update
        "
  argument value: %21 = argument of bb2 : $Unmanaged<OGGraphContext> // user: %22
  argument type: $Unmanaged<OGGraphContext>
  parameter type: $OGGraphContext
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.

Tracked via swiftwasm/swift#5569

Update: This will also effect Linux platform with assertion enabled toolchain(eg. nightly toolchain)

@Kyle-Ye Kyle-Ye added bug Something isn't working help wanted Extra attention is needed platform: WASM build issue and removed bug Something isn't working labels Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant