From a90ee2476dea1cc31c6a972c1e40ff140ee3e5b4 Mon Sep 17 00:00:00 2001 From: Nicholas Shahan Date: Tue, 17 Mar 2026 01:47:39 -0700 Subject: [PATCH] [docs] Clarify emscripten instructions Add an explanation for why one might want or need to pull the emscripten SDK. Change-Id: I243c97898f715499f2edd4b84cdef0594948732e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/488382 Reviewed-by: Martin Kustermann Commit-Queue: Martin Kustermann Auto-Submit: Nicholas Shahan --- docs/Building.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/Building.md b/docs/Building.md index e167797662f..7286054877d 100644 --- a/docs/Building.md +++ b/docs/Building.md @@ -86,12 +86,13 @@ fetch dart Dart SDK uses `gclient` to manage dependencies which are described in the `DEPS` file. If you switch branches or update `sdk` checkout you need to run `gclient sync` to bring dependencies in sync with the SDK version. -Note: If you do not have emscripten, you can update your `.gclient` file to pull emscripten: -``` - "custom_vars": { - "download_emscripten": True, - }, -``` +> [!NOTE] +> To run tests for `dart:ffi` support in dart2wasm one needs the emscripten sdk to build C code into a wasm module. If you need to run these tests locally and do not have emscripten, you can update your `.gclient` file to pull emscripten: +> ``` +> "custom_vars": { +> "download_emscripten": True, +> }, +> ```