Skip to content

Conversation

@pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Mar 1, 2023

Allow opt-in trimming of legacy interop from managed libraries

This change doesn't disable the legacy interop for any scenario. There would be follow-up PR.

After Blazor change is merged, we could make the feature opt-out also for them.

See also discussion with @marek-safar

@pavelsavara pavelsavara added this to the 8.0.0 milestone Mar 1, 2023
@pavelsavara pavelsavara self-assigned this Mar 1, 2023
@ghost
Copy link

ghost commented Mar 1, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Allow opt-in trimming of legacy interop from managed libraries by FeatureWasmLegacyJsInterop MSBuild property.

Based on discussion with @marek-safar here #79622 (comment)

Author: pavelsavara
Assignees: pavelsavara
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript

Milestone: 8.0.0

@pavelsavara pavelsavara changed the title [browser] managed legacy JS interop optional via FeatureWasmLegacyJsInterop [browser] legacy JS interop optional via WasmEnableLegacyJsInterop - managed Mar 2, 2023
@pavelsavara pavelsavara force-pushed the browser_managed_legacy_interop branch from 83c6417 to 82f8b47 Compare March 3, 2023 14:43
@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara pavelsavara force-pushed the browser_managed_legacy_interop branch from 209942f to 3afdb87 Compare March 3, 2023 19:35
@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara pavelsavara marked this pull request as ready for review March 3, 2023 19:44
@pavelsavara pavelsavara requested review from kg and lewing as code owners March 3, 2023 19:44
@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@pavelsavara pavelsavara requested a review from radical March 3, 2023 23:25
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

pavelsavara commented Mar 6, 2023

CI failure NuGet-Migrations is is #80619
CI failure Parse Error: Invalid header value char is is #82880

undefined symbol: mono_wasm_pthread_on_pthread_attached needs to be solved here

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member Author

@radical please review, I think it's ready

Copy link
Member

@radical radical left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara pavelsavara merged commit 6c836e8 into dotnet:main Mar 8, 2023
maraf pushed a commit that referenced this pull request Mar 21, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 7, 2023
@pavelsavara pavelsavara deleted the browser_managed_legacy_interop branch September 2, 2024 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants