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

Update BlazorWebAssembly targets to work with updated wasm targets #21022

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

radical
Copy link
Member

@radical radical commented Sep 15, 2021

This PR adds support for
relinking the native wasm files during the build (instead of only during
publish).

This required changes to the targets available, and how they can be
used, and thus require changes in the blazor targets to work with that.

The new setup is explained in
https://github.com/radical/runtime/blob/wasm-build/src/mono/wasm/build/README.md .

Forward ports the changes from release/6.0.1xx

[This PR](dotnet/runtime#57556) adds support for
relinking the native wasm files during the build (instead of only during
publish).

This required changes to the targets available, and how they can be
used, and thus require changes in the blazor targets to work with that.

The new setup is explained in
https://github.com/radical/runtime/blob/wasm-build/src/mono/wasm/build/README.md .

Forward ports the changes from release/6.0.1xx
@dotnet-issue-labeler dotnet-issue-labeler bot added the Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch label Sep 15, 2021
@pranavkm
Copy link
Contributor

Could I get @javiercn to review this? He's much more familiar with the WASM SDK than I am.

Copy link
Member

@javiercn javiercn left a comment

Choose a reason for hiding this comment

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

Looks great!

@radical
Copy link
Member Author

radical commented Sep 21, 2021

@javiercn I cherrypicked the fix that was added in rc2, since it's all related.

@radical
Copy link
Member Author

radical commented Sep 23, 2021

@javiercn Could you please review this with the cherry picked commit?

Copy link
Member

@javiercn javiercn left a comment

Choose a reason for hiding this comment

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

Apologies,

I thought I signed-off.

@radical
Copy link
Member Author

radical commented Sep 23, 2021

Apologies,

I thought I signed-off.

That's on me. You did sign-off, but then I added the short fix that was pushed to rc2, and so I asked for the review again! Thanks :)

@radical radical merged commit 448dd5d into dotnet:main Sep 23, 2021
@radical radical deleted the cp-wasm-update branch September 23, 2021 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, dotnet-watch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants