mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We have been using the host LLVM build directory to configure the Wasm Swift stdlib. This has been working fine so far as the stdlib build is configured with `CMAKE_SYSTEM_NAME` having host system name. However, we fixed the stdlib build to use `WASI` as the system name properly in the previous commit. This exposed the issue that the host LLVM build directory is not suitable for configuring the stdlib build.
swift_build_support
swift_build_support is a Python module containing functions and data
structures used by the Swift build script.
You may run unit tests for swift_build_support from the command line:
$ python3 utils/swift_build_support/run_tests.py