Compiler crash when building WebAssembly for debug - Assertion !f->isGeneric() failed
#73312
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
Apple's swift-for-wasm-examples works in the stated release mode, but the compiler crashes when building for debug mode.
Reproduction
swift build --triple wasm32-unknown-none-wasm -c debug --product swift- audio
Stack dump
Expected behavior
Building for debug mode shouldn't cause a crash.
Environment
Swift version 6.0-dev (LLVM 320c9b9b7bd4fd8, Swift 49dd95f)
Target: aarch64-unknown-linux-gnu
Docker image:
swiftlang/swift:nightly-jammy
.swift_tag:
swift-DEVELOPMENT-SNAPSHOT-2024-04-25-a
Additional information
Looks to be a similar issue to #69682.
The text was updated successfully, but these errors were encountered: