Skip to content

Commit 759c5aa

Browse files
committed
---
yaml --- r: 81117 b: refs/heads/snap-stage3 c: af25f58 h: refs/heads/master i: 81115: 258e81d v: v3
1 parent c67161e commit 759c5aa

File tree

222 files changed

+1492
-883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+1492
-883
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 4c6bf4872012c010f84dc7fa2cdfe87522533f89
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 324418f32bd0d82f20dd79327dff1e3c78b719d2
4+
refs/heads/snap-stage3: af25f58ac3da45899ed65b3af965150c8a90dcda
55
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/AUTHORS.txt

Lines changed: 67 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
Initial author, project lead, target of blame:
2-
3-
Graydon Hoare <[email protected]>
4-
5-
Other authors:
6-
7-
1+
Aaron Laursen <[email protected]>
2+
Aaron Todd <[email protected]>
83
Adam Bozanich <[email protected]>
4+
Adrien Tétar <[email protected]>
95
Aleksander Balicki <[email protected]>
106
Alex Crichton <[email protected]>
117
Alex Rønne Petersen <[email protected]>
128
Alexander Stavonin <[email protected]>
139
Alexei Sholik <[email protected]>
10+
Aljaž "g5pw" Srebrnič <[email protected]>
11+
Anders Kaseorg <[email protected]>
1412
Andreas Gal <[email protected]>
13+
Andreas Martens <[email protected]>
1514
Andrew Dunham <[email protected]>
1615
Andrew Paseltiner <[email protected]>
1716
Anthony Juckel <[email protected]>
1817
Arkaitz Jimenez <[email protected]>
1918
Armin Ronacher <[email protected]>
2019
Ashok Gautham <[email protected]>
20+
Austin King <[email protected]>
2121
Austin Seipp <[email protected]>
2222
Aydin Kim <[email protected]>
2323
@@ -33,7 +33,12 @@ Bilal Husain <[email protected]>
3333
Bill Fallon <[email protected]>
3434
Bill Myers <[email protected]>
3535
Bill Wendling <[email protected]>
36+
Birunthan Mohanathas <[email protected]>
3637
Björn Steinbrink <[email protected]>
38+
blake2-ppc <[email protected]>
39+
Bouke van der Bijl <[email protected]>
40+
Brandon Sanderson <[email protected]>
41+
Brendan Cully <[email protected]>
3742
Brendan Eich <[email protected]>
3843
Brendan Zabarauskas <[email protected]>
3944
Brett Cannon <[email protected]>
@@ -42,7 +47,9 @@ Brian J. Burg <[email protected]>
4247
Brian Leibig <[email protected]>
4348
Bryan Dunsmore <[email protected]>
4449
Caitlin Potter <[email protected]>
50+
4551
Chris Double <[email protected]>
52+
Chris Morgan <[email protected]>
4653
Chris Peterson <[email protected]>
4754
Chris Pressey <[email protected]>
4855
Cody Schroeder <[email protected]>
@@ -52,39 +59,58 @@ Damien Grassart <[email protected]>
5259
Damien Schoof <[email protected]>
5360
Daniel Brooks <[email protected]>
5461
Daniel Farina <[email protected]>
62+
Dan Connolly <[email protected]>
5563
5664
Daniel Luz <[email protected]>
5765
Daniel Micay <[email protected]>
5866
Daniel Patterson <[email protected]>
5967
Daniel Ralston <[email protected]>
68+
Daniel Rosenwasser <[email protected]>
6069
Daniel Ursache Dogariu <[email protected]>
70+
6171
Dave Herman <[email protected]>
72+
David Creswick <[email protected]>
6273
David Forsythe <[email protected]>
74+
David Halperin <[email protected]>
6375
David Klein <[email protected]>
76+
David Manescu <[email protected]>
6477
David Rajchenbach-Teller <[email protected]>
6578
Diggory Hardy <[email protected]>
6679
Dimitri Krassovski <[email protected]>
80+
Dmitry Ermolov <[email protected]>
81+
Do Nhat Minh <[email protected]>
6782
Donovan Preston <[email protected]>
6883
Drew Willcoxon <[email protected]>
6984
Elliott Slaughter <[email protected]>
7085
Elly Fong-Jones <[email protected]>
7186
Eric Holk <[email protected]>
7287
Eric Holmes <[email protected]>
88+
Eric Martin <[email protected]>
89+
Eric Reed <[email protected]>
7390
Erick Tryzelaar <[email protected]>
7491
Erik Rose <[email protected]>
92+
Etienne Millon <[email protected]>
7593
Evan McClanahan <[email protected]>
7694
Fedor Indutny <[email protected]>
7795
Felix S. Klock II <[email protected]>
96+
Flaper Fesp <[email protected]>
97+
Flavio Percoco <[email protected]>
98+
Florian Hahn <[email protected]>
99+
Florian Zeitz <[email protected]>
78100
Francisco Souza <[email protected]>
79101
Franklin Chen <[email protected]>
80102
Gábor Horváth <[email protected]>
81103
82104
Gareth Daniel Smith <[email protected]>
105+
Gary Linscott <[email protected]>
106+
Georges Dubus <[email protected]>
83107
84108
Glenn Willen <[email protected]>
85109
Gonçalo Cabrita <[email protected]>
86110
Graham Fawcett <[email protected]>
87111
Grahame Bowland <[email protected]>
112+
Graydon Hoare <[email protected]>
113+
88114
Haitao Li <[email protected]>
89115
90116
Herman J. Radtke III <[email protected]>
@@ -96,9 +122,11 @@ Ivano Coppola <[email protected]>
96122
Jack Moffitt <[email protected]>
97123
Jacob Harris Cryer Kragh <[email protected]>
98124
Jacob Parker <[email protected]>
125+
99126
Jakub Wieczorek <[email protected]>
100127
James Miller <[email protected]>
101128
James Tranovich <[email protected]>
129+
Jan Kobler <[email protected]>
102130
Jason Orendorff <[email protected]>
103131
Jed Davis <[email protected]>
104132
Jeff Balogh <[email protected]>
@@ -113,35 +141,48 @@ Jesse Ruderman <[email protected]>
113141
Jihyun Yu <[email protected]>
114142
Jim Blandy <[email protected]>
115143
144+
Jimmy Zelinskie <[email protected]>
116145
J. J. Weber <[email protected]>
146+
117147
Joe Pletcher <[email protected]>
148+
John Barker <[email protected]>
118149
John Clements <[email protected]>
119150
Jon Morton <[email protected]>
120151
Jonathan Sternberg <[email protected]>
152+
Jordi Boggiano <[email protected]>
121153
Josh Matthews <[email protected]>
122154
Joshua Clark <[email protected]>
123155
Joshua Wise <[email protected]>
124156
Junyoung Cho <[email protected]>
125157
Jyun-Yan You <[email protected]>
126158
Kang Seonghoon <[email protected]>
159+
Keegan McAllister <[email protected]>
127160
Kelly Wilson <[email protected]>
128161
Kevin Atkinson <[email protected]>
129162
Kevin Ballard <[email protected]>
130163
Kevin Cantu <[email protected]>
164+
Kevin Mehall <[email protected]>
165+
Kevin Murphy <[email protected]>
131166
167+
korenchkin <[email protected]>
132168
Kyeongwoon Lee <[email protected]>
169+
Lars Bergstrom <[email protected]>
133170
Laurent Bonnans <[email protected]>
134171
Lawrence Velázquez <[email protected]>
135172
Leah Hanson <[email protected]>
136173
Lennart Kudling <[email protected]>
137174
Lindsey Kuper <[email protected]>
138175
Luca Bruno <[email protected]>
176+
Luis de Bethencourt <[email protected]>
139177
Luqman Aden <[email protected]>
140178
Magnus Auvinen <[email protected]>
141179
Mahmut Bulut <[email protected]>
180+
maikklein <[email protected]>
181+
Makoto Nakashima <[email protected]>
142182
Margaret Meyerhofer <[email protected]>
143183
Marijn Haverbeke <[email protected]>
144184
Mark Lacey <[email protected]>
185+
Mark Sinclair <[email protected]>
145186
Mark Vian <[email protected]>
146187
Marti Raudsepp <[email protected]>
147188
Martin DeMello <[email protected]>
@@ -151,18 +192,27 @@ Matthew McPherrin <[email protected]>
151192
Matthew O'Connor <[email protected]>
152193
Matthijs Hofstra <[email protected]>
153194
Max Penet <[email protected]>
195+
Maxim Kolganov <[email protected]>
196+
Micah Chalmer <[email protected]>
154197
Michael Arntzenius <[email protected]>
155198
Michael Bebenita <[email protected]>
156199
Michael Neumann <[email protected]>
157200
Michael Sullivan <[email protected]>
201+
Michael Woerister <michaelwoerister@gmail>
202+
Mihnea Dobrescu-Balaur <[email protected]>
158203
Mikko Perttunen <[email protected]>
204+
Mukilan Thiagarajan <[email protected]>
159205
Nick Desaulniers <[email protected]>
160206
Niko Matsakis <[email protected]>
207+
208+
Ogino Masanori <[email protected]>
161209
Olivier Saut <[email protected]>
162210
Or Brostovski <[email protected]>
163211
Orphée Lafond-Lummis <[email protected]>
212+
Palmer Cox <[email protected]>
164213
Patrick Walton <[email protected]>
165214
Patrik Kårlin <[email protected]>
215+
Paul Collins <[email protected]>
166216
Paul Stansifer <[email protected]>
167217
Paul Woolcock <[email protected]>
168218
Pavel Panchekha <[email protected]>
@@ -177,25 +227,32 @@ Reuben Morais <[email protected]>
177227
Rick Waldron <[email protected]>
178228
Rob Arnold <[email protected]>
179229
Rob Hoelz <[email protected]>
230+
Robert Knight <[email protected]>
231+
Robert Millar <[email protected]>
180232
Roland Tanglao <[email protected]>
181233
Ron Dahlgren <[email protected]>
182234
Roy Frostig <[email protected]>
183235
Ryan Scheel <[email protected]>
184236
Samuel Chase <[email protected]>
185237
Sander Mathijs van Veen <[email protected]>
186238
Sangeun Kim <[email protected]>
239+
Sankha Narayan Guria <[email protected]>
187240
Saurabh Anand <[email protected]>
241+
Scott Lawrence <[email protected]>
188242
Sean Moon <[email protected]>
189243
Sean Stangl <[email protected]>
190244
Sebastian N. Fernandez <[email protected]>
245+
Sébastien Crozet <[email protected]>
191246
Seth Pink <[email protected]>
192247
Seo Sanghyeon <[email protected]>
193248
194249
SiegeLord <[email protected]>
195250
Simon Barber-Dueck <[email protected]>
196251
Simon Sapin <[email protected]>
252+
sp3d <sp3d@github>
197253
startling <[email protected]>
198254
Stefan Plantikow <[email protected]>
255+
Stepan Koltsov <[email protected]>
199256
Steve Klabnik <[email protected]>
200257
Steven De Coeyer <[email protected]>
201258
Steven Fackler <[email protected]>
@@ -205,6 +262,7 @@ Ted Horst <[email protected]>
205262
Thad Guidry <[email protected]>
206263
Thomas Daede <[email protected]>
207264
Tim Chevalier <[email protected]>
265+
Tim Kuehn <[email protected]>
208266
Tim Taubert <[email protected]>
209267
210268
Tommy M. McGuire <[email protected]>
@@ -213,6 +271,7 @@ Tony Young <[email protected]>
213271
214272
Tycho Sci <[email protected]>
215273
Tyler Bindon <[email protected]>
274+
U-NOV2010\eugals
216275
Uwe Dauernheim <[email protected]>
217276
Vadim Chugunov <[email protected]>
218277
Viktor Dahl <[email protected]>
@@ -225,4 +284,5 @@ Young-il Choi <[email protected]>
225284
Youngmin Yoo <[email protected]>
226285
Youngsoo Son <[email protected]>
227286
Zack Corr <[email protected]>
287+
Zack Slayton <[email protected]>
228288

