Skip to content

Commit

Permalink
pass CHGDISABLE to rustclink action
Browse files Browse the repository at this point in the history
Summary: See previous diff for context.

Reviewed By: blackm00n

Differential Revision: D65478146

fbshipit-source-id: 0c555993b7da9516247fa479f0f103c312057701
  • Loading branch information
Yury Samkevich authored and facebook-github-bot committed Nov 7, 2024
1 parent e5559b6 commit 9284e6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rust/tools/rustc_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ async def main() -> int:
"SYSROOT_MULTIPLEXER_DEBUG",
# Required on Windows for getpass.getuser() to work.
"USERNAME",
# Option to disable hg pre-fork client.
# We might pass it to avoid long-running process created inside a per-action cgroup.
# Such long-running process make it impossible to clean up systemd slices.
# Context https://fb.workplace.com/groups/mercurialusers/permalink/2901424916673036/
"CHGDISABLE",
]
if k in os.environ
}
Expand Down

0 comments on commit 9284e6c

Please sign in to comment.