Skip to content

Commit 486d07a

Browse files
committed
build: Temporarily retrieve FreeBSD snapshots from jyyou's server
1 parent f5e1108 commit 486d07a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/etc/get-snapshot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def determine_curr_snapshot(triple):
6464
snap = determine_curr_snapshot(triple)
6565
dl = os.path.join(download_dir_base, snap)
6666
url = download_url_base + "/" + snap
67+
# FIXME: Temporary until we have FreeBSD snapshots on the official server
68+
if "freebsd" in triple:
69+
url = "http://plaslab.cs.nctu.edu.tw/~jyyou/rust" + "/" + snap
6770
print("determined most recent snapshot: " + snap)
6871

6972
if (not os.path.exists(dl)):

src/snapshots.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ S 2012-02-07 6cf40bd
44
macos-i386 0ccb20d7f0039146bcb1771b4a47b40e23793241
55
linux-x86_64 00c5f6205cd411e7565b8c0e0f2f38cfcd9af500
66
macos-x86_64 8ee4ada52c64925471c20e787abc7fbb49ba7b80
7+
freebsd-x86_64 df619d2733da790b7b675993b1b532425211eb7c
78

89
S 2012-02-01 196d69b
910
winnt-i386 25f5906994ea01dc322a4b52b2b9a4b1264a6c2d

0 commit comments

Comments
 (0)