branches/snap-stage3/configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,8 @@ do
848848
# Disable term-info, linkage of which comes in multiple forms,
849849
# making our snapshots incompatible (#9334)
850850
LLVM_OPTS="$LLVM_OPTS --disable-terminfo"
851+
# Try to have LLVM pull in as few dependencies as possible (#9397)
852+
LLVM_OPTS="$LLVM_OPTS --disable-zlib --disable-libffi"
851853

852854
case "$CFG_C_COMPILER" in
853855
("ccache clang")

branches/snap-stage3/src/etc/combine-tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def scrub(b):
2929
if not ("xfail-test" in s or
3030
"xfail-fast" in s or
3131
"xfail-win32" in s):
32+
if not "pub fn main" in s and "fn main" in s:
33+
print("Warning: no public entry point in " + t)
3234
stage2_tests.append(t)
3335
f.close()
3436

branches/snap-stage3/src/libextra/arc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ struct MutexArcInner<T> { priv lock: Mutex, priv failed: bool, priv data: T }
162162

163163
/// An Arc with mutable data protected by a blocking mutex.
164164
#[no_freeze]
165-
struct MutexArc<T> { priv x: UnsafeArc<MutexArcInner<T>> }
165+
pub struct MutexArc<T> { priv x: UnsafeArc<MutexArcInner<T>> }
166166

