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

Fix WASM vs. WASI options #1284

Merged
merged 4 commits into from
Nov 11, 2024
Merged

Fix WASM vs. WASI options #1284

merged 4 commits into from
Nov 11, 2024

Conversation

madsmtm
Copy link
Collaborator

@madsmtm madsmtm commented Nov 10, 2024

I went through all the places where we mention WASI and WASM, and tried to make sense of which places need which options. See also #1126 (comment). Still with the caveat that I have no idea if any of what I'm doing here is correct.

The effect to the options for wasm32-unknown-unknown is that we no longer pass -fPIC, and that we now pass -fno-exceptions.

Fixes #1126.
Fixes #1275.

@madsmtm
Copy link
Collaborator Author

madsmtm commented Nov 10, 2024

@matheus23: Could you test that this actually fixes #1275?

matheus23 added a commit to n0-computer/quinn that referenced this pull request Nov 11, 2024
@matheus23
Copy link

Yeah, can confirm this fixes the compilation compared to latest released cc version.

Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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