Skip to content

Conversation

@madsmtm
Copy link
Contributor

@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
Contributor 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
Contributor

@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