Skip to content

Rolling up PRs in the queue #21473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 315 commits into from
Jan 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
39e19cc
tests: Tidy and allows multi-line htmldocck commands.
lifthrasiir Jan 17, 2015
69e9b46
fix rollup
steveklabnik Jan 17, 2015
6ab95bd
s/deriving/derives in Comments/Docs
estsauver Jan 12, 2015
4d31700
Update rustdoc man page
Jan 17, 2015
97a2b26
Remove Send bound from Error trait.
michaelsproul Jan 17, 2015
6553c0f
Fix more rollup problems
steveklabnik Jan 17, 2015
f4f10db
auto merge of #21300 : steveklabnik/rust/rollup, r=steveklabnik
bors Jan 17, 2015
a8b2f17
Use singular they in the serialize::json docs
fenhl Jan 17, 2015
5aa2f9c
Undo accidental change unrelated to my PR
fenhl Jan 17, 2015
ac4baca
Passable nano syntax highlighting
look Jan 17, 2015
ffdf111
Implement the error trait for errors in std::sync.
michaelsproul Jan 17, 2015
8da284a
docs: typo
Jan 17, 2015
a32249d
libsyntax: uint types to usize
pshc Jan 17, 2015
b6b8880
Improve the error message when source file cannot be read
Jan 17, 2015
08e712e
add append to vec with tests
JeffBelgum Jan 17, 2015
fa01251
rustc: print filename if file cannot be written
stepancheg Jan 18, 2015
f355747
Increase docs search box delay
Jan 18, 2015
89b80fa
Register new snapshots.
eddyb Jan 16, 2015
fa1d63a
mk: Revert hack to pull the bootstrap key from the snapshot bins
brson Jan 17, 2015
056f8f0
mk: Don't set RUSTC_BOOTSTRAP_KEY on -dev and -nightly. Not needed
brson Jan 17, 2015
6f3a80e
Set allow(unstable) in crates that use unstable features
brson Jan 17, 2015
3e38926
configure: Use a more portable 'date' command to create the bootstrap…
brson Jan 17, 2015
1f46ae2
Add allow(unstable) to tests that need it
brson Jan 17, 2015
9035ba5
Add allow(unstable) to driver.rs
brson Jan 17, 2015
5cfbecf
Add allow(unstable) to more tests
brson Jan 17, 2015
8b2335a
Add allow(unstable) to librustc_privacy
brson Jan 17, 2015
2b6efbf
fix an error about the static lifetime
glacjay Jan 18, 2015
6da8827
auto merge of #21330 : JeffBelgum/rust/collections-reform-issue-19986…
bors Jan 18, 2015
2c1d1fb
tests: Warn on the trailing backslash in the template.
lifthrasiir Jan 18, 2015
d5c8365
libsyntax: rename functions from uint to usize
pshc Jan 17, 2015
a833337
auto merge of #21288 : brson/rust/snaps, r=alexcrichton
bors Jan 18, 2015
7b4c508
rustdoc: Add Show impls to more clean types
tomjakubowski Jan 14, 2015
d47a113
Remove some dead code from rustc::middle::ty
tomjakubowski Jan 14, 2015
aaf595e
rustdoc: Separate associated types from methods
tomjakubowski Jan 14, 2015
e930aeb
rustdoc: Accept string source in core::run_core
tomjakubowski Jan 18, 2015
8224e0e
rustdoc: Add some re-exports
tomjakubowski Jan 18, 2015
159236a
rustdoc: Handle associated types on inlined impls
tomjakubowski Jan 18, 2015
d0eb85d
Redo Segmented stack support for DragonFly
mneumann Jan 18, 2015
30f081e
auto merge of #21276 : huonw/rust/trait-suggestion-nits, r=nikomatsakis
bors Jan 18, 2015
23a553a
Improve the vec![...] macro with UFCS.
eddyb Jan 18, 2015
dcaeb6a
auto merge of #20901 : dgrunwald/rust/update-token-can-begin-expr, r=…
bors Jan 18, 2015
66003c0
docs: replace deprecated integer suffixes from examples
Jan 18, 2015
17ffe51
Remove redundant "Right now"
kimroen Jan 18, 2015
5431727
docs: replacing more deprecated integer suffixes
Jan 18, 2015
ab73d45
fix formatting
glacjay Jan 18, 2015
3f0cc80
Make output type in ast::FnDecl optional
sanxiyn Jan 18, 2015
e28da7a
Fix std::marker.
WiSaGaN Jan 18, 2015
d053ccb
std::dynamic_lib: Fix Windows error handling
klutzy Jan 10, 2015
2d30f22
syntax: allow bare sequences in lhs for follow checking
emberian Jan 18, 2015
f7fe249
Remove associated_types gate from std::ops docs
steveklabnik Jan 18, 2015
d1b1b62
Ignore NOTEs when Travis runs `make tidy`
iKevinY Jan 18, 2015
e3d099d
Fix #21356
aochagavia Jan 18, 2015
c821e5c
Add test for issue #21356
aochagavia Jan 18, 2015
440d63b
rustdoc: Improve diagnostics on lockfile failures
alexcrichton Jan 17, 2015
0859e5e
Use `zero_mem` instead of a zerointializer for `init` intrinsic
Aatch Jan 17, 2015
9c5173f
Add test to catch performance regressions
Aatch Jan 17, 2015
25a4adc
Reduce size of array in test case to 1MB
Aatch Jan 18, 2015
21f4483
Use 'in' instead of 'find()' in tidy.py
iKevinY Jan 18, 2015
fccc2cf
doc: typo fix
tshepang Jan 19, 2015
bd8a43c
Auto merge of #21267 - danslapman:master, r=alexcrichton
bors Jan 19, 2015
c034f4a
Make date of nightly in rustup match server TZ
estsauver Jan 17, 2015
46366fa
rustc_resolve: De-indent by breaking out of match
alexcrichton Jan 16, 2015
2549cbe
rustc_resolve: Do not allow mods to shadow types
alexcrichton Jan 16, 2015
3121c04
Fix typedef/module name conflicts in the compiler
alexcrichton Jan 16, 2015
70f7165
std: Stabilize TypeId and tweak BoxAny
alexcrichton Jan 15, 2015
7a24b3a
libsyntax: int => i32 in appropriate places
pshc Jan 17, 2015
5913374
libsyntax: int types -> isize
pshc Jan 18, 2015
3c32cd1
libsyntax: 0u -> 0us, 0i -> 0is
pshc Jan 18, 2015
2c2480d
Replace `0 as *const/mut T` with `ptr::null/null_mut()`
petrochenkov Jan 19, 2015
a674f85
Ranges implement Clone where possible
Diggsey Jan 19, 2015
135cac8
Auto merge of #21099 - sanxiyn:opt-return-ty, r=alexcrichton
bors Jan 19, 2015
b57662a
Fix HMODULE
retep998 Jan 19, 2015
2366dee
Make VecMap::into_iter consume the VecMap
aochagavia Jan 19, 2015
7b87900
Auto merge of #20874 - klutzy:windows-dynamic-lib, r=alexcrichton
bors Jan 19, 2015
abccfa4
Impl Send for Timer on Windows
retep998 Jan 19, 2015
43f2c19
Auto merge of #21282 - Aatch:init-memzero, r=alexcrichton
bors Jan 19, 2015
f015a3b
json-encoder: report error when hash map key is not string or numeric
Jan 10, 2015
d727f99
lower FnMut to FnOnce since json-hack is no longer required
Jan 10, 2015
0478a8c
add unit test for non string/numeric map keys
Jan 10, 2015
a320149
ugly hack to convert BadHashMapKey error to general fmt::Error
Jan 10, 2015
d2623f2
rt: Remove libtime wrappers
klutzy Jan 19, 2015
c3ac929
Add a Drain iterator to VecMap
aochagavia Jan 19, 2015
74e111c
impl Iterator for &mut Iterator and Box<Iterator>
Jan 19, 2015
cda3490
Auto merge of #21269 - alexcrichton:issue-6936, r=pnkfelix
bors Jan 19, 2015
b4090aa
Add test for #21328
aochagavia Jan 19, 2015
8c3d914
Change the title of if statement in trpl book.
loganchien Jan 19, 2015
429c23d
Implement range and range_mut for BTree
pczarn Jan 13, 2015
d837213
Fixes #21033 with accompanying test.
thchittenden Jan 19, 2015
2854f0c
Fix flaky condvar test
sfackler Jan 19, 2015
4968485
remove unnecessary parentheses from range notation
Jan 19, 2015
54c9a46
Auto merge of #20082 - pczarn:btree-bounded-iter, r=Gankro
bors Jan 19, 2015
c166017
Fix `make check PLEASE_BENCH=1`
lilyball Jan 19, 2015
4032b85
Auto merge of #21278 - thchittenden:issue-21033-struct-var-pattern-fi…
bors Jan 19, 2015
a09df2c
impl Hash for arrays
Jan 19, 2015
7f8c687
Auto merge of #19490 - oli-obk:json_non_string_key_maps, r=alexcrichton
bors Jan 19, 2015
3c37a95
Updates of the fix
GuillaumeGomez Jan 19, 2015
e0eb3cc
Kill TraitStore
Jan 18, 2015
8e1e0f0
Remove onceness & bounds - they don't do anything.
Jan 18, 2015
65b61ff
Auto merge of #21165 - alexcrichton:second-pass-type-id, r=aturon
bors Jan 19, 2015
e375a89
Auto merge of #21257 - alexcrichton:issue-20064, r=pnkfelix
bors Jan 20, 2015
9006c3c
Auto merge of #21287 - alexcrichton:issue-19872, r=huonw
bors Jan 20, 2015
3bf41da
Auto merge of #21304 - lifthrasiir:htmldocck, r=alexcrichton
bors Jan 20, 2015
ed769bf
Fix up some ‘help’ messages
ftxqxd Jan 20, 2015
d7b30f9
Remove ratchet-bench from configure.
ahmedcharles Jan 19, 2015
ec41785
Remove unsupported test features from compiletest.
ahmedcharles Jan 19, 2015
4f6f7e5
Remove unsupported test features from libtest.
ahmedcharles Jan 19, 2015
9400805
Initial support for aarch64-linux-android
ejjeong Jan 20, 2015
a729a40
Use assume to inform the optimiser about refcount invariants
Aatch Jan 20, 2015
849a38a
Avoid suggesting traits multiple times.
huonw Jan 20, 2015
01d7b8c
Correct small typos in map.rs.
Jan 20, 2015
f2b8404
prettier Buffer::read_until
Jan 16, 2015
ffd8cb7
Auto merge of #21364 - cmr:fix-ttseq-ice, r=alexcrichton
bors Jan 20, 2015
5cd9a69
Forbid coercing &T to &mut T
sanxiyn Jan 20, 2015
a0f86de
Auto merge of #19353 - icorderi:docs/grammar, r=steveklabnik
bors Jan 20, 2015
e361b38
Small fix in TRPL 3.9
steveklabnik Jan 20, 2015
1d8b917
Rollup merge of #20998 - estsauver:20984, r=steveklabnik
barosl Jan 20, 2015
9db869b
Rollup merge of #21280 - timparenti:old-guide-stub-grammar, r=alexcri…
barosl Jan 20, 2015
b7afe5e
Rollup merge of #21355 - alfie:suffix, r=steveklabnik
barosl Jan 20, 2015
d8a8923
Rollup merge of #21294 - alfie:typo, r=steveklabnik
barosl Jan 20, 2015
8f5ab04
Rollup merge of #21302 - gutworth:rm-find-equiv-test, r=brson
barosl Jan 20, 2015
409c997
Rollup merge of #21309 - thorncp:rustdoc-man-page, r=kmcallister
barosl Jan 20, 2015
e63443d
Rollup merge of #21312 - michaelsproul:remove-error-send-bound, r=aturon
barosl Jan 20, 2015
29ece80
Rollup merge of #21314 - fenhl:patch-1, r=steveklbanik
barosl Jan 20, 2015
356c61d
Rollup merge of #21326 - look:nano-syntax-highlighting, r=kmcallister
barosl Jan 20, 2015
b3f6e82
Rollup merge of #21048 - aroben:patch-1, r=steveklabnik
barosl Jan 20, 2015
efa8360
Rollup merge of #21331 - michaelsproul:sync-error-impls, r=alexcrichton
barosl Jan 20, 2015
fa0c2c5
Rollup merge of #21336 - rylev:better-nofile-error, r=brson
barosl Jan 20, 2015
f836f1e
Rollup merge of #21339 - thorncp:api-docs-search, r=alexcrichton
barosl Jan 20, 2015
4419fa3
Rollup merge of #21345 - glacjay:patch-1, r=alexcrichton
barosl Jan 20, 2015
6a5c948
Rollup merge of #21100 - tstorch:small_readability_update, r=alexcric…
barosl Jan 20, 2015
567bf6c
Rollup merge of #21357 - kimroen:patch-1, r=sanxiyn
barosl Jan 20, 2015
33ea011
Rollup merge of #21358 - glacjay:patch-2, r=alexcrichton
barosl Jan 20, 2015
75efb22
Rollup merge of #21359 - WiSaGaN:bugfix/fix_marker, r=alexcrichton
barosl Jan 20, 2015
0efdda3
Rollup merge of #21369 - iKevinY:no-travis-notes, r=sanxiyn
barosl Jan 20, 2015
a79f192
Rollup merge of #21375 - petrochenkov:ssbsl, r=alexcrichton
barosl Jan 20, 2015
c5fd58d
Rollup merge of #21377 - iKevinY:speedy-tidy, r=huonw
barosl Jan 20, 2015
0225f9a
Rollup merge of #21123 - visualfc:master, r=alexcrichton
barosl Jan 20, 2015
adc7afd
Rollup merge of #21380 - tshepang:patch-3, r=steveklabnik
barosl Jan 20, 2015
b958839
Rollup merge of #21386 - Diggsey:issue-21384, r=alexcrichton
barosl Jan 20, 2015
3d6568f
Rollup merge of #21387 - retep998:hmodule, r=alexcrichton
barosl Jan 20, 2015
8d05f6c
Rollup merge of #21388 - aochagavia:collections, r=Gankro
barosl Jan 20, 2015
5b57aa7
Rollup merge of #21399 - kballard:fix-PLEASE_BENCH, r=Gankro
barosl Jan 20, 2015
1d206e2
Rollup merge of #21404 - japaric:hash, r=alexcrichton
barosl Jan 20, 2015
c49d428
Rollup merge of #21424 - sanxiyn:coerce-mut, r=nikomatsakis
barosl Jan 20, 2015
01ae97b
Rollup merge of #21427 - steveklabnik:generics_fix, r=alexcrichton
barosl Jan 20, 2015
9752924
Rollup merge of #21179 - nodakai:reference-mod-to-self, r=huonw
barosl Jan 20, 2015
eace6af
Rollup merge of #20991 - mneumann:llvm-dragonfly-take2, r=alexcrichton
barosl Jan 20, 2015
1f50542
docs: typo
Jan 20, 2015
953f294
rustc: Remove deprecated flags
alexcrichton Jan 20, 2015
953d6df
Make error code registration work again. #19624
brson Jan 16, 2015
0c5225c
Add error codes to rustc_typeck
brson Jan 17, 2015
f68029e
Make fatal errors work with codes, add to typeck
brson Jan 18, 2015
cf629e7
Add error codes to resolve
brson Jan 18, 2015
9f59f7e
Add error codes to rustc
brson Jan 19, 2015
9a4401f
Add some extended errors.
michaelsproul Jan 18, 2015
583c5c5
Auto merge of #20919 - fay-jai:update, r=brson
bors Jan 20, 2015
b6380f5
Kill RacyCell in favor of marking SyncSender explicitly Send.
taralx Jan 20, 2015
9bbfd68
Add assumptions that the pointer is non-null
Aatch Jan 20, 2015
631896d
Test fixes and rebase conflicts
alexcrichton Jan 20, 2015
64914d9
rustc: Remove deprecated lint names
alexcrichton Jan 20, 2015
a7525bc
Add more explanation for why the assumes are there
Aatch Jan 20, 2015
ace2f09
alloc::boxed: enable test
stepancheg Jan 20, 2015
cd631c6
Register snapshot for 9006c3c
flaper87 Jan 20, 2015
970fd74
add stability text like suggested in discussion
sellibitze Jan 20, 2015
8051bd0
Changed rust-mode code for tabs -> spaces
KOMON Jan 20, 2015
876b266
Make multiline errors work with codes
brson Jan 20, 2015
29bd9a0
Auto merge of #21439 - alexcrichton:rollup, r=alexcrichton
bors Jan 20, 2015
00cddb0
also forward Iterator::size_hint()
Jan 20, 2015
9714d3c
tests: uncomment regression tests for 13970, 13971, 13972
emberian Jan 20, 2015
2cc7feb
implement `ExactSizeIterator` for `slice::{Chunks,ChunksMut}`
apasel422 Jan 12, 2015
710dcdc
Auto merge of #21065 - ColonelJ:master, r=brson
bors Jan 21, 2015
eb08650
Display negative trait implementations correctly in rustdoc
Diggsey Jan 21, 2015
ed56c15
remove `NoSendItem` and `NoSyncItem`
Jan 19, 2015
51e28dd
Auto merge of #21395 - sfackler:fix-cvar-test, r=alexcrichton
bors Jan 21, 2015
3cb9fa2
std: Rename Show/String to Debug/Display
alexcrichton Jan 20, 2015
f5e093f
Remove write_metric_diff and supporting code.
ahmedcharles Jan 19, 2015
72ae518
Remove compare_to_old().
ahmedcharles Jan 20, 2015
eb00913
Remove ratchet().
ahmedcharles Jan 20, 2015
8abcbab
Auto merge of #21227 - sellibitze:core-ops-for-references, r=aturon
bors Jan 21, 2015
a55ef3a
debuginfo: Make debuginfo source location assignment more stable (Pt. 1)
michaelwoerister Dec 11, 2014
6869645
Auto merge of #21242 - richo:no-perl, r=brson
bors Jan 21, 2015
d4ced7b
De-mut the parser
sanxiyn Jan 21, 2015
53edd76
Remove feature(import_shadowing).
eddyb Dec 20, 2014
38ac9e3
syntax: merge ast::ViewItem into ast::Item.
eddyb Dec 23, 2014
7cece87
syntax: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Jan 13, 2015
e389ab1
rustc_back: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 23, 2014
cfb63d5
rustc: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 23, 2014
9370ae1
rustc_typeck: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 23, 2014
c91761e
rustc_trans: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 23, 2014
7dbefce
rustc_driver: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 23, 2014
f83a972
rustc_resolve: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 23, 2014
3102b9e
rustdoc: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 26, 2014
838b2ea
docs: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 26, 2014
fba0bf6
Stabilize Index traits and most range notation
aturon Jan 16, 2015
092ba6a
Deprecate slicing methods in favor of notation
aturon Jan 18, 2015
a506d4c
Fallout from stabilization.
aturon Jan 18, 2015
da8023d
Change init-large-type to use child thread
aturon Jan 21, 2015
29e5d8d
Improve quality of String#to_slice() deprecation message
steveklabnik Jan 14, 2015
83af23e
rollup merge of #19913: KOMON/rust-mode-emacs-indentation
alexcrichton Jan 21, 2015
2e9adab
rollup merge of #21053: apasel422/exact
alexcrichton Jan 21, 2015
550255d
rollup merge of #21138: mkpankov/master
alexcrichton Jan 21, 2015
89b2e23
rollup merge of #21157: steveklabnik/deprecation
alexcrichton Jan 21, 2015
41890bf
rollup merge of #21274: estsauver/21270
alexcrichton Jan 21, 2015
b250d9a
rollup merge of #21289: brson/errorcodes
alexcrichton Jan 21, 2015
5da2538
rollup merge of #21333: stepancheg/trans-write-diag
alexcrichton Jan 21, 2015
0c98187
rollup merge of #21340: pshc/libsyntax-no-more-ints
alexcrichton Jan 21, 2015
5123f75
rollup merge of #21342: Diggsey/issue-21310
alexcrichton Jan 21, 2015
0447721
rollup merge of #21354: eddyb/vec-ufcs
alexcrichton Jan 21, 2015
ecc9dcc
rollup merge of #21367: steveklabnik/remove_gate
alexcrichton Jan 21, 2015
5fda9bc
rollup merge of #21368: tomjakubowski/rustdoc-miscellany
alexcrichton Jan 21, 2015
9173797
rollup merge of #21372: arielb1/remove-the-box
alexcrichton Jan 21, 2015
8b10733
rollup merge of #21389: retep998/timer
alexcrichton Jan 21, 2015
ad2c3e8
rollup merge of #21391: klutzy/rt-time-cleanup
alexcrichton Jan 21, 2015
9227db3
rollup merge of #21392: japaric/iter
alexcrichton Jan 21, 2015
e4434f9
rollup merge of #21393: loganchien/fix-if-stmt-doc-title
alexcrichton Jan 21, 2015
4b6a056
rollup merge of #21394: japaric/nonono
alexcrichton Jan 21, 2015
1646707
rollup merge of #21396: japaric/no-parens-in-range
alexcrichton Jan 21, 2015
5d82c0f
rollup merge of #21411: P1start/help-tweaks
alexcrichton Jan 21, 2015
81504f2
rollup merge of #21413: ahmedcharles/remove-test-features
alexcrichton Jan 21, 2015
a6780d8
rollup merge of #21414: ejjeong/aarch64-linux-android
alexcrichton Jan 21, 2015
229243c
rollup merge of #21418: Aatch/assume-refcount
alexcrichton Jan 21, 2015
e4e9a27
rollup merge of #21419: Toby-S/patch-1
alexcrichton Jan 21, 2015
bf77f6c
rollup merge of #21421: huonw/one-suggestion-per-trait
alexcrichton Jan 21, 2015
9ef5484
rollup merge of #21423: oli-obk/prettier_read_until
alexcrichton Jan 21, 2015
28937be
rollup merge of #21429: GuillaumeGomez/macro-fix
alexcrichton Jan 21, 2015
de89dc8
rollup merge of #21433: alfie/typobook
alexcrichton Jan 21, 2015
04a2255
rollup merge of #21437: FlaPer87/snapshot
alexcrichton Jan 21, 2015
2783807
rollup merge of #21438: taralx/kill-racycell
alexcrichton Jan 21, 2015
b5de833
rollup merge of #21441: alexcrichton/rustc-opts
alexcrichton Jan 21, 2015
907db6c
rollup merge of #21444: petrochenkov/null
alexcrichton Jan 21, 2015
efea645
rollup merge of #21446: stepancheg/boxed-test
alexcrichton Jan 21, 2015
e4b81d2
rollup merge of #21447: cmr/master
alexcrichton Jan 21, 2015
87c3ee8
rollup merge of #21457: alexcrichton/issue-21436
alexcrichton Jan 21, 2015
79708e6
rollup merge of #21462: ahmedcharles/remove-ratchet
alexcrichton Jan 21, 2015
9c999c7
rollup merge of #21463: sanxiyn/demut
alexcrichton Jan 21, 2015
139346a
tests: fix fallout of merging ast::ViewItem into ast::Item.
eddyb Dec 26, 2014
652445f
Added some tests for arbitrary ordered view items
Kimundi Jan 2, 2015
5e07f5a
Added another test with success local-item shadowing
eddyb Jan 13, 2015
2d17a33
Deny imports after non-item statements.
eddyb Jan 13, 2015
4ffde08
Test fixes and rebase conflicts
alexcrichton Jan 21, 2015
537889a
Fix type inference problems in tests and docs
aturon Jan 21, 2015
f4df69a
rollup merge of #20642: michaelwoerister/sane-source-locations-pt1
alexcrichton Jan 21, 2015
036d8c4
rollup merge of #21252: nikomatsakis/assoc-type-ice-hunt-take-2
alexcrichton Jan 21, 2015
886c6f3
rollup merge of #21258: aturon/stab-3-index
alexcrichton Jan 21, 2015
df1cddf
rollup merge of #20179: eddyb/blind-items
alexcrichton Jan 21, 2015
ecbee2e
More test fixes and rebase conflicts
alexcrichton Jan 21, 2015
ee253c9
Revert "Add more explanation for why the assumes are there"
alexcrichton Jan 21, 2015
e6f85c2
Revert "Add assumptions that the pointer is non-null"
alexcrichton Jan 21, 2015
91cec5b
Revert "Use assume to inform the optimiser about refcount invariants"
alexcrichton Jan 21, 2015
90af723
Make diagnostic ordering deterministic
alexcrichton Jan 21, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terms.

Longer version:

The Rust Project is copyright 2014, The Rust Project
The Rust Project is copyright 2015, The Rust Project
Developers (given in the file AUTHORS.txt).

Licensed under the Apache License, Version 2.0
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014 The Rust Project Developers
Copyright (c) 2015 The Rust Project Developers

Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ documentation.
1. Make sure you have installed the dependencies:
* `g++` 4.7 or `clang++` 3.x
* `python` 2.6 or later (but not 3.x)
* `perl` 5.0 or later
* GNU `make` 3.81 or later
* `curl`
* `git`
Expand Down
6 changes: 2 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ opt optimize-tests 1 "build tests with optimizations"
opt libcpp 1 "build with llvm with libc++ instead of libstdc++ when using clang"
opt llvm-assertions 1 "build LLVM with assertions"
opt debug 1 "build with extra debug fun"
opt ratchet-bench 0 "ratchet benchmarks"
opt fast-make 0 "use .gitmodules as timestamp for submodule deps"
opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
Expand Down Expand Up @@ -612,12 +611,11 @@ putvar CFG_RELEASE_CHANNEL
# channel.
# Basing CFG_BOOTSTRAP_KEY on CFG_BOOTSTRAP_KEY lets it get picked up
# during a Makefile reconfig.
CFG_BOOTSTRAP_KEY="${CFG_BOOTSTRAP_KEY-`date +%N`}"
CFG_BOOTSTRAP_KEY="${CFG_BOOTSTRAP_KEY-`date +%H:%M:%S`}"
putvar CFG_BOOTSTRAP_KEY

