Make Windows Rust try builder use a Release build

One last try to make the Rust recipe steps work on Windows. I don't know
if this will work.

Change-Id: I117647aca62d5c60c1856eb45c75da650654be19
Bug: 42290446
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/80967
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
diff --git a/infra/config/generated/commit-queue.cfg b/infra/config/generated/commit-queue.cfg
index 697d26a..4f31f70 100644
--- a/infra/config/generated/commit-queue.cfg
+++ b/infra/config/generated/commit-queue.cfg
@@ -234,7 +234,7 @@
         name: "boringssl/try/win64_rel"
       }
       builders {
-        name: "boringssl/try/win64_rust"
+        name: "boringssl/try/win64_rel_rust"
         includable_only: true
       }
       builders {
diff --git a/infra/config/generated/cr-buildbucket.cfg b/infra/config/generated/cr-buildbucket.cfg
index 106c9b3..4436a56 100644
--- a/infra/config/generated/cr-buildbucket.cfg
+++ b/infra/config/generated/cr-buildbucket.cfg
@@ -3894,7 +3894,7 @@
       }
     }
     builders {
-      name: "win64_rust"
+      name: "win64_rel_rust"
       swarming_host: "chromium-swarm.appspot.com"
       dimensions: "cpu:x86-64"
       dimensions: "os:Windows-10"
@@ -3907,6 +3907,7 @@
       properties:
         '{'
         '  "cmake_args": {'
+        '    "CMAKE_BUILD_TYPE": "Release",'
         '    "RUST_BINDINGS": "x86_64-pc-windows-msvc"'
         '  },'
         '  "msvc_target": "x64",'
diff --git a/infra/config/main.star b/infra/config/main.star
index 506d5bc..c66f226 100755
--- a/infra/config/main.star
+++ b/infra/config/main.star
@@ -1010,13 +1010,14 @@
 # TODO(crbug.com/42290446): Verify the recipe is working, then remove this
 # testing-only builder and incorporate the Rust steps on "win64" on CQ and CI.
 cq_builder(
-    "win64_rust",
+    "win64_rel_rust",
     WIN_HOST,
     cq_enabled = False,
     properties = {
         "msvc_target": "x64",
         "cmake_args": {
             "RUST_BINDINGS": "x86_64-pc-windows-msvc",
+            "CMAKE_BUILD_TYPE": "Release",
         },
         "rust": True,
     },