Skip to content

Conversation

@maraf
Copy link
Member

@maraf maraf commented Mar 28, 2024

  • Never link with diagnostics_tracing
  • Use stubs for debugger and hot_reload for publish, use real components for build (aligns with browser debugger support)
    • Overridable by explicitly setting WasmDebugLevel=1 or 0

Contributes to #96862

@maraf maraf added arch-wasm WebAssembly architecture area-Build-mono os-wasi Related to WASI variant of arch-wasm labels Mar 28, 2024
@maraf maraf added this to the 9.0.0 milestone Mar 28, 2024
@maraf maraf self-assigned this Mar 28, 2024
@dotnet-policy-service
Copy link
Contributor

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

@maraf
Copy link
Member Author

maraf commented Mar 28, 2024

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

This reverts commit d62a165.

# Conflicts:
#	src/mono/wasi/build/WasiApp.targets
@maraf
Copy link
Member Author

maraf commented Apr 2, 2024

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maraf maraf marked this pull request as ready for review April 4, 2024 10:23
@maraf maraf requested a review from akoeplinger as a code owner April 4, 2024 10:23
@maraf maraf requested a review from lewing April 4, 2024 10:23
@maraf

This comment was marked as resolved.

@maraf

This comment was marked as resolved.

@maraf maraf marked this pull request as draft April 8, 2024 10:57
@maraf
Copy link
Member Author

maraf commented Apr 8, 2024

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maraf
Copy link
Member Author

maraf commented Apr 8, 2024

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maraf
Copy link
Member Author

maraf commented Apr 9, 2024

src/mono/wasi/build/WasiApp.targets(264,11): error MSB4057: (NETCORE_ENGINEERING_TELEMETRY=Build) The target "_MonoSelectRuntimeComponents" does not exist in the project.

Seems like MonoTargets are not packed for lib tests.. Okay, wasi lib tests are running without workload, and so mono targets are not there

@maraf
Copy link
Member Author

maraf commented Apr 10, 2024

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maraf
Copy link
Member Author

maraf commented Apr 10, 2024

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maraf
Copy link
Member Author

maraf commented Apr 10, 2024

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@maraf maraf marked this pull request as ready for review April 11, 2024 13:43
@lewing lewing merged commit b194416 into dotnet:main Apr 18, 2024
@maraf maraf deleted the WasiLinkComponents branch April 18, 2024 19:24
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
* Don't link icu for InvariantGlobalization=true

* Don't link debugger for publish

* Revert "Don't link icu for InvariantGlobalization=true"

This reverts commit d62a165.

# Conflicts:
#	src/mono/wasi/build/WasiApp.targets

* Drop in-tree setup. Solve the rest of the components

* Incorporate WasmDebugLevel

* Hook MonoSelectRuntimeComponents. Unify component selection

* Fix merge damage

* Conditional mono targets
@github-actions github-actions bot locked and limited conversation to collaborators May 19, 2024
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 os-wasi Related to WASI variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants