mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This new flag makes it easy to build Swift cross-compilation toolchains, by disabling cross-compilation of all host tools, like the Swift compiler and various macros, building on prior pulls #38441 and #82163. Also, add two class methods to the Testing macros product so it works with #83260.
build_swift
The build_swift module contains data-structures and functions used by
the Swift build-script.
Unit Tests
You may run the unit test suite using the command:
$ python3 utils/build_swift/run_tests.py