167167

168168
impl<T:Send> Clone for MutexArc<T> {
@@ -343,7 +343,7 @@ struct RWArcInner<T> { priv lock: RWLock, priv failed: bool, priv data: T }
343343
* Unlike mutex_arcs, rw_arcs are safe, because they cannot be nested.
344344
*/
345345
#[no_freeze]
346-
struct RWArc<T> {
346+
pub struct RWArc<T> {
347347
priv x: UnsafeArc<RWArcInner<T>>,
348348
}
349349

branches/snap-stage3/src/libextra/test.rs

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ use treemap::TreeMap;
3030

3131
use std::clone::Clone;
3232
use std::comm::{stream, SharedChan, GenericPort, GenericChan};
33-
use std::libc;
3433
use std::io;
3534
use std::result;
3635
use std::task;
@@ -125,8 +124,9 @@ pub type MetricDiff = TreeMap<~str,MetricChange>;
125124
pub fn test_main(args: &[~str], tests: ~[TestDescAndFn]) {
126125
let opts =
127126
match parse_opts(args) {
128-
Ok(o) => o,
129-
Err(msg) => fail!(msg)
127+
Some(Ok(o)) => o,
128+
Some(Err(msg)) => fail!(msg),
129+
None => return
130130
};
131131
if !run_tests_console(&opts, tests) { fail!("Some tests failed"); }
132132
}
@@ -189,7 +189,7 @@ fn optgroups() -> ~[getopts::groups::OptGroup] {
189189
"A.B")]
190190
}
191191

