Debian Patches

Status for rust-subprocess/0.2.9-3

Patch Description Author Forwarded Bugs Origin Last update
disable-windows.diff no
fix-test-race.diff This patch is based on the upstream commit described below, adapted for
use in the Debian package by Peter Michael Green.

commit 4b6ec61575b22d037e8f572e1fc7cf12383a4499

Fix race condition in env var tests

Acquire the mutex lock before calling set_var() to prevent a race
where one test modifies the environment while another test is running.

Previously, tmp_env_var() called env::set_var() before TmpEnvVar::new()
acquired the MUTATE_ENV lock, allowing interleaving that could cause
flaky test failures.

Fixes #64

diff --git a/src/tests/builder.rs b/src/tests/builder.rs
index bc69bb9f68..a74b48fe35 100644
Hrvoje Niksic <hniksic@gmail.com> no 2026-01-01

All known versions for source package 'rust-subprocess'

Links