step_msg "looking for build programs"

probe_need CFG_PERL perl
probe_need CFG_CURLORWGET curl wget
probe_need CFG_PYTHON python2.7 python2.6 python2 python

Expand Down Expand Up @@ -1375,7 +1373,7 @@ do
done

# Munge any paths that appear in config.mk back to posix-y
perl -i.bak -p -e 's@ ([a-zA-Z]):[/\\]@ /\1/@go;' config.tmp
sed -i.bak -e 's@ \([a-zA-Z]\):[/\\]@ /\1/@g;' config.tmp
rm -f config.tmp.bak

msg
Expand Down
30 changes: 30 additions & 0 deletions man/rustdoc.1
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,27 @@ space-separated list of plugins to run (default: '')
--plugin-path <val>
directory to load plugins from (default: /tmp/rustdoc_ng/plugins)
.TP
--target <val>
target triple to document
.TP
--crate-name <val>
specify the name of this crate
.TP
-L --library-path <val>
directory to add to crate search path
.TP
--cfg <val>
pass a --cfg to rustc
.TP
--extern <val>
pass an --extern to rustc
.TP
--test
run code examples as tests
.TP
--test-args <val>
pass arguments to the test runner
.TP
--html-in-header <val>
file to add to <head>
.TP
Expand All @@ -47,8 +65,20 @@ file to add in <body>, before content
--html-after-content <val>
file to add in <body>, after content
.TP
--markdown-css <val>
CSS files to include via <link> in a rendered Markdown file
.TP
--markdown-playground-url <val>
URL to send code snippets to
.TP
--markdown-no-toc
don't include table of contents
.TP
-h, --help
Print help
.TP
-V, --version
Print rustdoc's version

.SH "OUTPUT FORMATS"

Expand Down
30 changes: 30 additions & 0 deletions mk/cfg/aarch64-linux-android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# aarch64-linux-android configuration
# CROSS_PREFIX_aarch64-linux-android-
CC_aarch64-linux-android=$(CFG_ANDROID_CROSS_PATH)/bin/aarch64-linux-android-gcc
CXX_aarch64-linux-android=$(CFG_ANDROID_CROSS_PATH)/bin/aarch64-linux-android-g++
CPP_aarch64-linux-android=$(CFG_ANDROID_CROSS_PATH)/bin/aarch64-linux-android-gcc -E
AR_aarch64-linux-android=$(CFG_ANDROID_CROSS_PATH)/bin/aarch64-linux-android-ar
CFG_LIB_NAME_aarch64-linux-android=lib$(1).so
CFG_STATIC_LIB_NAME_aarch64-linux-android=lib$(1).a
CFG_LIB_GLOB_aarch64-linux-android=lib$(1)-*.so
CFG_LIB_DSYM_GLOB_aarch64-linux-android=lib$(1)-*.dylib.dSYM
CFG_JEMALLOC_CFLAGS_aarch64-linux-android := -D__aarch64__ -DANDROID -D__ANDROID__ $(CFLAGS)
CFG_GCCISH_CFLAGS_aarch64-linux-android := -Wall -g -fPIC -D__aarch64__ -DANDROID -D__ANDROID__ $(CFLAGS)
CFG_GCCISH_CXXFLAGS_aarch64-linux-android := -fno-rtti $(CXXFLAGS)
CFG_GCCISH_LINK_FLAGS_aarch64-linux-android := -shared -fPIC -ldl -g -lm -lsupc++
CFG_GCCISH_DEF_FLAG_aarch64-linux-android := -Wl,--export-dynamic,--dynamic-list=
CFG_GCCISH_PRE_LIB_FLAGS_aarch64-linux-android := -Wl,-whole-archive
CFG_GCCISH_POST_LIB_FLAGS_aarch64-linux-android := -Wl,-no-whole-archive
CFG_DEF_SUFFIX_aarch64-linux-android := .android.def
CFG_LLC_FLAGS_aarch64-linux-android :=
CFG_INSTALL_NAME_aarch64-linux-android =
CFG_EXE_SUFFIX_aarch64-linux-android :=
CFG_WINDOWSY_aarch64-linux-android :=
CFG_UNIXY_aarch64-linux-android := 1
CFG_PATH_MUNGE_aarch64-linux-android := true
CFG_LDPATH_aarch64-linux-android :=
CFG_RUN_aarch64-linux-android=
CFG_RUN_TARG_aarch64-linux-android=
RUSTC_FLAGS_aarch64-linux-android :=
RUSTC_CROSS_FLAGS_aarch64-linux-android :=
CFG_GNU_TRIPLE_aarch64-linux-android := aarch64-linux-android
10 changes: 5 additions & 5 deletions mk/cfg/i686-pc-windows-gnu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ CFG_LIB_NAME_i686-pc-windows-gnu=$(1).dll
CFG_STATIC_LIB_NAME_i686-pc-windows-gnu=$(1).lib
CFG_LIB_GLOB_i686-pc-windows-gnu=$(1)-*.dll
CFG_LIB_DSYM_GLOB_i686-pc-windows-gnu=$(1)-*.dylib.dSYM
CFG_JEMALLOC_CFLAGS_i686-pc-windows-gnu := -march=i686 -m32 -D_WIN32_WINNT=0x0600 $(CFLAGS)
CFG_GCCISH_CFLAGS_i686-pc-windows-gnu := -Wall -Werror -g -m32 -D_WIN32_WINNT=0x0600 $(CFLAGS)
CFG_JEMALLOC_CFLAGS_i686-pc-windows-gnu := -march=i686 -m32 -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 $(CFLAGS)
CFG_GCCISH_CFLAGS_i686-pc-windows-gnu := -Wall -Werror -g -m32 -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 $(CFLAGS)
CFG_GCCISH_CXXFLAGS_i686-pc-windows-gnu := -fno-rtti $(CXXFLAGS)
CFG_GCCISH_LINK_FLAGS_i686-pc-windows-gnu := -shared -g -m32
CFG_GCCISH_DEF_FLAG_i686-pc-windows-gnu :=
Expand All @@ -22,7 +22,7 @@ CFG_EXE_SUFFIX_i686-pc-windows-gnu := .exe
CFG_WINDOWSY_i686-pc-windows-gnu := 1
CFG_UNIXY_i686-pc-windows-gnu :=
CFG_PATH_MUNGE_i686-pc-windows-gnu :=
CFG_LDPATH_i686-pc-windows-gnu :=$(CFG_LDPATH_i686-pc-windows-gnu):$(PATH)
CFG_RUN_i686-pc-windows-gnu=PATH="$(CFG_LDPATH_i686-pc-windows-gnu):$(1)" $(2)
CFG_RUN_TARG_i686-pc-windows-gnu=$(call CFG_RUN_i686-pc-windows-gnu,$(HLIB$(1)_H_$(CFG_BUILD)),$(2))
CFG_LDPATH_i686-pc-windows-gnu :=
CFG_RUN_i686-pc-windows-gnu=$(2)
CFG_RUN_TARG_i686-pc-windows-gnu=$(call CFG_RUN_i686-pc-windows-gnu,,$(2))
CFG_GNU_TRIPLE_i686-pc-windows-gnu := i686-w64-mingw32
10 changes: 5 additions & 5 deletions mk/cfg/x86_64-pc-windows-gnu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ CFG_LIB_NAME_x86_64-pc-windows-gnu=$(1).dll
CFG_STATIC_LIB_NAME_x86_64-pc-windows-gnu=$(1).lib
CFG_LIB_GLOB_x86_64-pc-windows-gnu=$(1)-*.dll
CFG_LIB_DSYM_GLOB_x86_64-pc-windows-gnu=$(1)-*.dylib.dSYM
CFG_JEMALLOC_CFLAGS_x86_64-pc-windows-gnu := -m64 -D_WIN32_WINNT=0x0600 $(CFLAGS)
CFG_GCCISH_CFLAGS_x86_64-pc-windows-gnu := -Wall -Werror -g -m64 -D_WIN32_WINNT=0x0600 $(CFLAGS)
CFG_JEMALLOC_CFLAGS_x86_64-pc-windows-gnu := -m64 -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 $(CFLAGS)
CFG_GCCISH_CFLAGS_x86_64-pc-windows-gnu := -Wall -Werror -g -m64 -D_WIN32_WINNT=0x0600 -D__USE_MINGW_ANSI_STDIO=1 $(CFLAGS)
CFG_GCCISH_CXXFLAGS_x86_64-pc-windows-gnu := -fno-rtti $(CXXFLAGS)
CFG_GCCISH_LINK_FLAGS_x86_64-pc-windows-gnu := -shared -g -m64
CFG_GCCISH_DEF_FLAG_x86_64-pc-windows-gnu :=
Expand All @@ -22,7 +22,7 @@ CFG_EXE_SUFFIX_x86_64-pc-windows-gnu := .exe
CFG_WINDOWSY_x86_64-pc-windows-gnu := 1
CFG_UNIXY_x86_64-pc-windows-gnu :=
CFG_PATH_MUNGE_x86_64-pc-windows-gnu :=
CFG_LDPATH_x86_64-pc-windows-gnu :=$(CFG_LDPATH_x86_64-pc-windows-gnu):$(PATH)
CFG_RUN_x86_64-pc-windows-gnu=PATH="$(CFG_LDPATH_x86_64-pc-windows-gnu):$(1)" $(2)
CFG_RUN_TARG_x86_64-pc-windows-gnu=$(call CFG_RUN_x86_64-pc-windows-gnu,$(HLIB$(1)_H_$(CFG_BUILD)),$(2))
CFG_LDPATH_x86_64-pc-windows-gnu :=
CFG_RUN_x86_64-pc-windows-gnu=$(2)
CFG_RUN_TARG_x86_64-pc-windows-gnu=$(call CFG_RUN_x86_64-pc-windows-gnu,,$(2))
CFG_GNU_TRIPLE_x86_64-pc-windows-gnu := x86_64-w64-mingw32
19 changes: 13 additions & 6 deletions mk/crates.mk
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
TARGET_CRATES := libc std flate arena term \
serialize getopts collections test rand \
log regex graphviz core rbml alloc \
unicode
unicode rustc_bitflags
RUSTC_CRATES := rustc rustc_typeck rustc_borrowck rustc_resolve rustc_driver \
rustc_trans rustc_back rustc_llvm
rustc_trans rustc_back rustc_llvm rustc_privacy
HOST_CRATES := syntax $(RUSTC_CRATES) rustdoc fmt_macros
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
TOOLS := compiletest rustdoc rustc rustbook
Expand All @@ -64,22 +64,27 @@ DEPS_libc := core
DEPS_unicode := core
DEPS_alloc := core libc native:jemalloc
DEPS_std := core libc rand alloc collections unicode \
native:rust_builtin native:backtrace native:rustrt_native
native:rust_builtin native:backtrace native:rustrt_native \
rustc_bitflags
DEPS_graphviz := std
DEPS_syntax := std term serialize log fmt_macros arena libc
DEPS_rustc_driver := arena flate getopts graphviz libc rustc rustc_back rustc_borrowck \
rustc_typeck rustc_resolve log syntax serialize rustc_llvm rustc_trans
rustc_typeck rustc_resolve log syntax serialize rustc_llvm \
rustc_trans rustc_privacy

DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back \
log syntax serialize rustc_llvm
DEPS_rustc_typeck := rustc syntax
DEPS_rustc_borrowck := rustc log graphviz syntax
DEPS_rustc_resolve := rustc log syntax
DEPS_rustc_privacy := rustc log syntax
DEPS_rustc := syntax flate arena serialize getopts rbml \
log graphviz rustc_llvm rustc_back
DEPS_rustc_llvm := native:rustllvm libc std
DEPS_rustc_back := std syntax rustc_llvm flate log libc
DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
test
DEPS_rustc_bitflags := core
DEPS_flate := std native:miniz
DEPS_arena := std
DEPS_graphviz := std
Expand Down Expand Up @@ -111,6 +116,7 @@ ONLY_RLIB_alloc := 1
ONLY_RLIB_rand := 1
ONLY_RLIB_collections := 1
ONLY_RLIB_unicode := 1
ONLY_RLIB_rustc_bitflags := 1

################################################################################
# You should not need to edit below this line
Expand All @@ -122,12 +128,13 @@ DOC_CRATES := $(filter-out rustc, \
$(filter-out rustc_borrowck, \
$(filter-out rustc_resolve, \
$(filter-out rustc_driver, \
$(filter-out rustc_privacy, \
$(filter-out log, \
$(filter-out regex, \
$(filter-out getopts, \
$(filter-out syntax, $(CRATES)))))))))))
$(filter-out syntax, $(CRATES))))))))))))
COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \
rustc_typeck rustc_driver syntax
rustc_typeck rustc_driver syntax rustc_privacy

