diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2024-12-05 03:45:05 +0000 | 
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2024-12-05 03:45:05 +0000 | 
| commit | 898d75122f9998205516759022b740e873e30dcc (patch) | |
| tree | 2f8f844ea88560085ec8a53ddd02a97ee24adb6d /src/bootstrap/bootstrap.py | |
| parent | a89f340efed5112eda108150ccc47f329aacc0e4 (diff) | |
| download | rust-898d75122f9998205516759022b740e873e30dcc.tar.gz rust-898d75122f9998205516759022b740e873e30dcc.zip | |
Update comments on Windows job objects
Diffstat (limited to 'src/bootstrap/bootstrap.py')
| -rw-r--r-- | src/bootstrap/bootstrap.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 762f4e653e9..9ef9ccec193 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -1184,6 +1184,8 @@ def bootstrap(args): args = [build.bootstrap_binary()] args.extend(sys.argv[1:]) env = os.environ.copy() + # The Python process ID is used when creating a Windows job object + # (see src\bootstrap\src\utils\job.rs) env["BOOTSTRAP_PARENT_ID"] = str(os.getpid()) env["BOOTSTRAP_PYTHON"] = sys.executable run(args, env=env, verbose=build.verbose, is_bootstrap=True) | 
