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

[wasm] Enable relinking of the wasm binary at build time #43783

Closed
CoffeeFlux opened this issue Oct 23, 2020 · 2 comments
Closed

[wasm] Enable relinking of the wasm binary at build time #43783

CoffeeFlux opened this issue Oct 23, 2020 · 2 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono size-reduction Issues impacting final app size primary for size sensitive workloads
Milestone

Comments

@CoffeeFlux
Copy link
Contributor

This lets us minimize the app size, and in particular lets us potentially link out a bunch of code held alive by unused pinvokes and dependencies.

It will require emscripten to be present on user machines and expands the size of the runtime pack.

cc: @vargaz

@CoffeeFlux CoffeeFlux added arch-wasm WebAssembly architecture area-Build-mono labels Oct 23, 2020
@CoffeeFlux CoffeeFlux added this to the 6.0.0 milestone Oct 23, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Oct 23, 2020
@CoffeeFlux CoffeeFlux removed the untriaged New issue has not been triaged by the area owner label Oct 23, 2020
@CoffeeFlux
Copy link
Contributor Author

This is currently implemented with AOT specifically for the console sample, and needs another option to get that working without AOT as well. For broader usage, we're still figuring out the right way to plumb it through msbuild.

@marek-safar marek-safar added the size-reduction Issues impacting final app size primary for size sensitive workloads label Dec 17, 2020
@CoffeeFlux
Copy link
Contributor Author

Fixed by #45072

@ghost ghost locked as resolved and limited conversation to collaborators Feb 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono size-reduction Issues impacting final app size primary for size sensitive workloads
Projects
None yet
Development

No branches or pull requests

4 participants