Skip to content

Commit feecce7

Browse files
committed
Python: Speed up testing
Build editable builds as cargo debug builds, not release. This is faster (because we don't need LTO) and in theory gives additional coverage to debug asserts.
1 parent c7e1b9e commit feecce7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/python/slint/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ dev = ["pdoc>=15.0.1", "pytest>=8.3.4", "ruff>=0.9.6", "pillow>=11.3.0", "numpy>
4747
cache-keys = [{ file = "pyproject.toml" }, { file = "Cargo.toml" }, { file = "**/*.rs" }]
4848
# Uncomment to build rust code in development mode
4949
# config-settings = { build-args = '--profile=dev' }
50+
51+
[tool.maturin]
52+
editable-profile = "dev"

0 commit comments

Comments
 (0)