build(swift): move 'cLanguageStandard' behind 'targets'

Signed-off-by: JmPotato <ghzpotato@gmail.com>
This commit is contained in:
JmPotato 2024-02-28 18:49:12 +08:00 committed by GitHub
parent e87cf7ef15
commit aeefb99871
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,6 @@ let package = Package(
name: "TreeSitter",
targets: ["TreeSitter"]),
],
cLanguageStandard: .c11,
targets: [
.target(name: "TreeSitter",
path: "lib",
@ -36,5 +35,6 @@ let package = Package(
"src/query.c"
],
sources: ["src/lib.c"]),
]
],
cLanguageStandard: .c11
)