Skip to content

Implement set_output_kind for Emscripten linker#98358

Closed
hoodmane wants to merge 2 commits intorust-lang:masterfrom
hoodmane:emscripten-dynlib
Closed

Implement set_output_kind for Emscripten linker#98358
hoodmane wants to merge 2 commits intorust-lang:masterfrom
hoodmane:emscripten-dynlib

Conversation

@hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Jun 21, 2022

This is on top of #98149. See also the earlier discussion on #98303. With this PR, a crate that specifies that it is a cdylib will compile to a working Emscripten dynamic library without adding any extra cargo, rustc, or linker flags and without fiddling with environment variables.

@sbc100

r? @petrochenkov

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-emscripten Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL! S-inactive Status: Inactive and waiting on the author. This is often applied to closed PRs. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.