Skip to content

Fix InvalidInstruction on windows CPUs that do not support POPCNT - #27803

Merged
MichaReiser merged 3 commits into
mainfrom
micha/restore-mimalloc-v2
Aug 17, 2026
Merged

Fix InvalidInstruction on windows CPUs that do not support POPCNT#27803
MichaReiser merged 3 commits into
mainfrom
micha/restore-mimalloc-v2

Conversation

@MichaReiser

@MichaReiser MichaReiser commented Aug 17, 2026

Copy link
Copy Markdown
Member

Summary

Restore mimalloc v2 because v3.3.2 can crash on Windows CPUs that do not support POPCNT.
Fixes astral-sh/ruff-vscode#1148.

@MichaReiser MichaReiser added bug Something isn't working windows Specific to the Windows platform labels Aug 17, 2026
@MichaReiser MichaReiser changed the title Restore mimalloc v2 for older Windows CPUs Fix InvalidInstruction abort on windows on systems using older CPUs Aug 17, 2026
@MichaReiser MichaReiser changed the title Fix InvalidInstruction abort on windows on systems using older CPUs Fix InvalidInstruction on windows CPUs that do not support POPCNT Aug 17, 2026
@MichaReiser
MichaReiser marked this pull request as ready for review August 17, 2026 06:57
@MichaReiser
MichaReiser enabled auto-merge (squash) August 17, 2026 06:57
@MichaReiser
MichaReiser merged commit 3fd6039 into main Aug 17, 2026
56 checks passed
@MichaReiser
MichaReiser deleted the micha/restore-mimalloc-v2 branch August 17, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working windows Specific to the Windows platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The latest ruff executeable failed on both vscode extension and powershell integrated terminal.

1 participant