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

Add no_exceptions feature flag #1343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andreiltd
Copy link

What it says on the tin.

Closes: #1317

rib added a commit to EmbarkStudios/cxx that referenced this pull request Apr 24, 2024
We need to use a fork of the cxx crate until something like
dtolnay#1343 can hopefully be merged
upstream but we also don't want to require Windows developers to
have to enable support for symlinks, so we'll instead copy the
syntax directory, similar to what would effectively happen when
the cxx crate is published to crates.io
@ahayzen-kdab
Copy link
Contributor

Note now that the cc crate sets -fno-exceptions on all WASM builds cxx now fails to build when using eg emsdk. rust-lang/cc-rs@e61f4f6

This might become more important, either need a way to read from the env vars to setup the define or maybe a feature like this is the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable exceptions without setting additional env flags
2 participants