]> git.lizzy.rs Git - rust.git/blobdiff - src/etc/get-snapshot.py
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / etc / get-snapshot.py
index faa21ca74df09bda174951da968c9f58570b5ef0..886a84bd819a9ec60dd958ec2746b4d5513d7399 100755 (executable)
@@ -1,4 +1,6 @@
-# Copyright 2011-2013 The Rust Project Developers. See the COPYRIGHT
+#!/usr/bin/env python
+#
+# Copyright 2011-2014 The Rust Project Developers. See the COPYRIGHT
 # file at the top-level directory of this distribution and at
 # http://rust-lang.org/COPYRIGHT.
 #
@@ -50,9 +52,7 @@ triple = sys.argv[1]
 if len(sys.argv) == 3:
   dl_path = sys.argv[2]
 else:
-  # There are no 64-bit Windows snapshots yet, so we'll use 32-bit ones instead, for now
-  snap_triple = triple if triple != "x86_64-w64-mingw32" else "i686-pc-mingw32"
-  snap = determine_curr_snapshot(snap_triple)
+  snap = determine_curr_snapshot(triple)
   dl = os.path.join(download_dir_base, snap)
   url = download_url_base + "/" + snap
   print("determined most recent snapshot: " + snap)