192-
fn usage(binary: &str, helpstr: &str) -> ! {
192+
fn usage(binary: &str, helpstr: &str) {
193193
#[fixed_stack_segment]; #[inline(never)];
194194

195195
let message = fmt!("Usage: %s [OPTIONS] [FILTER]", binary);
@@ -217,20 +217,19 @@ Test Attributes:
217217
tests. This may also be written as #[ignore(cfg(...))] to
218218
ignore the test on certain configurations.");
219219
}
220-
unsafe { libc::exit(0) }
221220
}
222221

223222
// Parses command line arguments into test options
224-
pub fn parse_opts(args: &[~str]) -> OptRes {
223+
pub fn parse_opts(args: &[~str]) -> Option<OptRes> {
225224
let args_ = args.tail();
226225
let matches =
227226
match groups::getopts(args_, optgroups()) {
228227
Ok(m) => m,
229-
Err(f) => return Err(f.to_err_msg())
228+
Err(f) => return Some(Err(f.to_err_msg()))
230229
};
231230

232-
if matches.opt_present("h") { usage(args[0], "h"); }
233-
if matches.opt_present("help") { usage(args[0], "help"); }
231+
if matches.opt_present("h") { usage(args[0], "h"); return None; }
232+
if matches.opt_present("help") { usage(args[0], "help"); return None; }
234233

235234
let filter =
236235
if matches.free.len() > 0 {
@@ -272,7 +271,7 @@ pub fn parse_opts(args: &[~str]) -> OptRes {
272271
logfile: logfile
273272
};
274273

275-
Ok(test_opts)
274+
Some(Ok(test_opts))
276275
}
277276

278277
pub fn opt_shard(maybestr: Option<~str>) -> Option<(uint,uint)> {
@@ -1228,7 +1227,7 @@ mod tests {
12281227
fn first_free_arg_should_be_a_filter() {
12291228
let args = ~[~"progname", ~"filter"];
12301229
let opts = match parse_opts(args) {
1231-
Ok(o) => o,
1230+
Some(Ok(o)) => o,
12321231
_ => fail!("Malformed arg in first_free_arg_should_be_a_filter")
12331232
};
12341233
assert!("filter" == opts.filter.clone().unwrap());
@@ -1238,7 +1237,7 @@ mod tests {
12381237
fn parse_ignored_flag() {
12391238
let args = ~[~"progname", ~"filter", ~"--ignored"];
12401239
let opts = match parse_opts(args) {
1241-
Ok(o) => o,
1240+
Some(Ok(o)) => o,
12421241
_ => fail!("Malformed arg in parse_ignored_flag")
12431242
};
12441243
assert!((opts.run_ignored));

0 commit comments

Comments
 (0)