Skip to content

Commit 7995528

Browse files
committed
There are no 64-bit Windows snapshots yet, so we'll use 32-bit ones instead.
1 parent 1e33589 commit 7995528

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/etc/get-snapshot.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def unpack_snapshot(triple, dl_path):
5050
if len(sys.argv) == 3:
5151
dl_path = sys.argv[2]
5252
else:
53-
snap = determine_curr_snapshot(triple)
53+
# There are no 64-bit Windows snapshots yet, so we'll use 32-bit ones instead, for now
54+
snap_triple = triple if triple != "x86_64-w64-mingw32" else "i686-pc-mingw32"
55+
snap = determine_curr_snapshot(snap_triple)
5456
dl = os.path.join(download_dir_base, snap)
5557
url = download_url_base + "/" + snap
5658
print("determined most recent snapshot: " + snap)

0 commit comments

Comments
 (0)