# This macro creates some simple definitions for each crate being built, just
# some munging of all of the parameters above.
Expand Down
4 changes: 2 additions & 2 deletions mk/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,10 @@ ifdef CFG_DISABLE_UNSTABLE_FEATURES
CFG_INFO := $(info cfg: disabling unstable features (CFG_DISABLE_UNSTABLE_FEATURES))
# Turn on feature-staging
export CFG_DISABLE_UNSTABLE_FEATURES
endif
# Subvert unstable feature lints to do the self-build
export CFG_BOOTSTRAP_KEY
export RUSTC_BOOTSTRAP_KEY:=$(CFG_BOOTSTRAP_KEY)
endif
export CFG_BOOTSTRAP_KEY

######################################################################
# Per-stage targets and runner
Expand Down
2 changes: 2 additions & 0 deletions mk/rt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ else ifeq ($(OSTYPE_$(1)), apple-ios)
JEMALLOC_ARGS_$(1) := --disable-tls
else ifeq ($(OSTYPE_$(1)), linux-androideabi)
JEMALLOC_ARGS_$(1) := --disable-tls
else ifeq ($(OSTYPE_$(1)), linux-android)
JEMALLOC_ARGS_$(1) := --disable-tls
endif

################################################################################
Expand Down
8 changes: 4 additions & 4 deletions mk/tests.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,14 @@ ifdef CHECK_IGNORED
TESTARGS += --ignored
endif

