forked from apple/swift
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Cannot build with Cxx interop #4776
Labels
bug
Something isn't working
Comments
kerimcharfi
changed the title
Cyclic dependency with Cxx interop?
Cannot build with Cxx interop
Aug 15, 2022
I haven't took a look on cxx interop yet but looks like wasi-libc violates some assumptions of cxx-interop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: