From 97192a8055b4f834301f89e662cdac22b69ac73e Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 3 Nov 2022 20:02:07 +0000 Subject: [PATCH] Set RUST_MIN_STACK for Python tests --- python/tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/tox.ini b/python/tox.ini index 74cc1c554..eaa444646 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -10,6 +10,9 @@ envlist = commands = pytest -n6 --extra-info --reruns 2 --reruns-delay 5 -v -rsXx --ignored --strict-tls {posargs: tests examples} pip wheel . -w {toxworkdir}/wheelhouse --no-deps +setenv = +# Avoid stack overflow when Rust core is built without optimizations. + RUST_MIN_STACK=8388608 passenv = DCC_RS_DEV DCC_RS_TARGET