Start building with rustc on the Mac and Windows bots

We roll Rust from 6e0115778b0aedc90b59e035476c38e1b8c5c29b-2 to ac4379fea9e83465d814bb05005689f49bd2141e-1

And get Rust starting to build on Mac and Windows trybots. It doesn't
fully succeed but we can address more things in followup CLs.

Change-Id: Ia9822c8b24a5973e1ccef942944c3465075b119f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4310857
Reviewed-by: Collin Baker <[email protected]>
Commit-Queue: danakj <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1116627}
NOKEYCHECK=True
GitOrigin-RevId: 712cb486c1b2c53992fd329484c62e433df3945d
diff --git a/generate_bash_script.py b/generate_bash_script.py
index 60cdc71..91cbc41 100755
--- a/generate_bash_script.py
+++ b/generate_bash_script.py
@@ -54,7 +54,11 @@
             if exe_name in exes:
                 raise ValueError("Duplicate entry ('{}') in {}".format(
                     exe_name, input_filepath))
-            exes.add(exe_name)
+            if sys.platform == 'win32':
+                suffix = ".exe"
+            else:
+                suffix = ""
+            exes.add(f'{exe_name}{suffix}')
     if not exes:
         raise ValueError("Unexpectedly empty file: {}".format(input_filepath))
     exes = sorted(exes)  # For stable results in unit tests.