From 963e8e2150c9efbfd7a159817c227a9153ea8850 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Sat, 28 Sep 2024 10:26:13 +0300 Subject: [PATCH] [browser] update incorrect references Signed-off-by: Emmanuel Ferdman --- .github/CODEOWNERS | 1 - docs/coding-guidelines/mono-code-guide.md | 4 ++-- .../building/libraries/webassembly-instructions.md | 4 ++-- docs/workflow/debugging/mono/wasm-debugging.md | 2 +- eng/pipelines/common/evaluate-default-paths.yml | 2 +- src/mono/browser/README.md | 8 ++++---- src/mono/browser/runtime/diagnostics-mock.d.ts | 2 +- src/mono/browser/runtime/dotnet.d.ts | 2 +- src/mono/browser/runtime/rollup.config.js | 4 ++-- src/mono/mono/component/diagnostics_server.c | 2 +- src/mono/wasi/Makefile | 10 +++++----- src/mono/wasi/mono-include/wasm-config.h.in | 2 +- src/mono/wasm/threads.md | 2 +- 13 files changed, 22 insertions(+), 23 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2d544524862e2..47a365e54a516 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -71,7 +71,6 @@ /src/mono/browser @lewing @pavelsavara /src/mono/wasi @lewing @pavelsavara /src/mono/wasm @lewing @pavelsavara -/src/mono/wasm/debugger @thaystg @ilonatommy /src/mono/browser/debugger @thaystg @ilonatommy /src/mono/wasm/build @maraf @akoeplinger /src/mono/wasi/build @maraf @akoeplinger diff --git a/docs/coding-guidelines/mono-code-guide.md b/docs/coding-guidelines/mono-code-guide.md index 334aebab25a95..f5e1b948ab34a 100644 --- a/docs/coding-guidelines/mono-code-guide.md +++ b/docs/coding-guidelines/mono-code-guide.md @@ -285,11 +285,11 @@ As a matter of courtesy, notify the .NET macios and .NET Android teams if changi ### WASM -The WASM and WASI runtimes in [`src/mono/wasm/runtime`](../../src/mono/wasm/runtime) and +The WASM and WASI runtimes in [`src/mono/browser/runtime`](../../src/mono/browser/runtime) and `src/mono/wasi` are effectively external API clients. When possible they should use existing `MONO_API` functions. As a matter of expedience, the wasm project has sometimes taken advantage of static linking by -adding declarations of internal Mono functions in `src/mono/wasm/runtime/driver.c` and directly +adding declarations of internal Mono functions in `src/mono/browser/runtime/driver.c` and directly calling Mono internals. In general new code should not do this. When modifying existing code, mysterious WASM failures may diff --git a/docs/workflow/building/libraries/webassembly-instructions.md b/docs/workflow/building/libraries/webassembly-instructions.md index 891e129a9366c..1f230eedbdef4 100644 --- a/docs/workflow/building/libraries/webassembly-instructions.md +++ b/docs/workflow/building/libraries/webassembly-instructions.md @@ -6,7 +6,7 @@ If you haven't already done so, please read [this document](../../README.md#Buil ## Building -At this time no other build dependencies are necessary to start building for WebAssembly. Emscripten will be downloaded and installed automatically in the build process. To read how to build on specific platforms, see [Building](../../../../src/mono/wasm/README.md#building). +At this time no other build dependencies are necessary to start building for WebAssembly. Emscripten will be downloaded and installed automatically in the build process. To read how to build on specific platforms, see [Building](../../../../src/mono/browser/README.md#building). This document explains how to work on the runtime or libraries. If you haven't already done so, please read [this document](../../README.md#Configurations) to understand configurations. @@ -158,4 +158,4 @@ Open a PR request with the new image. # Test libraries -You can read about running library tests in [Libraries tests](../../../../src/mono/wasm/README.md#libraries-tests). +You can read about running library tests in [Libraries tests](../../../../src/mono/browser/README.md#libraries-tests). diff --git a/docs/workflow/debugging/mono/wasm-debugging.md b/docs/workflow/debugging/mono/wasm-debugging.md index 80b06319eb36e..26b5f62ec478b 100644 --- a/docs/workflow/debugging/mono/wasm-debugging.md +++ b/docs/workflow/debugging/mono/wasm-debugging.md @@ -269,7 +269,7 @@ The name of the script and the location of the `