Skip to content

Commit 1af8ab9

Browse files
committed
Force MSVC
1 parent cff59e7 commit 1af8ab9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ archs = "auto64"
9191
# Disable assertion rewriting since that sometimes has issues on PyPy.
9292
before-test = "pip install -r test-requirements.txt"
9393
test-command = 'pytest --assert=plain -m "not slow" {project}/tests'
94+
[tool.cibuildwheel.config-settings-windows]
95+
setup-args = "--vsenv" # Use MSVC, not MinGW
9496

9597
[tool.pytest.ini_options]
9698
markers = [

0 commit comments

Comments
 (0)