Skip to content

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!

@NobodyXu NobodyXu merged commit aa4a6cf into rust-lang:main Nov 11, 2024
27 checks passed
@github-actions github-actions bot mentioned this pull request Nov 11, 2024
@madsmtm madsmtm deleted the fix-wasm branch November 11, 2024 15:11
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