Commit Graph

12 Commits

Author SHA1 Message Date
Xaver Gruber b11482355c docs/WebAssembly: adjust WASI stdlib test execution command (#88580)
Explanation: Documentation for WebAssembly: adjust WASI stdlib test execution command. Add `swift-*/bin` to `PATH`, since WASI tests require `sil-opt`.
Scope: documentation only
Risk: no risk, just updating documentation
Testing: Executed WASI stdlib tests locally on Ubuntu.
2026-04-28 15:21:39 +01:00
Xaver Gruber c9b5bb9aa6 build-script: rename WasmStdlib -> WASIStdlib (#88469)
Disambiguation for future Emscripten support.

`grep -riI  --exclude-dir=".git" "wasmstd" .`
and
`grep -riI  --exclude-dir=".git" "wasm-std" .`
both did not find anything after these changes.
2026-04-17 14:13:39 -07:00
Xaver Gruber aeaabdef1c [docs] WebAssembly: adjust compile command (#88129)
Adjust compile command for building WebAssembly without building the
toolchain beforehand.

---------

Co-authored-by: Max Desiatov <m_desiatov@apple.com>
2026-03-26 15:55:37 -07:00
Max Desiatov 2c83361bb0 docs: Revise WebAssembly.md for wasm64 and threading details (#87436)
Updated `WebAssembly.md` to clarify support for wasm64 and multi-threading features.
2026-02-24 08:28:07 +00:00
Max Desiatov a71c1836c7 docs/Wasm: remove incompatible --libcxx flags for build-script (#86017)
Freshly built libc++ introduces issues when building `swift-build`:

```
Undefined symbols for architecture arm64:
  "std::__1::__hash_memory(void const*, unsigned long)", referenced from:
      (anonymous namespace)::CAPIBuildDB::buildUpKeyCache(std::__1::vector<llbuild::core::KeyType, std::__1::allocator<llbuild::core::KeyType>>&) in BuildDB-C-API.cpp.o
      _llb_build_key_make in BuildKey-C-API.cpp.o
      _llb_build_key_make_command in BuildKey-C-API.cpp.o
      _llb_build_key_make_custom_task in BuildKey-C-API.cpp.o
      _llb_build_key_make_custom_task_with_data in BuildKey-C-API.cpp.o
      _llb_build_key_make_directory_contents in BuildKey-C-API.cpp.o
      _llb_build_key_make_filtered_directory_contents in BuildKey-C-API.cpp.o
      ...
ld: symbol(s) not found for architecture arm64
```

<!--
If this pull request is targeting a release branch, please fill out the
following form:

https://github.com/swiftlang/.github/blob/main/PULL_REQUEST_TEMPLATE/release.md?plain=1

Otherwise, replace this comment with a description of your changes and
rationale. Provide links to external references/discussions if
appropriate.
If this pull request resolves any GitHub issues, link them like so:

  Resolves <link to issue>, resolves <link to another issue>.

For more information about linking a pull request to an issue, see:

https://docs.github.com/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
-->

<!--
Before merging this pull request, you must run the Swift continuous
integration tests.
For information about triggering CI builds via @swift-ci, see:

https://github.com/apple/swift/blob/main/docs/ContinuousIntegration.md#swift-ci

Thank you for your contribution to Swift!
-->
2025-12-13 15:31:05 -08:00
Max Desiatov 125a63d349 docs/WebAssembly.md: add Wasm stdlib testing steps (#85947)
Added instructions for building and running Wasm stdlib tests, including filtering options and environment variable usage.
2025-12-11 09:06:42 +00:00
Max Desiatov 6c389fe151 Add instructions for stdlib builds 2025-12-04 21:28:22 +00:00
Max Desiatov b182f239ab Recommend --sccache for Wasm Swift SDK builds 2025-12-04 20:34:13 +00:00
Max Desiatov 2987ec80ec docs/WebAssembly.md: provide Swift SDK installation step 2025-09-19 17:30:16 +01:00
Max Desiatov c2ca497571 docs/WebAssembly.md: update Swift SDK build instructions
Swift SDKs require Swift SDK Generator to be built with its dependencies. Additionally, now that tests for Wasm stdlib run by default, we should include required tools. Embedded Swift build is also enabled in the documented invocation.
2025-09-19 16:36:48 +01:00
Yuta Saito 9fd1baf666 docs/WebAssembly.md: Add instructions for building Swift SDK for WebAssembly
Also update the notes on the relative pointers in WebAssembly to
reflect the current implementation.
2024-09-17 12:28:03 +00:00
Max Desiatov e524b1cb62 docs: Add WebAssembly.md describing target implementation details (#33723)
Only general intro and the "Relative Pointers" section are added to get started. More sections to be added in the future after preliminary feedback on this document is gathered.

Related to SR-9307
2020-09-03 11:24:20 +01:00