Uh oh!
There was an error while loading. Please reload this page.
[browser] legacy JS interop optional via WasmEnableLegacyJsInterop - managed - #82826
Conversation
ghost
commented
Mar 1, 2023
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsAllow opt-in trimming of legacy interop from managed libraries by Based on discussion with @marek-safar here #79622 (comment)
|
5f07d4b to
9d86facCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
83c6417 to
82f8b47Comparepavelsavara
commented
Mar 3, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Mar 3, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
209942f to
3afdb87Comparepavelsavara
commented
Mar 3, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Uh oh!
There was an error while loading. Please reload this page.
pavelsavara
commented
Mar 3, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Mar 6, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Mar 7, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
pavelsavara
commented
Mar 7, 2023
@radical please review, I think it's ready |
Uh oh!
There was an error while loading. Please reload this page.
pavelsavara
commented
Mar 8, 2023
/azp run runtime-wasm |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Allow opt-in trimming of legacy interop from managed libraries
WasmEnableLegacyJsInteropMSBuild property. Default true for now.ILLink.Descriptors.LegacyJsInterop.xmland use is whenWasmEnableLegacyJsInterop==trueSystem.Runtime.InteropServices.JavaScript.LegacyExportsfrom trimmingmono_wasm_pthread_on_pthread_attachedlinking issue by reverting small part of [browser] legacy JS interop optional via WasmEnableLegacyJsInterop - native #82834This 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