Skip to content

Commit 3055b68

Browse files
committed
Use swift-frontend from the host for SupportedFeatures.json
Addresses rdar://71282911
1 parent 6f73933 commit 3055b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/driver/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
1919
set(INT_FEATURE_FILE "${SWIFT_RUNTIME_OUTPUT_INTDIR}/SupportedFeatures.json")
2020
add_custom_command(TARGET swift-frontend POST_BUILD
2121
COMMAND "${CMAKE_COMMAND}" "-E" "touch" "${DUMMY_SWIFT_INPUT}"
22-
COMMAND "${SWIFT_RUNTIME_OUTPUT_INTDIR}/swift-frontend"
22+
COMMAND "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/swift-frontend"
2323
"-emit-supported-features" "-o"
2424
"${INT_FEATURE_FILE}"
2525
"${DUMMY_SWIFT_INPUT}")

0 commit comments

Comments
 (0)