Skip to content

Commit eb7f9d7

Browse files
committed
Only disable during Release (not PGO)
1 parent 42dd4cd commit eb7f9d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@
578578
<ClCompile Include="..\Objects\unicode_format.c" />
579579
<ClCompile Include="..\Objects\unicodectype.c">
580580
<!-- gh-153668: Temporarily disabled due to a compiler bug -->
581-
<Optimization Condition="$(Platform) == 'ARM64' and $(MSVCHasBrokenARM64UniDbOpt) == 'true'">Disabled</Optimization>
581+
<Optimization Condition="$(Platform) == 'ARM64' and $(Configuration) == 'Release' and $(MSVCHasBrokenARM64UniDbOpt) == 'true'">Disabled</Optimization>
582582
</ClCompile>
583583
<ClCompile Include="..\Objects\unicode_formatter.c" />
584584
<ClCompile Include="..\Objects\unicode_writer.c" />

0 commit comments

Comments
 (0)