Skip to content

Commit d7144e3

Browse files
committed
Zig has switched from i386 to x86 to denote 32-bit x86; reflect this.
1 parent 1cba3e7 commit d7144e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/sdk/build/Vezel.Zig.Sdk.Cross.Host.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PropertyGroup>
1212
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-arm64'))">aarch64</HostArchitecture>
1313
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-arm'))">arm</HostArchitecture>
14-
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-x86'))">i386</HostArchitecture>
14+
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-x86'))">x86</HostArchitecture>
1515
<HostArchitecture Condition="$(HostRuntimeIdentifier.EndsWith('-x64'))">x86_64</HostArchitecture>
1616
</PropertyGroup>
1717

src/sdk/build/Vezel.Zig.Sdk.Cross.Target.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PropertyGroup>
1212
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-arm64'))">aarch64</TargetArchitecture>
1313
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-arm'))">arm</TargetArchitecture>
14-
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-x86'))">i386</TargetArchitecture>
14+
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-x86'))">x86</TargetArchitecture>
1515
<TargetArchitecture Condition="$(TargetRuntimeIdentifier.EndsWith('-x64'))">x86_64</TargetArchitecture>
1616
</PropertyGroup>
1717

src/sdk/build/Vezel.Zig.Sdk.Cross.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<PropertyGroup>
2626
<_ArchitecturesCompatible Condition="'$(IsCrossCompilingArchitecture)' == 'false'">true</_ArchitecturesCompatible>
2727
<_ArchitecturesCompatible Condition="'$(HostArchitecture)' == 'aarch64' and '$(TargetArchitecture)' == 'arm'">true</_ArchitecturesCompatible>
28-
<_ArchitecturesCompatible Condition="'$(HostArchitecture)' == 'x86_64' and '$(TargetArchitecture)' == 'i386'">true</_ArchitecturesCompatible>
28+
<_ArchitecturesCompatible Condition="'$(HostArchitecture)' == 'x86_64' and '$(TargetArchitecture)' == 'x86'">true</_ArchitecturesCompatible>
2929
<IsCrossExecuting>false</IsCrossExecuting>
3030
<IsCrossExecuting Condition="'$(IsCrossCompilingSystem)' == 'false' and '$(_ArchitecturesCompatible)' != 'true'">true</IsCrossExecuting>
3131
<IsCrossExecuting Condition="'$(IsCrossCompilingSystem)' == 'true'">true</IsCrossExecuting>

0 commit comments

Comments
 (0)