Skip to content

Backport #36496 #36626

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

Closed
wants to merge 1,158 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1158 commits
Select commit Hold shift + click to select a range
f6aab5b
Fixed typo in nomicon
JDemler Sep 7, 2016
41d1cd7
add static_in_const feature gate
llogiq Sep 7, 2016
3af0c65
Refactor code out of the folder implementation for `StripUnconfigured`.
jseyfried Sep 2, 2016
d951d5d
Handle `ReEmpty` for `impl Trait`
apasel422 Sep 7, 2016
d76bf3e
Strip unconfigured nodes in the `InvocationCollector` fold.
jseyfried Sep 7, 2016
2d75904
Implement stackless placeholder expansion.
jseyfried Sep 2, 2016
9ac91fa
Improve `directory` computation during invocation collection.
jseyfried Sep 5, 2016
a7b2232
Auto merge of #36292 - japaric:musl-root, r=alexcrichton
bors Sep 7, 2016
a2faf54
Set run button transparent instead of invisible
GuillaumeGomez Sep 7, 2016
a254282
Fix duplicate error code
jroesch Sep 8, 2016
4a26286
Auto merge of #36214 - jseyfried:stackless_expansion, r=nrc
bors Sep 8, 2016
e0eea8b
warning → error, lowercase
llogiq Sep 8, 2016
2859177
added feature gate test
llogiq Sep 8, 2016
a5dbf8a
Auto merge of #36310 - jstnlef:remove-extraneous-not-equal-impl, r=sf…
bors Sep 8, 2016
df611a6
added feature description to reference
llogiq Sep 8, 2016
0b02ae0
Auto merge of #36316 - jseyfried:custom_derive_internal_unstable, r=e…
bors Sep 8, 2016
8c95712
Use LLVM_COMPONENTS to run tests just for supported targets
sanxiyn Sep 8, 2016
a3f05ce
clean up `get_vtable`'s doc comment
oli-obk Sep 8, 2016
d4c6a61
Ignore this block code because of OSX failure
GuillaumeGomez Sep 8, 2016
c615b21
Auto merge of #36048 - GuillaumeGomez:code_clean, r=brson
bors Sep 8, 2016
dd570d6
For size of `struct P<T>(Q<T>)`, don't double-count the prefix added …
pnkfelix Sep 8, 2016
ea45edf
Auto merge of #35745 - jroesch:soundness-fix-29859, r=nikomatsakis
bors Sep 8, 2016
707a40f
Point compile-fail errors to the input item instead of the derive
dtolnay Sep 8, 2016
f2b672d
Refactor `TyStruct`/`TyEnum`/`TyUnion` into `TyAdt`
petrochenkov Sep 5, 2016
553d5f0
Address comments
petrochenkov Sep 5, 2016
76a2f9f
fix feature error, test fallout
llogiq Sep 8, 2016
aadbcff
Issue deprecation warnings for safe accesses to extern statics
petrochenkov Aug 26, 2016
3781956
Auto merge of #36173 - petrochenkov:unstat, r=nikomatsakis
bors Sep 8, 2016
765700b
Work around pointer aliasing issue in Vec::extend_from_slice, extend_…
bluss Sep 8, 2016
8154a6b
rustdoc: Don't add extra newlines for fully opaque structs
ollie27 Aug 14, 2016
89bc13c
tweaking the nodejs cmd sanity check
Sep 9, 2016
1df6445
Auto merge of #36321 - uweigand:enum-abi, r=eddyb
bors Sep 9, 2016
93cdce4
rustdoc: don't collapse `docblock-short`
liigo Sep 6, 2016
26d5f99
rustdoc: more docblock-short styles
liigo Sep 9, 2016
5440a1f
Auto merge of #36322 - uweigand:nonblocking, r=alexcrichton
bors Sep 9, 2016
5e9149d
Allow setting --docdir
Sep 9, 2016
0e32d11
Update the wording for E0063. This will truncate the fields to 3.
jaredadobe Aug 5, 2016
3344f89
Auto merge of #36324 - nrc:save-docs, r=eddyb
bors Sep 9, 2016
f1f40f8
Auto merge of #36331 - petrochenkov:tyadt, r=eddyb
bors Sep 9, 2016
1284081
Auto merge of #36256 - rjgoldsborough:make-configure-detect-nodejs-36…
bors Sep 9, 2016
19b8408
Add s390x support
uweigand Sep 9, 2016
fe41520
Add ExpnId to expanded procedural macro code
dtolnay Sep 9, 2016
f508ddc
Auto merge of #36332 - llogiq:static_consts_feature, r=nikomatsakis
bors Sep 10, 2016
fb85dd3
fix span for errors E0537, E0535 & E0536
mikhail-m1 Sep 8, 2016
b693a2e
fix mistake (File::open -> File::create)
danclive Sep 10, 2016
a5f4cc5
Auto merge of #36333 - apasel422:issue-35668, r=eddyb
bors Sep 10, 2016
65af27b
Rollup merge of #35691 - jaredwy:update-error-63, r=jonathandturner
GuillaumeGomez Sep 10, 2016
26315bf
Rollup merge of #36045 - ollie27:rustdoc_titles3, r=steveklabnik
GuillaumeGomez Sep 10, 2016
30198bf
Rollup merge of #36311 - frewsxcv:instant-elapsed-example, r=Guillaum…
GuillaumeGomez Sep 10, 2016
a221ad0
Rollup merge of #36314 - tshepang:not-needed, r=GuillaumeGomez
GuillaumeGomez Sep 10, 2016
8bfc561
Rollup merge of #36326 - JDemler:master, r=steveklabnik
GuillaumeGomez Sep 10, 2016
2ded399
Rollup merge of #36346 - oli-obk:patch-1, r=arielb1
GuillaumeGomez Sep 10, 2016
f8ba7cb
Auto merge of #36378 - GuillaumeGomez:rollup, r=GuillaumeGomez
bors Sep 10, 2016
38009bf
book: fix a typo
Sep 10, 2016
2a2c9d3
Improve shallow `Clone` deriving
petrochenkov Aug 26, 2016
63fecad
Inherit overflow checks for sum and product
sfackler Sep 10, 2016
72e103f
Tweak std::mem docs
kmcallister Sep 9, 2016
62cb751
Improve `Eq` deriving
petrochenkov Aug 26, 2016
1fca1ab
Auto merge of #36351 - pnkfelix:fix-36278-size-miscalc, r=eddyb
bors Sep 10, 2016
f647db4
Update E0297 to new error format
jfirebaugh Sep 10, 2016
3d28927
Improve Clone doc
GuillaumeGomez Sep 9, 2016
48dc0ba
Improve Copy trait doc
GuillaumeGomez Sep 9, 2016
57a6037
Improve Option doc
GuillaumeGomez Sep 9, 2016
e3153cf
Improve Result doc
GuillaumeGomez Sep 9, 2016
49e77db
Documentation of what does for each type
athulappadan Sep 11, 2016
c8b656b
Remove unnecessary `cmp::min` from BufWriter::write
SuperFluffy Sep 11, 2016
41881e8
Documentation for default types modified
athulappadan Sep 11, 2016
4812cf3
Auto merge of #36369 - uweigand:s390x, r=alexcrichton
bors Sep 11, 2016
54c680c
Tweak array docs
kmcallister Sep 10, 2016
0be88eb
Auto merge of #36308 - dtolnay:inputitem, r=alexcrichton
bors Sep 11, 2016
6b99e01
Delete stray ` character in error message.
solson Sep 11, 2016
f1bd907
use `adt::trans_const` when translating constant closures and tuples
arielb1 Sep 11, 2016
f1c6cad
Use question_mark feature in linkchecker.
ahmedcharles Aug 27, 2016
f0a414e
Use question_mark feature in compiletest.
ahmedcharles Aug 27, 2016
6d88ab5
Fix typo in bootstrap/lib.rs.
ahmedcharles Aug 27, 2016
bfd123d
Use question_mark feature in libcore.
ahmedcharles Aug 27, 2016
8391760
Use question_mark feature in librustc_errors.
ahmedcharles Aug 27, 2016
8a9e52a
Use question_mark feature in librustc_incremental.
ahmedcharles Aug 27, 2016
e10e0bc
Use question_mark feature in librustc_mir.
ahmedcharles Aug 27, 2016
14d3937
Use question_mark feature in librustc.
ahmedcharles Aug 27, 2016
d73e374
Use question_mark feature in libserialize.
ahmedcharles Aug 27, 2016
637f149
Use question_mark feature in libstd.
ahmedcharles Aug 27, 2016
0dbf77e
Use question_mark feature in librustc_back.
ahmedcharles Aug 27, 2016
509aa23
Use question_mark feature in librustc_const_eval.
ahmedcharles Aug 27, 2016
694d601
Use question_mark feature in librustc_metadata.
ahmedcharles Aug 27, 2016
0f5f325
Auto merge of #36344 - sanxiyn:llvm-components, r=alexcrichton
bors Sep 12, 2016
5b59c14
change error message
danclive Sep 12, 2016
4d91323
Auto merge of #36355 - bluss:vec-extend-from-slice-aliasing-workaroun…
bors Sep 12, 2016
4c274b6
Avoid an unnecessary intermediate value in char_lit().
nnethercote Sep 12, 2016
826f673
Lazily construct panic messages in char_lit().
nnethercote Sep 12, 2016
00ce2c0
Auto merge of #36360 - orbea:docdir, r=alexcrichton
bors Sep 12, 2016
85592fb
Auto merge of #36406 - arielb1:constant-padding, r=eddyb
bors Sep 12, 2016
8889703
Auto merge of #36414 - nnethercote:char_lit, r=jseyfried
bors Sep 12, 2016
f81f496
Auto merge of #36204 - c4rlo:patch-3, r=GuillaumeGomez
bors Sep 12, 2016
5531c31
Auto merge of #36354 - mikhail-m1:master, r=jonathandturner
bors Sep 12, 2016
9ca5786
check stack discipline of tasks
nikomatsakis Sep 12, 2016
7bd25a3
Remove stray attribute
sfackler Sep 12, 2016
fa9d8cc
Auto merge of #35960 - nikomatsakis:incr-comp-krate-edges, r=michaelw…
bors Sep 13, 2016
be2fa70
Implement std::str::replacen
Sep 8, 2016
ebda770
Add tests for str::replacen
Sep 8, 2016
0a62676
fix "X is not a member of trait Y" span labels
durka Sep 12, 2016
09905b1
Auto merge of #36019 - frewsxcv:take-into-inner, r=alexcrichton
bors Sep 13, 2016
3fd5fdd
crate-ify compiler-rt into compiler-builtins
Jul 25, 2016
e6da837
it's libcompiler-rt.lib on windows
Sep 4, 2016
e5d0bb1
no emutls for you, windows
Sep 4, 2016
521ffe9
it's also compiler-rt.lib on windows-gnu
Sep 4, 2016
5798003
Doc correction: btree
athulappadan Sep 13, 2016
194a91b
rustbuild: Fix dependency tracking with new Cargo
alexcrichton Sep 13, 2016
2140c4b
rustc: Always link compiler-builtins last
alexcrichton Sep 13, 2016
50f94f6
Avoid needless reexpansions.
jseyfried Sep 2, 2016
60440b2
Refactor `noop_fold_stmt_kind` out of `noop_fold_stmt`.
jseyfried Sep 4, 2016
a9821e1
Refactor `ExtCtxt` to use a `Resolver` instead of a `MacroLoader`.
jseyfried Sep 5, 2016
20b43b2
Rewrite the unit tests in `ext/expand.rs` as a `compile-fail` test.
jseyfried Sep 8, 2016
5841678
rustbuild: Fix cross-compiles to MinGW on Linux
alexcrichton Sep 13, 2016
332ba12
mk: add a all-no-docs target to build everything except docs
infinity0 Sep 13, 2016
a8d594f
Rollup merge of #36357 - kmcallister:gh-29362-mem-docs, r=GuillaumeGomez
GuillaumeGomez Sep 13, 2016
f658548
Rollup merge of #36380 - kylog:fix-typo, r=steveklabnik
GuillaumeGomez Sep 13, 2016
2a88e6c
Rollup merge of #36389 - jfirebaugh:E0297, r=GuillaumeGomez
GuillaumeGomez Sep 13, 2016
d6aa4e8
Rollup merge of #36397 - SuperFluffy:bufwriter_unnecessary_cmp, r=aturon
GuillaumeGomez Sep 13, 2016
c05424f
Rollup merge of #36402 - kmcallister:gh-29331-array-docs, r=Guillaume…
GuillaumeGomez Sep 13, 2016
58450c0
Auto merge of #36446 - GuillaumeGomez:rollup, r=GuillaumeGomez
bors Sep 13, 2016
72a6369
Move macro resolution into `librustc_resolve`.
jseyfried Sep 7, 2016
c86c8d4
Perform node id assignment and `macros_at_scope` construction during
jseyfried Sep 5, 2016
f3c2dca
Remove scope placeholders from the crate root.
jseyfried Sep 6, 2016
78c0039
Expand generated test harnesses and macro registries.
jseyfried Sep 6, 2016
b54e1e3
Differentiate between monotonic and non-monotonic expansion and
jseyfried Sep 6, 2016
c87ba3f
Auto merge of #36264 - matklad:zeroing-cstring, r=alexcrichton
bors Sep 13, 2016
2656202
rustc: Don't pass --whole-archive for compiler-builtins
alexcrichton Sep 13, 2016
2fd0608
Auto merge of #36181 - seanmonstar:likely, r=nikomatsakis
bors Sep 13, 2016
5a881e9
Make sure that projection bounds in ty::TraitObject are sorted in a w…
michaelwoerister Sep 12, 2016
5c923f0
Remove redundant sorting of projection bounds in tyencode.
michaelwoerister Sep 12, 2016
94d7501
Remove redundant sorting of projections in TypeIdHasher.
michaelwoerister Sep 13, 2016
75a0dd0
Make TypeIdHasher use DefPath::deterministic_hash() for stability.
michaelwoerister Sep 13, 2016
869d144
TypeIdHasher: Let projections be hashed implicitly by the visitor.
michaelwoerister Sep 13, 2016
848cfe2
Link test to compiler builtins and make unstable
alexcrichton Sep 13, 2016
377c3e1
Fix rebasing fallout.
michaelwoerister Sep 13, 2016
7ec9b81
TypeIdHasher: Remove more redundant explicit visit calls.
michaelwoerister Sep 13, 2016
b49a26e
invoke drop glue with a ptr to (data, meta)
nikomatsakis Sep 13, 2016
4b6c4c0
Remove some ancient code providing special support for newtypes
petrochenkov Aug 26, 2016
03161e9
Remove some more dead code from mem categorization
petrochenkov Aug 26, 2016
b57f109
Remove parsing of obsolete pre-1.0 syntaxes
petrochenkov Aug 26, 2016
b1363a7
Auto merge of #35021 - japaric:rustc-builtins, r=alexcrichton
bors Sep 13, 2016
693676d
add missing test
nikomatsakis Sep 13, 2016
606cded
Add checked operation methods to Duration
Sep 14, 2016
07b41b5
Fix Duration::checked_mul documentation
Sep 14, 2016
b1bcd18
Implement add, sub, mul and div methods using checked methods for Dur…
Sep 14, 2016
fae439b
Add doc examples for std::net::IpAddr construction.
frewsxcv Sep 14, 2016
1b3a588
trans: Let the collector find drop-glue for all vtables, not just VTa…
michaelwoerister Sep 14, 2016
739d571
Auto merge of #36041 - ahmedcharles:try, r=nrc
bors Sep 14, 2016
4715985
Remove unused Token::to_binop function.
nnethercote Sep 14, 2016
97b561a
Auto merge of #35667 - ollie27:rustdoc_opaque_structs, r=steveklabnik
bors Sep 14, 2016
6353e30
clear obligations-added flag with nested fulfillcx
nikomatsakis Sep 13, 2016
d939cbe
Rollup merge of #36334 - GuillaumeGomez:run_but, r=steveklabnik
GuillaumeGomez Sep 14, 2016
99c2f72
Rollup merge of #36363 - GuillaumeGomez:add_urls, r=steveklabnik
GuillaumeGomez Sep 14, 2016
4476b7b
Rollup merge of #36374 - dangcheng:patch-1, r=steveklabnik
GuillaumeGomez Sep 14, 2016
a89690e
Rollup merge of #36396 - athulappadan:Default-docs, r=bluss
GuillaumeGomez Sep 14, 2016
e368cdd
Rollup merge of #36467 - frewsxcv:ipaddr, r=GuillaumeGomez
GuillaumeGomez Sep 14, 2016
5a5736d
Auto merge of #36472 - GuillaumeGomez:rollup, r=GuillaumeGomez
bors Sep 14, 2016
3558462
Update E0049 to new error format
GuillaumeGomez Sep 10, 2016
a4ee9c6
core: Use primitive indexing in slice's Index/IndexMut
bluss Sep 13, 2016
5bdf79b
Auto merge of #36270 - petrochenkov:pipwarnagain, r=nikomatsakis
bors Sep 14, 2016
a6da082
doc: make that sound better
tshepang Sep 14, 2016
6ffdda1
Auto merge of #36293 - liigo:docblock-short, r=steveklabnik
bors Sep 14, 2016
f2eb4f1
Fix doc-tests for Duration
Sep 14, 2016
b6321bd
Add feature crate attribute for duration_checked_ops to docs
Sep 15, 2016
5cab952
Don't ignore a doc code-block we can compile.
frewsxcv Sep 15, 2016
16ff9e2
Auto merge of #36347 - knight42:str-replacen, r=alexcrichton
bors Sep 15, 2016
b232f6d
Avoid loading and parsing unconfigured non-inline modules.
jseyfried Sep 14, 2016
6f0ee45
Add regression test.
jseyfried Sep 14, 2016
e2c64d1
Auto merge of #36372 - sfackler:sum-prod-overflow, r=alexcrichton
bors Sep 15, 2016
af1a3ff
Remove data structure specialization for .zip() iterator
bluss Sep 15, 2016
7268501
Rollup merge of #36384 - petrochenkov:derclone, r=alexcrichton
Manishearth Sep 15, 2016
ebef6ad
Rollup merge of #36405 - solson:typo, r=eddyb
Manishearth Sep 15, 2016
7494bc7
Rollup merge of #36425 - michaelwoerister:stable-projection-bounds, r…
Manishearth Sep 15, 2016
23e0c24
Rollup merge of #36429 - durka:patch-30, r=nagisa
Manishearth Sep 15, 2016
bab9238
Rollup merge of #36438 - jseyfried:node_ids_in_expansion, r=nrc
Manishearth Sep 15, 2016
69a7f92
Rollup merge of #36454 - bluss:slice-primitive-index, r=alexcrichton
Manishearth Sep 15, 2016
959f764
Rollup merge of #36459 - nikomatsakis:issue-35546, r=eddyb
Manishearth Sep 15, 2016
0c9dc53
Rollup merge of #36461 - nikomatsakis:issue-36053, r=arielb1
Manishearth Sep 15, 2016
ec08128
Rollup merge of #36463 - eugene-bulkin:duration-checked-ops, r=alexcr…
Manishearth Sep 15, 2016
dc75933
Auto merge of #36491 - Manishearth:rollup, r=Manishearth
bors Sep 15, 2016
c10176e
trans: Only translate #[inline] functions if they are used somewhere.
michaelwoerister Sep 15, 2016
eba2270
Add `pub fn ptr_eq(this: &Self, other: &Self) -> bool` to `Rc` and `A…
SimonSapin Aug 25, 2016
5ce9fee
Add std::ptr::eq, for referential equality of &T references.
SimonSapin Sep 15, 2016
d1acabe
Auto merge of #35992 - SimonSapin:rc-arc-ptr-eq, r=alexcrichton
bors Sep 15, 2016
928c398
Adapt run-make/sep-comp-inlining test case to new behaviour
michaelwoerister Sep 15, 2016
b735c1b
Tweak std::marker docs
kmcallister Sep 11, 2016
9f4e908
correctly cancel some errors
TimNN Sep 15, 2016
1265cbf
Auto merge of #36393 - petrochenkov:ancient, r=eddyb
bors Sep 15, 2016
ffaebad
Default RUST_MIN_STACK to 16MiB for now
nagisa Sep 15, 2016
21ba816
Move fields `single_step` and `keep_macs` from `MacroExpander` to `Ex…
jseyfried Sep 12, 2016
0ddb66c
Allow `IdentMacroExpander::expand` to access the ident macro invocati…
jseyfried Sep 13, 2016
2abdc88
Remove `MacroRulesTT`.
jseyfried Sep 13, 2016
f9a08cc
Remove irrelevant test.
jseyfried Sep 13, 2016
3f79310
Try to support py3 with rustbuild better
nagisa Sep 15, 2016
63ded05
Overhaul char_lit().
nnethercote Sep 15, 2016
5511a93
Auto merge of #36439 - alexcrichton:fix-rustbuild, r=japaric
bors Sep 16, 2016
bfa6fdc
trans: Allow base::internalize_symbols() to internalize #[no_mangle] …
michaelwoerister Sep 16, 2016
102ee5e
Add example in AsMut trait documentation
Mark-Simulacrum Sep 16, 2016
cf976fe
Adapt codegen-unit test cases to new behaviour
michaelwoerister Sep 16, 2016
68e8624
Specify when type parameter shadows primitive type
estebank Sep 8, 2016
a36e069
Auto merge of #36213 - josephDunne:dist_version, r=brson
bors Sep 16, 2016
8075d54
Optimize the parser's last token handling.
nnethercote Sep 16, 2016
89500e9
Auto merge of #36338 - estebank:primitive-shadow, r=jseyfried
bors Sep 16, 2016
8394685
Auto merge of #36441 - alexcrichton:rustbuild-target, r=brson
bors Sep 16, 2016
eb19cd6
groundwork refactoring of `gather_moves`
arielb1 Jun 11, 2016
7b25e88
forbid moves out of slices
arielb1 Jul 24, 2016
eeedc14
fix dynamic drop for unions
arielb1 Sep 8, 2016
5c5f752
fix test fallout
Sep 16, 2016
c6673db
Auto merge of #36353 - arielb1:union-drops, r=pnkfelix
bors Sep 16, 2016
9eac7bd
Rollup merge of #36383 - GuillaumeGomez:e0049, r=jonathandturner
Sep 16, 2016
d48f17b
Rollup merge of #36424 - kmcallister:gh-29361-marker-docs, r=Guillaum…
Sep 16, 2016
77c7ff5
Rollup merge of #36480 - tshepang:stronger-pause, r=steveklabnik
Sep 16, 2016
ff224e7
Rollup merge of #36484 - frewsxcv:patch-33, r=eddyb
Sep 16, 2016
390e8bd
Rollup merge of #36505 - nagisa:temp-stack-size, r=eddyb
Sep 16, 2016
c6f1db6
Rollup merge of #36509 - nagisa:rustbuild-py3, r=alexcrichton
Sep 16, 2016
919cbc0
Rollup merge of #36519 - Mark-Simulacrum:example-asmut, r=GuillaumeGomez
Sep 16, 2016
ab7425d
Rollup merge of #36521 - Mark-Simulacrum:documentation-fix, r=apasel422
Sep 16, 2016
e8a44d2
librustc_mir: Remove `&*x` when `x` has a reference type.
pcwalton Sep 10, 2016
55a61a1
Auto merge of #36536 - jonathandturner:rollup, r=jonathandturner
bors Sep 16, 2016
d4037fc
Auto merge of #36444 - jseyfried:macro_rules_ext, r=nrc
bors Sep 16, 2016
ad63215
Add links between format_args! macro and std::fmt::Arguments struct
Mark-Simulacrum Sep 16, 2016
d8b2cfe
Remove stray println! when invoking error E0316
Cobrand Sep 16, 2016
9dc9f34
Auto merge of #36468 - michaelwoerister:collect-vtable-drop-glue, r=e…
bors Sep 17, 2016
141012d
Auto merge of #36482 - jseyfried:dont_load_unconfigured_noninline_mod…
bors Sep 17, 2016
cde61ba
Auto merge of #36485 - nnethercote:char_lit-2, r=nagisa
bors Sep 17, 2016
fb62f4d
Auto merge of #36490 - bluss:zip-slightly-despecialized-edition, r=al…
bors Sep 17, 2016
d104e5b
Up the LLVM
nagisa Sep 15, 2016
32571c0
Auto merge of #36508 - nagisa:llvm-backport, r=eddyb
bors Sep 17, 2016
2cee9ec
Ensure that macro invocations are folded and visited the same order.
jseyfried Sep 17, 2016
c7e4ae0
Add regression test.
jseyfried Sep 17, 2016
d37e54b
Auto merge of #36504 - pcwalton:and-star, r=eddyb
bors Sep 18, 2016
0b03ba1
Auto merge of #36502 - TimNN:correct-cancel, r=jseyfried
bors Sep 18, 2016
f39039e
Auto merge of #36527 - nnethercote:last_token_kind, r=jseyfried
bors Sep 18, 2016
22d15ea
Auto merge of #36555 - jseyfried:issue_36540, r=eddyb
bors Sep 18, 2016
5505ebc
Add basic doc examples for `std::panic::{set_hook, take_hook}`.
frewsxcv Sep 10, 2016
3392775
Auto merge of #36390 - frewsxcv:panic-set-hook, r=GuillaumeGomez
bors Sep 18, 2016
48e69e0
save-analysis: better 'parent' info
nrc Sep 18, 2016
55bf6a4
Auto merge of #36487 - nrc:save-doc-urls, r=@eddyb
bors Sep 18, 2016
bfac5d6
Auto merge of #36523 - Mark-Simulacrum:format-args-link, r=GuillaumeG…
bors Sep 19, 2016
5f6f838
Auto merge of #36545 - Cobrand:wild-print-fix, r=sfackler
bors Sep 19, 2016
412a637
Auto merge of #36471 - nnethercote:rm-to_binop, r=sanxiyn
bors Sep 19, 2016
2e6a918
librustc: Add a new nop statement to the MIR.
pcwalton Sep 16, 2016
e054701
Auto merge of #36102 - GuillaumeGomez:rustc_metadata_diagnostics, r=j…
bors Sep 19, 2016
cbd84ae
Auto merge of #34942 - porglezomp:master, r=sfackler
bors Sep 20, 2016
480287e
librustc: Implement def-use chains and trivial copy propagation on MIR.
pcwalton Sep 16, 2016
2c2552b
Auto merge of #36445 - infinity0:master, r=brson
bors Sep 20, 2016
c772948
Auto merge of #36388 - pcwalton:copy-propagation, r=nikomatsakis
bors Sep 20, 2016
5cc6c6b
Auto merge of #36524 - michaelwoerister:trans-inline-only-on-demand, …
bors Sep 21, 2016
ef6d5c8
Workaround #34427 by using memset of 0 on ARM to set the discriminant.
pnkfelix Sep 15, 2016
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ before_install:
script:
- docker run -v `pwd`:/build rust
sh -c "
./configure --llvm-root=/usr/lib/llvm-3.7 &&
./configure --enable-rustbuild --llvm-root=/usr/lib/llvm-3.7 &&
make tidy &&
make check-notidy -j4
make check -j4
"

# Real testing happens on http://buildbot.rust-lang.org/
Expand Down
15 changes: 14 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ Some common make targets are:
command above as we only build the stage1 compiler, not the entire thing).
You can also leave off the `-rpass` to run all stage1 test types.
- `make check-stage1-coretest` - Run stage1 tests in `libcore`.
- `make tidy` - Check that the source code is in compliance with Rust's style
guidelines. There is no official document describing Rust's full guidelines
as of yet, but basic rules like 4 spaces for indentation and no more than 99
characters in a single line should be kept in mind when writing code.

## Pull Requests

Expand All @@ -177,6 +181,15 @@ you’re adding something to the standard library, try

This will not rebuild the compiler, but will run the tests.

Please make sure your pull request is in compliance with Rust's style
guidelines by running

$ make tidy

Make this check before every pull request (and every new commit in a pull
request) ; you can add [git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)
before every push to make sure you never forget to make this check.

All pull requests are reviewed by another person. We have a bot,
@rust-highfive, that will automatically assign a random person to review your
request.
Expand Down Expand Up @@ -230,7 +243,7 @@ To find documentation-related issues, sort by the [A-docs label][adocs].
In many cases, you don't need a full `make doc`. You can use `rustdoc` directly
to check small fixes. For example, `rustdoc src/doc/reference.md` will render
reference to `doc/reference.html`. The CSS might be messed up, but you can
verify that HTML is right.
verify that the HTML is right.

## Issue Triage

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Read ["Installing Rust"] from [The Book].
* `g++` 4.7 or later or `clang++` 3.x
* `python` 2.7 (but not 3.x)
* GNU `make` 3.81 or later
* `cmake` 2.8.8 or later
* `cmake` 3.4.3 or later
* `curl`
* `git`

Expand Down Expand Up @@ -170,7 +170,7 @@ fetch snapshots, and an OS that can execute the available snapshot binaries.

Snapshot binaries are currently built and tested on several platforms:

| Platform \ Architecture | x86 | x86_64 |
| Platform / Architecture | x86 | x86_64 |
|--------------------------------|-----|--------|
| Windows (7, 8, Server 2008 R2) | ✓ | ✓ |
| Linux (2.6.18 or later) | ✓ | ✓ |
Expand Down
177 changes: 177 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,180 @@
Version 1.11.0 (2016-08-18)
===========================

Language
--------

* [`cfg_attr` works on `path` attributes]
(https://github.com/rust-lang/rust/pull/34546)
* [Support nested `cfg_attr` attributes]
(https://github.com/rust-lang/rust/pull/34216)
* [Allow statement-generating braced macro invocations at the end of blocks]
(https://github.com/rust-lang/rust/pull/34436)
* [Macros can be expanded inside of trait definitions]
(https://github.com/rust-lang/rust/pull/34213)
* [`#[macro_use]` works properly when it is itself expanded from a macro]
(https://github.com/rust-lang/rust/pull/34032)

Stabilized APIs
---------------

* [`BinaryHeap::append`]
(https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.append)
* [`BTreeMap::append`]
(https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.append)
* [`BTreeMap::split_off`]
(https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.split_off)
* [`BTreeSet::append`]
(https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.append)
* [`BTreeSet::split_off`]
(https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.split_off)
* [`f32::to_degrees`]
(https://doc.rust-lang.org/std/primitive.f32.html#method.to_degrees)
(in libcore - previously stabilized in libstd)
* [`f32::to_radians`]
(https://doc.rust-lang.org/std/primitive.f32.html#method.to_radians)
(in libcore - previously stabilized in libstd)
* [`f64::to_degrees`]
(https://doc.rust-lang.org/std/primitive.f64.html#method.to_degrees)
(in libcore - previously stabilized in libstd)
* [`f64::to_radians`]
(https://doc.rust-lang.org/std/primitive.f64.html#method.to_radians)
(in libcore - previously stabilized in libstd)
* [`Iterator::sum`]
(https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)
* [`Iterator::product`]
(https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)
* [`Cell::get_mut`]
(https://doc.rust-lang.org/std/cell/struct.Cell.html#method.get_mut)
* [`RefCell::get_mut`]
(https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.get_mut)

Libraries
---------

* [The `thread_local!` macro supports multiple definitions in a single
invocation, and can apply attributes]
(https://github.com/rust-lang/rust/pull/34077)
* [`Cow` implements `Default`]
(https://github.com/rust-lang/rust/pull/34305)
* [`Wrapping` implements binary, octal, lower-hex and upper-hex
`Display` formatting]
(https://github.com/rust-lang/rust/pull/34190)
* [The range types implement `Hash`]
(https://github.com/rust-lang/rust/pull/34180)
* [`lookup_host` ignores unknown address types]
(https://github.com/rust-lang/rust/pull/34067)
* [`assert_eq!` accepts a custom error message, like `assert!` does]
(https://github.com/rust-lang/rust/pull/33976)
* [The main thread is now called "main" instead of "&lt;main&gt;"]
(https://github.com/rust-lang/rust/pull/33803)

Cargo
-----

* [Disallow specifying features of transitive deps]
(https://github.com/rust-lang/cargo/pull/2821)
* [Add color support for Windows consoles]
(https://github.com/rust-lang/cargo/pull/2804)
* [Fix `harness = false` on `[lib]` sections]
(https://github.com/rust-lang/cargo/pull/2795)
* [Don't panic when `links` contains a '.']
(https://github.com/rust-lang/cargo/pull/2787)
* [Build scripts can emit warnings]
(https://github.com/rust-lang/cargo/pull/2630),
and `-vv` prints warnings for all crates.
* [Ignore file locks on OS X NFS mounts]
(https://github.com/rust-lang/cargo/pull/2720)
* [Don't warn about `package.metadata` keys]
(https://github.com/rust-lang/cargo/pull/2668).
This provides room for expansion by arbitrary tools.
* [Add support for cdylib crate types]
(https://github.com/rust-lang/cargo/pull/2741)
* [Prevent publishing crates when files are dirty]
(https://github.com/rust-lang/cargo/pull/2781)
* [Don't fetch all crates on clean]
(https://github.com/rust-lang/cargo/pull/2704)
* [Propagate --color option to rustc]
(https://github.com/rust-lang/cargo/pull/2779)
* [Fix `cargo doc --open` on Windows]
(https://github.com/rust-lang/cargo/pull/2780)
* [Improve autocompletion]
(https://github.com/rust-lang/cargo/pull/2772)
* [Configure colors of stderr as well as stdout]
(https://github.com/rust-lang/cargo/pull/2739)

Performance
-----------

* [Caching projections speeds up type check dramatically for some
workloads]
(https://github.com/rust-lang/rust/pull/33816)
* [The default `HashMap` hasher is SipHash 1-3 instead of SipHash 2-4]
(https://github.com/rust-lang/rust/pull/33940)
This hasher is faster, but is believed to provide sufficient
protection from collision attacks.
* [Comparison of `Ipv4Addr` is 10x faster]
(https://github.com/rust-lang/rust/pull/33891)

Rustdoc
-------

* [Fix empty implementation section on some module pages]
(https://github.com/rust-lang/rust/pull/34536)
* [Fix inlined renamed reexports in import lists]
(https://github.com/rust-lang/rust/pull/34479)
* [Fix search result layout for enum variants and struct fields]
(https://github.com/rust-lang/rust/pull/34477)
* [Fix issues with source links to external crates]
(https://github.com/rust-lang/rust/pull/34387)
* [Fix redirect pages for renamed reexports]
(https://github.com/rust-lang/rust/pull/34245)

Tooling
-------

* [rustc is better at finding the MSVC toolchain]
(https://github.com/rust-lang/rust/pull/34492)
* [When emitting debug info, rustc emits frame pointers for closures,
shims and glue, as it does for all other functions]
(https://github.com/rust-lang/rust/pull/33909)
* [rust-lldb warns about unsupported versions of LLDB]
(https://github.com/rust-lang/rust/pull/34646)
* Many more errors have been given error codes and extended
explanations
* API documentation continues to be improved, with many new examples

Misc
----

* [rustc no longer hangs when dependencies recursively re-export
submodules]
(https://github.com/rust-lang/rust/pull/34542)
* [rustc requires LLVM 3.7+]
(https://github.com/rust-lang/rust/pull/34104)
* [The 'How Safe and Unsafe Interact' chapter of The Rustonomicon was
rewritten]
(https://github.com/rust-lang/rust/pull/33895)
* [rustc support 16-bit pointer sizes]
(https://github.com/rust-lang/rust/pull/33460).
No targets use this yet, but it works toward AVR support.

Compatibility Notes
-------------------

* [`const`s and `static`s may not have unsized types]
(https://github.com/rust-lang/rust/pull/34443)
* [The new follow-set rules that place restrictions on `macro_rules!`
in order to ensure syntax forward-compatibility have been enabled]
(https://github.com/rust-lang/rust/pull/33982)
This was an [ammendment to RFC 550]
(https://github.com/rust-lang/rfcs/pull/1384),
and has been a warning since 1.10.
* [`cfg` attribute process has been refactored to fix various bugs]
(https://github.com/rust-lang/rust/pull/33706).
This causes breakage in some corner cases.


Version 1.10.0 (2016-07-07)
===========================

Expand Down
30 changes: 21 additions & 9 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ abs_path() {
(unset CDPATH && cd "$_path" > /dev/null && pwd)
}

HELP=0
for arg; do
case "$arg" in
--help) HELP=1;;
esac
done

msg "looking for configure programs"
need_cmd cmp
need_cmd mkdir
Expand Down Expand Up @@ -517,6 +524,10 @@ case $CFG_CPUTYPE in
CFG_CPUTYPE=powerpc64le
;;

s390x)
CFG_CPUTYPE=s390x
;;

x86_64 | x86-64 | x64 | amd64)
CFG_CPUTYPE=x86_64
;;
Expand Down Expand Up @@ -566,11 +577,8 @@ esac


OPTIONS=""
HELP=0
if [ "$1" = "--help" ]
if [ "$HELP" -eq 1 ]
then
HELP=1
shift
echo
echo "Usage: $CFG_SELF [options]"
echo
Expand Down Expand Up @@ -609,7 +617,6 @@ opt dist-host-only 0 "only install bins for the host architecture"
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
opt llvm-version-check 1 "check if the LLVM version is supported, build anyway"
opt rustbuild 0 "use the rust and cargo based build system"
opt orbit 1 "get MIR where it belongs - everywhere; most importantly, in orbit"
opt codegen-tests 1 "run the src/test/codegen tests"
opt option-checking 1 "complain about unrecognized options in this configure script"
opt ninja 0 "build LLVM using the Ninja generator (for MSVC, requires building in the correct environment)"
Expand All @@ -630,6 +637,7 @@ valopt datadir "${CFG_PREFIX}/share" "install data"
valopt infodir "${CFG_PREFIX}/share/info" "install additional info"
valopt llvm-root "" "set LLVM root"
valopt python "" "set path to python"
valopt nodejs "" "set path to nodejs"
valopt jemalloc-root "" "set directory where libjemalloc_pic.a is located"
valopt build "${DEFAULT_BUILD}" "GNUs ./configure syntax LLVM build triple"
valopt android-cross-path "" "Android NDK standalone path (deprecated)"
Expand Down Expand Up @@ -668,6 +676,7 @@ valopt_nosave local-rust-root "/usr/local" "set prefix for local rust binary"
valopt_nosave host "${CFG_BUILD}" "GNUs ./configure syntax LLVM host triples"
valopt_nosave target "${CFG_HOST}" "GNUs ./configure syntax LLVM target triples"
valopt_nosave mandir "${CFG_PREFIX}/share/man" "install man pages in PATH"
valopt_nosave docdir "${CFG_PREFIX}/share/doc/rust" "install man pages in PATH"

# On Windows this determines root of the subtree for target libraries.
# Host runtime libs always go to 'bin'.
Expand Down Expand Up @@ -733,8 +742,6 @@ if [ -n "$CFG_ENABLE_DEBUG_ASSERTIONS" ]; then putvar CFG_ENABLE_DEBUG_ASSERTION
if [ -n "$CFG_ENABLE_DEBUGINFO" ]; then putvar CFG_ENABLE_DEBUGINFO; fi
if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; fi

if [ -n "$CFG_DISABLE_ORBIT" ]; then putvar CFG_DISABLE_ORBIT; fi

step_msg "looking for build programs"

probe_need CFG_CURL curl
Expand All @@ -747,6 +754,9 @@ if [ $(echo $python_version | grep -c '^Python 2\.7') -ne 1 ]; then
err "Found $python_version, but Python 2.7 is required"
fi

# Checking for node, but not required
probe CFG_NODEJS nodejs node

# If we have no git directory then we are probably a tarball distribution
# and shouldn't attempt to load submodules
if [ ! -e ${CFG_SRC_DIR}.git ]
Expand Down Expand Up @@ -899,7 +909,7 @@ then
fi

CMD="${CFG_LOCAL_RUST_ROOT}/bin/rustc${BIN_SUF}"
LRV=`$CMD --version`
LRV=`LD_LIBRARY_PATH=${CFG_LOCAL_RUST_ROOT}/lib $CMD --version`
if [ $? -ne 0 ]
then
step_msg "failure while running $CMD --version"
Expand Down Expand Up @@ -1115,6 +1125,7 @@ putvar CFG_STDCPP_NAME
# a little post-processing of various config values
CFG_PREFIX=${CFG_PREFIX%/}
CFG_MANDIR=${CFG_MANDIR%/}
CFG_DOCDIR=${CFG_DOCDIR%/}
CFG_HOST="$(echo $CFG_HOST | tr ',' ' ')"
CFG_TARGET="$(echo $CFG_TARGET | tr ',' ' ')"
CFG_SUPPORTED_TARGET=""
Expand Down Expand Up @@ -1749,7 +1760,7 @@ do
CMAKE_ARGS="$CMAKE_ARGS -DLLVM_ENABLE_ASSERTIONS=ON"
fi

CMAKE_ARGS="$CMAKE_ARGS -DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;Mips;PowerPC'"
CMAKE_ARGS="$CMAKE_ARGS -DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;Mips;PowerPC;SystemZ'"
CMAKE_ARGS="$CMAKE_ARGS -G '$CFG_CMAKE_GENERATOR'"
CMAKE_ARGS="$CMAKE_ARGS $CFG_LLVM_SRC_DIR"

Expand Down Expand Up @@ -1796,6 +1807,7 @@ putvar CFG_ARMV7_LINUX_ANDROIDEABI_NDK
putvar CFG_I686_LINUX_ANDROID_NDK
putvar CFG_NACL_CROSS_PATH
putvar CFG_MANDIR
putvar CFG_DOCDIR
putvar CFG_USING_LIBCPP

# Avoid spurious warnings from clang by feeding it original source on
Expand Down
2 changes: 1 addition & 1 deletion man/rustc.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH RUSTC "1" "August 2016" "rustc 1.12.0" "User Commands"
.TH RUSTC "1" "September 2016" "rustc 1.13.0" "User Commands"
.SH NAME
rustc \- The Rust compiler
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion man/rustdoc.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH RUSTDOC "1" "August 2016" "rustdoc 1.12.0" "User Commands"
.TH RUSTDOC "1" "September 2016" "rustdoc 1.13.0" "User Commands"
.SH NAME
rustdoc \- generate documentation from Rust source code
.SH SYNOPSIS
Expand Down
1 change: 1 addition & 0 deletions mk/cfg/mips-unknown-linux-uclibc.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rustbuild-only target
1 change: 1 addition & 0 deletions mk/cfg/mips64-unknown-linux-gnuabi64.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rustbuild-only target
1 change: 1 addition & 0 deletions mk/cfg/mips64el-unknown-linux-gnuabi64.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rustbuild-only target
1 change: 1 addition & 0 deletions mk/cfg/mipsel-unknown-linux-uclibc.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# rustbuild-only target
Loading