mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This patch introduces `--enable-experimental-noncopyable-generics` for the build script. It replaces `--swift-stdlib-experimental-noncopyable-generics` The old build option only enables the feature when building the stdlib, but if we've built the stdlib with NoncopyableGenerics, the compiler should be hardwired to have that feature enabled, too. This patch also introduces the `noncopyable_generics` lit parameter, so that tests assuming the system was built with the feature can live in-tree and be tested, if they specify `REQUIRES: noncopyable_generics`.
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