Fix _RunRustFmt command line length issues and Windows compatibility
* Split file paths into batches using _SplitArgsByCmdLineLimit to avoid command line length limits. * Add shell=False to subprocess call, because depot_tools-bundled subprocess2 wrapper sets it to True on Windows which prevents the use of full 32k command line limit. Change-Id: Ifdd470087e34b1d9de54309c7915691e3e624f0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7062914 Reviewed-by: Scott Lee <ddoman@chromium.org> Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Aleksei Khoroshilov <akhoroshilov@brave.com>changes/14/7062914/2
parent
33eb99bb23
commit
3ed583625f
Loading…
Reference in New Issue