Skip to content

Commit b3555f4

Browse files
committed
WiX: add missing features.json to the toolchain
Package up the features.json into the toolchain distribution. This is consulted by the swift-driver during execution. The test suite execution identified the missing file.
1 parent 2cc8e83 commit b3555f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

platforms/Windows/toolchain.wxs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@
9191
<Directory Id="_usr_libexec" Name="libexec">
9292
</Directory>
9393
<Directory Id="_usr_share" Name="share">
94+
<Directory Id="_usr_share_swift" Name="swift">
95+
</Directory>
9496
</Directory>
9597
</Directory>
9698
</Directory>
@@ -624,6 +626,10 @@
624626
<Component Id="watchos42.json" Directory="_usr_lib_swift_migrator" Guid="0b221d02-2fed-416e-89d2-b18b9c10d662">
625627
<File Id="watchos42.json" Source="$(var.TOOLCHAIN_ROOT)\usr\lib\swift\migrator\watchos42.json" Checksum="yes" />
626628
</Component>
629+
630+
<Component Id="features.json" Directory="_usr_share_swift" Guid="bee4269c-afab-431d-b32e-39cdfec6c5be">
631+
<File Id="features.json" Source="$(var.TOOLCHAIN_ROOT)\usr\share\swift\features.json" Checksum="yes" />
632+
</Component>
627633
</ComponentGroup>
628634

629635
<?ifdef INCLUDE_DEBUG_INFO ?>

0 commit comments

Comments
 (0)