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] marshling call to assembly entrypoint via new interop #73156

Merged
merged 20 commits into from
Aug 4, 2022

Conversation

pavelsavara
Copy link
Member

@pavelsavara pavelsavara commented Aug 1, 2022

  • added JavaScriptExports.CallEntrypoint replacing legacy mono_bind_assembly_entry_point
  • moved legacy imports and split RuntimeHelpers
  • simplified dotnet-legacy.d.ts
  • set_arg_type on manually written JavaScriptExports calls

…d_assembly_entry_point`

- moved legacy imports and split `RuntimeHelpers`
@pavelsavara pavelsavara added this to the 7.0.0 milestone Aug 1, 2022
@pavelsavara pavelsavara requested review from kg and maraf August 1, 2022 14:38
@pavelsavara pavelsavara self-assigned this Aug 1, 2022
@ghost
Copy link

ghost commented Aug 1, 2022

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

Issue Details
  • added JavaScriptExports.CallEntrypoint replacing legacy mono_bind_assembly_entry_point
  • moved legacy imports and split RuntimeHelpers
Author: pavelsavara
Assignees: pavelsavara
Labels:

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

Milestone: 7.0.0

@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

src/mono/wasm/runtime/run.ts Outdated Show resolved Hide resolved
pavelsavara and others added 3 commits August 3, 2022 11:41
…stem/Runtime/InteropServices/JavaScript/Interop/JavaScriptExports.cs

Co-authored-by: Katelyn Gadd <kg@luminance.org>
@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

/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 August 3, 2022 21:44
@pavelsavara
Copy link
Member Author

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

# Conflicts:
#	src/mono/wasm/runtime/dotnet.d.ts
#	src/mono/wasm/runtime/exports.ts
#	src/mono/wasm/runtime/imports.ts
#	src/mono/wasm/runtime/managed-exports.ts
#	src/mono/wasm/runtime/net6-legacy/method-calls.ts
#	src/mono/wasm/runtime/startup.ts
pavelsavara and others added 4 commits August 4, 2022 09:47
…stem/Runtime/InteropServices/JavaScript/Interop/JavaScriptExports.cs

Co-authored-by: Marek Fišera <mara@neptuo.com>
…stem/Runtime/InteropServices/JavaScript/Interop/JavaScriptExports.cs

Co-authored-by: Marek Fišera <mara@neptuo.com>
…stem/Runtime/InteropServices/JavaScript/Interop/JavaScriptExports.cs

Co-authored-by: Marek Fišera <mara@neptuo.com>
@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

pavelsavara commented Aug 4, 2022

WebAssembly.Browser.HotReload.Test
"MONO_WASM: onConfigLoaded() failed: {}"

is #73330 fix should be #73366

System.Text.Json.Tests
System.NotSupportedException : The deserialization constructor for type 'System.Tuple`1[System.Int32]' contains parameters with null names.

is #73347

Debugger failures are #73342

@pavelsavara pavelsavara merged commit 44cb67e into dotnet:main Aug 4, 2022
@lewing
Copy link
Member

lewing commented Aug 14, 2022

for 8 we should consider emitting a Task<int> wrapper directly.

@ghost ghost locked as resolved and limited conversation to collaborators Sep 14, 2022
@pavelsavara pavelsavara deleted the wasm_drop_legacy_entrypoint branch November 29, 2022 16:22
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.

5 participants