TEST_BENCH =

# Arguments to the cfail/rfail/rpass/bench tests
ifdef CFG_VALGRIND
CTEST_RUNTOOL = --runtool "$(CFG_VALGRIND)"
TEST_BENCH =
endif

ifdef PLEASE_BENCH
TEST_BENCH = --bench
TESTARGS += --bench
endif

# Arguments to the perf tests
Expand Down Expand Up @@ -302,6 +300,7 @@ tidy:
| grep '^$(S)src/libbacktrace' -v \
| grep '^$(S)src/rust-installer' -v \
| xargs $(CFG_PYTHON) $(S)src/etc/check-binaries.py
$(Q) $(CFG_PYTHON) $(S)src/etc/errorck.py $(S)src/


endif
Expand Down Expand Up @@ -1011,7 +1010,8 @@ $(3)/test/run-make/%-$(1)-T-$(2)-H-$(3).ok: \
$$(LD_LIBRARY_PATH_ENV_NAME$(1)_T_$(2)_H_$(3)) \
"$$(LD_LIBRARY_PATH_ENV_HOSTDIR$(1)_T_$(2)_H_$(3))" \
"$$(LD_LIBRARY_PATH_ENV_TARGETDIR$(1)_T_$(2)_H_$(3))" \
$(1)
$(1) \
$$(S)
@touch $$@
else
# FIXME #11094 - The above rule doesn't work right for multiple targets
Expand Down
26 changes: 3 additions & 23 deletions src/compiletest/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::fmt;
use std::str::FromStr;
use regex::Regex;

#[derive(Clone, PartialEq)]
#[derive(Clone, PartialEq, Debug)]
pub enum Mode {
CompileFail,
RunFail,
Expand Down Expand Up @@ -43,9 +43,9 @@ impl FromStr for Mode {
}
}

impl fmt::String for Mode {
impl fmt::Display for Mode {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::String::fmt(match *self {
fmt::Display::fmt(match *self {
CompileFail => "compile-fail",
RunFail => "run-fail",
RunPass => "run-pass",
Expand All @@ -58,12 +58,6 @@ impl fmt::String for Mode {
}
}

impl fmt::Show for Mode {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::String::fmt(self, f)
}
}

#[derive(Clone)]
pub struct Config {
// The library paths required for running the compiler
Expand Down Expand Up @@ -115,20 +109,6 @@ pub struct Config {
// Write out a parseable log of tests that were run
pub logfile: Option<Path>,

// Write out a json file containing any metrics of the run
pub save_metrics: Option<Path>,

// Write and ratchet a metrics file
pub ratchet_metrics: Option<Path>,

// Percent change in metrics to consider noise
pub ratchet_noise_percent: Option<f64>,

// "Shard" of the testsuite to pub run: this has the form of
// two numbers (a,b), and causes only those tests with
// positional order equal to a mod b to run.
pub test_shard: Option<(uint,uint)>,

// A command line to prefix program execution with,
// for running under valgrind
pub runtool: Option<String>,
Expand Down
Loading