Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: adjust the
-Clean
option to clean before execution
This hoists the cleaning to prior to building the toolchain. This is particularly important as changes in the module format may cause the compiler to crash. Due to the use of Swift in the Swift compiler, we load modules early and a previous run may have left over modules from the last run, which would result in the module attempting to be loaded. This cleans out the extra modules before the toolchain build avoiding that.
- Loading branch information