HomePhabricator

rust-chg: move get_umask() call out of run() function

Authored by yuja.

Description

rust-chg: move get_umask() call out of run() function

run() will be an async function, but get_umask() isn't thread safe.

Differential Revision: https://phab.mercurial-scm.org/D8402

Details

Committed
yujaApr 11 2020, 2:27 AM
Differential Revision
D8402: rust-chg: move get_umask() call out of run() function
Parents
rHG61fda2dbc522: rust-chg: leverage impl trait at argument position
Branches
Unknown
Tags
Unknown