swift
swift copied to clipboard
Cannot build with Cxx interop
Describe the bug Cannot compile simple Cxx interop hello world project, when -target wasm32-unknown-wasi is set. This works: swiftc helloword.swift -o ubu.wasm -enable-experimental-cxx-interop -I ./helloCxx -Xfrontend -validate-tbd-against-ir=none This doesn't work: swiftc -target wasm32-unknown-wasi helloword.swift -o ubu.wasm -enable-experimental-cxx-interop -I ./helloCxx -Xfrontend -validate-tbd-against-ir=none
Screenshots

Environment (please fill out the following information)
- OS: Ubuntu 20.04 WSL
I haven't took a look on cxx interop yet but looks like wasi-libc violates some assumptions of cxx-interop