Skip to content

Commit 2c4fda5

Browse files
committed
[ASTGen] Add a comment about the purporse of its Package.swift
1 parent 7265d81 commit 2c4fda5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/ASTGen/Package.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
// swift-tools-version: 5.6
22

3+
// The CMake build system is the only one that's able to produce a working
4+
// compiler. This Package.swift makes it easier to build and work with the
5+
// swiftASTGen library within IDEs, but it's mainly there for editing---it
6+
// won't create something that can be meaningfully executed. Most things with
7+
// the new Swift parser are better implemented/tested within or on top of the
8+
// swift-syntax package.
9+
310
import PackageDescription
411

512
let package = Package(

0 commit comments

Comments
 (0)