Skip to content

WASI platform build issue for OGGraph in Swift #38

Open
@Kyle-Ye

Description

@Kyle-Ye

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions