Skip to content

Update rustc #6

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 7,150 commits into from
Mar 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
7150 commits
Select commit Hold shift + click to select a range
a1acb15
Rollup merge of #48083 - jseyfried:improve_tuple_struct_field_access_…
Manishearth Feb 23, 2018
1e67c13
Rollup merge of #48123 - nikomatsakis:issue-47244-expected-num-args, …
Manishearth Feb 23, 2018
5fd8d18
Rollup merge of #48157 - scottmcm:try-for-each, r=dtolnay
Manishearth Feb 23, 2018
5d30cba
Rollup merge of #48219 - andjo403:export_symbol, r=michaelwoerister
Manishearth Feb 23, 2018
9f36a35
Rollup merge of #48221 - rkruppe:improve-ctypes-lint, r=estebank
Manishearth Feb 23, 2018
74f6794
Rollup merge of #48245 - spastorino:sparse_bitsets, r=nikomatsakis
Manishearth Feb 23, 2018
f2da2fa
Rollup merge of #48429 - toidiu:patch-1, r=nikomatsakis
Manishearth Feb 23, 2018
cf3623f
Rollup merge of #48436 - adeschamps:string-doc-fix, r=estebank
Manishearth Feb 23, 2018
f2cbb76
Rollup merge of #48438 - mbrubeck:docs, r=TimNN
Manishearth Feb 23, 2018
b26442a
Rollup merge of #48472 - Manishearth:clippyup, r=oli-obk
Manishearth Feb 23, 2018
a05c553
Start moving to the rustc guide!
mark-i-m Feb 23, 2018
bdccbcf
parse `dyn (Foo)` as a trait object
Manishearth Feb 23, 2018
dd67fe1
Silence warning in test
Manishearth Feb 23, 2018
4c73f82
Add test
Manishearth Feb 23, 2018
f2b9686
Bad tags are unreachable
varkor Feb 23, 2018
91fbefa
Split MinGW tests into two builders on AppVeyor
Mark-Simulacrum Feb 23, 2018
70db41c
Handle gdb command failure gracefully in compiletest
varkor Feb 23, 2018
0b6583e
bootstrap: Add openssl configuration for x86_64-unknown-linux-gnux32
glaubitz Feb 24, 2018
8640a51
Implement multiple patterns with `|` in `if let` and `while let`
petrochenkov Feb 24, 2018
e3781c6
test: Fix s390x-unknown-linux-gnu atomic-lock-free test not run for s…
glaubitz Feb 24, 2018
23dc694
Fix auto trait impl rustdoc ice
GuillaumeGomez Feb 23, 2018
b0a8620
Auto merge of #48487 - Mark-Simulacrum:appveyor-split, r=Mark-Simulacrum
bors Feb 24, 2018
34b45c1
Workaround abort(2) on compilation error on FreeBSD.
bdrewery Feb 24, 2018
6070d3e
Auto merge of #48476 - Manishearth:rollup, r=Manishearth
bors Feb 24, 2018
e3e1c8f
Fix capitalisation in Path#file_name's docs
dwijnand Feb 24, 2018
aafebbc
Remove directory `src/rt`
petrochenkov Feb 24, 2018
0700bd1
Clarify "It is an error to..." wording for zero-duration behaviors.
frewsxcv Feb 18, 2018
25ec810
Rollup merge of #47987 - Zoxc:rm-recursion-checking, r=eddyb
Manishearth Feb 24, 2018
a79e5e2
Rollup merge of #48084 - cramertj:impl-trait-errors, r=nikomatsakis
Manishearth Feb 24, 2018
b52b33a
Rollup merge of #48143 - nikomatsakis:termination_trait_in_tests, r=e…
Manishearth Feb 24, 2018
e966993
Rollup merge of #48185 - michaelwoerister:recursive-cache-decoding, r…
Manishearth Feb 24, 2018
111af8f
Rollup merge of #48206 - michaelwoerister:colors-array, r=nikomatsakis
Manishearth Feb 24, 2018
8fdad6f
Rollup merge of #48232 - fpoli:master, r=pnkfelix
Manishearth Feb 24, 2018
387d177
Rollup merge of #48246 - estebank:ice, r=nikomatsakis
Manishearth Feb 24, 2018
b3f85fd
Rollup merge of #48258 - nrc:save-proc-nested, r=eddyb
Manishearth Feb 24, 2018
a1a1409
Rollup merge of #48317 - ExpHP:unused-unsafe-is-no-fn, r=estebank
Manishearth Feb 24, 2018
2483d84
Rollup merge of #48353 - michaelwoerister:monoitem-static-defid, r=eddyb
Manishearth Feb 24, 2018
fc7caed
Rollup merge of #48356 - estebank:unsafe-without-braces, r=nikomatsakis
Manishearth Feb 24, 2018
6ec5dc3
Rollup merge of #48402 - eddyb:y-u-no-inline, r=nikomatsakis
Manishearth Feb 24, 2018
182f882
Rollup merge of #48061 - nikomatsakis:nll-do-not-run-mir-typeck-twice…
Manishearth Feb 24, 2018
28a1e4f
Auto merge of #48510 - Manishearth:rollup, r=Manishearth
bors Feb 24, 2018
264a921
Added error-format flag to x.py.
Feb 24, 2018
edfdfc2
Rollup merge of #47689 - davidtwco:issue-45157, r=nikomatsakis
Manishearth Feb 24, 2018
dd890d8
Rollup merge of #48110 - Centril:stabilize/box_leak, r=alexcrichton
Manishearth Feb 24, 2018
0957572
Rollup merge of #48197 - bobtwinkles:two_phase_borrow_on_ops, r=nikom…
Manishearth Feb 24, 2018
58af0c7
Rollup merge of #48296 - ishitatsuyuki:exp-unblow, r=nikomatsakis
Manishearth Feb 24, 2018
d45c4a6
Rollup merge of #48386 - withoutboats:nonstandard-style, r=Manishearth
Manishearth Feb 24, 2018
7738eb4
Rollup merge of #48392 - estebank:string, r=petrochenkov
Manishearth Feb 24, 2018
9901bef
Rollup merge of #48404 - steveklabnik:second-edition-is-the-best-edit…
Manishearth Feb 24, 2018
43d1d6e
Rollup merge of #48415 - QuietMisdreavus:traits-on-traits-on-traits, …
Manishearth Feb 24, 2018
69757c5
Rollup merge of #48441 - petrochenkov:exty, r=estebank
Manishearth Feb 24, 2018
90f21d4
Rollup merge of #48448 - nikomatsakis:default-binding-mode-issue-4668…
Manishearth Feb 24, 2018
2dba874
Rollup merge of #48452 - varkor:unpacked-kind, r=eddyb
Manishearth Feb 24, 2018
7e68299
Rollup merge of #48481 - Manishearth:dyn-paren, r=petrochenkov
Manishearth Feb 24, 2018
9523c82
Rollup merge of #48490 - petrochenkov:orpat, r=eddyb
Manishearth Feb 24, 2018
0a72101
Rollup merge of #48499 - dwijnand:patch-1, r=BurntSushi
Manishearth Feb 24, 2018
7ba4afc
Rollup merge of #48503 - petrochenkov:nort, r=Mark-Simulacrum
Manishearth Feb 24, 2018
d27fac6
Fix find_width_of_character_at_span bounds check
etaoins Feb 25, 2018
af503be
ignore-pretty for the macro-comma-support test
ExpHP Feb 25, 2018
52047f0
ignore-pretty on dyn trait test
Manishearth Feb 25, 2018
026339e
Auto merge of #48520 - Manishearth:rollup, r=Manishearth
bors Feb 25, 2018
6423609
Fixes docs for ASCII functions to no longer claim U+0021 is '@'.
Feb 25, 2018
0aa753b
1.25.0 -> 1.26.-
Manishearth Feb 25, 2018
e20f7b2
Restrict the Termination impls to simplify stabilization
scottmcm Feb 24, 2018
f5116e7
Rollup merge of #47964 - jcowgill:mips64-abi, r=eddyb
kennytm Feb 25, 2018
e253224
Rollup merge of #47970 - vlovich:condvar_wait_until, r=dtolnay
kennytm Feb 25, 2018
725856d
Rollup merge of #48076 - canarysnort01:fix_pie, r=alexcrichton
kennytm Feb 25, 2018
562626a
Rollup merge of #48115 - Centril:feature/iterator_flatten, r=alexcric…
kennytm Feb 25, 2018
b443e57
Rollup merge of #48166 - hedgehog1024:hedgehog1024-stabilize-entry_an…
kennytm Feb 25, 2018
3e2072e
Rollup merge of #48281 - jakllsch:netbsd-powerpc, r=alexcrichton
kennytm Feb 25, 2018
b571155
Rollup merge of #48297 - glaubitz:sparc-linux, r=estebank
kennytm Feb 25, 2018
6627cba
Rollup merge of #48302 - mark-i-m:markim_macro-test, r=aturon
kennytm Feb 25, 2018
9b597a1
Add rustc --explain back
GuillaumeGomez Feb 18, 2018
1dc2015
Update tools code
GuillaumeGomez Feb 19, 2018
5747fd6
Update ui tests
GuillaumeGomez Feb 19, 2018
16fb6b0
Reduce error codes length when too much are thrown
GuillaumeGomez Feb 24, 2018
f28931f
Rollup merge of #48362 - cuviper:libdir_relative, r=Mark-Simulacrum
kennytm Feb 25, 2018
c9b6dca
Rollup merge of #48369 - newpavlov:rdrand, r=nagisa
kennytm Feb 25, 2018
266386a
Rollup merge of #48489 - glaubitz:x32-linux, r=alexcrichton
kennytm Feb 25, 2018
1c62067
Rollup merge of #48491 - glaubitz:s390x-linux, r=sanxiyn
kennytm Feb 25, 2018
4ab2184
Rollup merge of #48494 - bdrewery:freebsd-omit-frame-pointer, r=eddyb
kennytm Feb 25, 2018
eb0ab5e
Rollup merge of #48517 - penpalperson:master, r=Mark-Simulacrum
kennytm Feb 25, 2018
268b6d6
Rollup merge of #48529 - remexre:docs/fix/unicode-0021, r=kennytm
kennytm Feb 25, 2018
0652af2
Rollup merge of #48235 - varkor:parse-float-lonely-exponent, r=alexcr…
kennytm Feb 25, 2018
a554a2f
Return error if timeout is zero-Duration on Redox.
frewsxcv Feb 19, 2018
1aa1035
Rollup merge of #48330 - frewsxcv:frewsxcv-tests-zero-duration, r=sfa…
kennytm Feb 25, 2018
322d7f7
Auto merge of #48531 - kennytm:rollup, r=kennytm
bors Feb 25, 2018
12c7e27
restore Subslice move out from array after elaborate drops and borrowck
mikhail-m1 Feb 19, 2018
968ce25
Change links to readmes
mark-i-m Feb 25, 2018
d6f22a2
Make comment into a doc comment and change readme ref
mark-i-m Feb 25, 2018
7a82da1
tidy fix
mark-i-m Feb 25, 2018
2466644
Ensure main() always has external linkage
varkor Feb 25, 2018
88de279
bootstrap: Add openssl configuration for powerpc-unknown-linux-gnuspe
glaubitz Feb 23, 2018
a22fbf8
librustc_back: Add support for powerpc-linux-gnuspe
glaubitz Feb 23, 2018
b7683a3
build-manifest: Add powerpc-unknown-linux-gnuspe target
glaubitz Feb 23, 2018
7c84ba4
test: Run atomic-lock-free on powerpc-linux-gnuspe
glaubitz Feb 23, 2018
c237d4f
Add test for #48508
etaoins Feb 26, 2018
ce6429a
Fix new tests
GuillaumeGomez Feb 26, 2018
4a70e27
Auto merge of #48082 - jseyfried:improve_struct_field_hygiene, r=petr…
bors Feb 26, 2018
bedbad6
Auto merge of #48337 - GuillaumeGomez:rustc-explain, r=estebank
bors Feb 26, 2018
5db73fc
Encode linker arguments as UTF-16 on MSVC platforms
Mark-Simulacrum Feb 22, 2018
cdbd8c2
Support flag `-Z ui-testing` for tweaking diagnostic output for UI tests
petrochenkov Feb 23, 2018
fa2d9fc
Update UI tests
petrochenkov Feb 23, 2018
e650eef
Implement opt-out from UI testing normalization
petrochenkov Feb 23, 2018
99b1054
Anonymize remaining line numbers at line starts
petrochenkov Feb 23, 2018
7ba5fd1
Update UI tests
petrochenkov Feb 24, 2018
9f9183d
Fix rebase
petrochenkov Feb 24, 2018
2026453
Add specific target option for returning struct as an integer.
bdrewery Feb 26, 2018
279e5b0
FreeBSD uses Clang which can return small structs as an integer.
bdrewery Feb 26, 2018
9c80019
Fix error-format argument to x.py
Mark-Simulacrum Feb 26, 2018
c133a08
rustc: Rename `bmi` feature to `bmi1`
alexcrichton Feb 26, 2018
29f5c69
Auto merge of #48449 - petrochenkov:uidiff, r=nikomatsakis
bors Feb 27, 2018
f297f56
Bring back ParamEnv deduplication
ishitatsuyuki Feb 27, 2018
f05d967
Backport LLVM fixes for a JumpThreading / assume intrinsic bug
dotdash Feb 27, 2018
f8ebb3f
fix wording on panics in binary operators on RefCells"
Centril Feb 27, 2018
0c9afa8
Provide missing comma in match arm suggestion
estebank Feb 18, 2018
ba7039c
Detect missing `if` blocks
estebank Feb 19, 2018
36baa81
Add label to primary span in some parse errors
estebank Feb 19, 2018
d63d363
Diagnostic tweaks (review)
estebank Feb 24, 2018
affe297
Auto merge of #48576 - ishitatsuyuki:dup-fix, r=nikomatsakis
bors Feb 27, 2018
0cb3672
Emit parentheses in suggestion for global paths
Manishearth Feb 23, 2018
4b6f5c2
Update RLS
nrc Feb 26, 2018
89e5a07
Auto merge of #47894 - vi:rustdoc_foldable_impls, r=GuillaumeGomez,Qu…
bors Feb 28, 2018
db6a5ee
Minor grammatical/style fix in docs.
pthariensflame Feb 28, 2018
ddab91a
Auto merge of #48056 - ExpHP:macro-commas, r=dtolnay
bors Feb 28, 2018
f933dd2
Rollup merge of #48266 - pietroalbini:report-compiler-flags-on-ice, r…
kennytm Feb 28, 2018
85d7d0b
Rollup merge of #48321 - milesand:no_panic_pow, r=alexcrichton
kennytm Feb 28, 2018
c599463
Rollup merge of #48365 - Centril:docs/document-refcell-panics, r=frew…
kennytm Feb 28, 2018
71ce38e
Rollup merge of #48381 - GuillaumeGomez:rustdoc-theme-securities, r=Q…
kennytm Feb 28, 2018
ef44e63
Rollup merge of #48450 - frewsxcv:frewsxcxv-stabilize-slice-rotatee, …
kennytm Feb 28, 2018
cbd0a2c
Rollup merge of #48473 - GuillaumeGomez:rustdoc-auto-trait-impl-fix, …
kennytm Feb 28, 2018
af55518
Rollup merge of #48479 - mark-i-m:rustc-guide, r=nikomatsakis
kennytm Feb 28, 2018
428f002
Rollup merge of #48484 - glaubitz:powerpcspe-linux, r=alexcrichton
kennytm Feb 28, 2018
a3fecfb
Rollup merge of #48488 - varkor:handle-gdb-error-compiletest, r=micha…
kennytm Feb 28, 2018
d3fee34
Rollup merge of #48497 - scottmcm:more-restricted-termination, r=niko…
kennytm Feb 28, 2018
62f4fe5
Rollup merge of #48541 - varkor:inlined-main, r=michaelwoerister
kennytm Feb 28, 2018
59ab146
Rollup merge of #48548 - alexcrichton:msvc-linker-utf16, r=alexcrichton
kennytm Feb 28, 2018
4b4cd47
Rollup merge of #48558 - Mark-Simulacrum:error-format, r=Manishearth
kennytm Feb 28, 2018
537f8d6
Rollup merge of #48560 - bdrewery:freebsd-struct-abi, r=estebank
kennytm Feb 28, 2018
fed0c42
Rollup merge of #48565 - alexcrichton:rename-bmi, r=cramertj
kennytm Feb 28, 2018
0ff9872
Auto merge of #48608 - kennytm:rollup, r=kennytm
bors Feb 28, 2018
c99f4c4
Stabilize LocalKey::try_with
Feb 27, 2018
989134e
Add regression test for #48551
ishitatsuyuki Feb 28, 2018
b9e9b4a
Add std::path::Path::ancestors
teiesti Feb 28, 2018
90b2813
Remove the v7 feature from AArch64
Amanieu Feb 26, 2018
f756ad3
Add AArch64 features
Amanieu Feb 27, 2018
4d97033
Type check defaults.
leoyvens Dec 15, 2017
a6bb32c
Check WF of defaults even when there are no bounds.
leoyvens Dec 18, 2017
87c2ad0
default WF: Leverage type substitution, less workarounding
leoyvens Dec 21, 2017
d9c336a
default WF: Substitute defaults individually in the clauses.
leoyvens Dec 21, 2017
3b4a062
Go back to checking only the LHS of trait predicates.
leoyvens Dec 23, 2017
7c1b684
use `map_bound` instead of `skip_binder`
leoyvens Jan 16, 2018
35499aa
Expand comments, address nits.
leoyvens Jan 20, 2018
addc404
Check WF of predicate with defaults only if all in LHS have default
leoyvens Jan 21, 2018
75997d8
Check WF of predicates with defaults only if all params have defaults
leoyvens Jan 22, 2018
81ab26c
Add tests for dependent defaults.
leoyvens Feb 5, 2018
ac17948
Mark non-defaulted params as TyError to avoid a custom visitor.
leoyvens Feb 6, 2018
c74f85f
Check only predicates with a single param with a concrete default.
leoyvens Feb 9, 2018
a7c7c8a
Check only concrete defaults for well formedness
leoyvens Feb 14, 2018
c84b781
add a comment
nikomatsakis Feb 27, 2018
3e84aed
Update UI test
leoyvens Feb 28, 2018
27fae2b
Remove thread_local_state
Feb 28, 2018
11eb83a
Update issue-48551.rs
nikomatsakis Feb 28, 2018
2ec79f9
Remove E0245; improve E0404 explanation
mark-i-m Feb 22, 2018
24be75d
fix rebase
estebank Feb 28, 2018
082dd6d
Fix a few run-pass tests
Feb 28, 2018
93cfb2a
Update LLVM submodule a bit further
alexcrichton Feb 28, 2018
804666f
rustc: Tweak funclet cleanups of ffi functions
alexcrichton Feb 27, 2018
c9aff92
Support parentheses in patterns under feature gate
petrochenkov Feb 24, 2018
cb56b2d
Fix a bug introduced in previous commit
Feb 28, 2018
f59ab8e
Rollup merge of #48355 - mikhail-m1:subslice_pattern_array_drop2, r=n…
Manishearth Feb 28, 2018
fac7d7c
Rollup merge of #48359 - jsgf:remap-path-prefix, r=sanxiyn
Manishearth Feb 28, 2018
1251560
Rollup merge of #48380 - nikomatsakis:issue-48251-master, r=acrichto
Manishearth Feb 28, 2018
6b5519d
Rollup merge of #48420 - teiesti:path_parents, r=BurntSushi
Manishearth Feb 28, 2018
f57835b
Rollup merge of #48461 - Manishearth:epoch-dyn-trait, r=nmatsakis
Manishearth Feb 28, 2018
b2b9707
Rollup merge of #48603 - pthariensflame:patch-1, r=frewsxcv
Manishearth Feb 28, 2018
0e3c9bb
Auto merge of #48615 - Manishearth:rollup, r=Manishearth
bors Feb 28, 2018
a85417f
Auto merge of #48349 - nrc:update, r=alexcrichton
bors Mar 1, 2018
6edbe37
Fix link to rustc guide in README.md
teiesti Mar 1, 2018
25b69c4
impl Default + Hash for ::core::cmp::Reverse
strake Mar 1, 2018
363d604
Add ignore-pretty for issue-48506.rs
etaoins Mar 1, 2018
70d5a46
Specialize Zip::nth for TrustedRandomAccess
scottmcm Mar 1, 2018
11fefeb
Add a Zip::nth test for side effects
scottmcm Mar 1, 2018
5105fc1
Fix braces
scottmcm Mar 1, 2018
3eeb5a6
Auto merge of #46785 - leodasvacas:type-check-defaults-at-declaration…
bors Mar 1, 2018
803bd76
introduce `Universe` struct
nikomatsakis Jul 15, 2017
e7efce2
add some comments to `Obligation`
nikomatsakis Jul 15, 2017
d4df52c
introduce `UniverseIndex` into `ParamEnv`
nikomatsakis Jul 15, 2017
d516b26
use `{}` for `Known` variant just for more parity
nikomatsakis Jul 15, 2017
7112d65
make `Default` Copy and Clone
nikomatsakis Jul 15, 2017
047a8d0
kill custom type inference defaults (these don't really work anyway)
nikomatsakis Jul 15, 2017
b680b12
kill supporting code from type-variable defaults
nikomatsakis Jul 16, 2017
c7953bb
obtain `UnificationTable` and `snapshot_vec` from `ena` instead
nikomatsakis Jul 16, 2017
57a593f
store type values in the unification table directly
nikomatsakis Jul 16, 2017
ccd92c2
correct subtle bug in the type variable code
nikomatsakis Jul 16, 2017
69fe43c
have `probe()` return `TypeVariableValue`
nikomatsakis Jul 16, 2017
44d9929
remove unnecessary clause propagating divergence
nikomatsakis Jul 16, 2017
13efaf0
add universes to type inference variables
nikomatsakis Jul 17, 2017
35e78b5
change skolemizations to use universe index
nikomatsakis Jul 31, 2017
a985634
fix tidy error
nikomatsakis Oct 31, 2017
17df455
fix tests in `librustc_driver`
nikomatsakis Oct 31, 2017
755bdaa
change skolemizations to use universe index
sgrif Jan 29, 2018
c301838
Remove dead code
sgrif Jan 29, 2018
4fb201d
Re-add some removed uses of `Kind`
sgrif Jan 29, 2018
e9eb1a6
Fix bad rebase
sgrif Feb 26, 2018
a6d8533
Fix breakage in rustdoc
sgrif Feb 27, 2018
fec4d3b
Bump ena
sgrif Feb 28, 2018
eadea4a
Rollup merge of #48405 - kennytm:autotoolstate-follow-up, r=Mark-Simu…
Manishearth Mar 1, 2018
39d5e1c
Rollup merge of #48446 - mark-i-m:e0245, r=mark-i-m
Manishearth Mar 1, 2018
38f4d55
Rollup merge of #48500 - petrochenkov:parpat, r=nikomatsakis
Manishearth Mar 1, 2018
75b8c10
Rollup merge of #48522 - etaoins:fix-find-width-of-character-at-span-…
Manishearth Mar 1, 2018
8025e15
Rollup merge of #48572 - alexcrichton:noexcept-msvc2, r=eddyb
Manishearth Mar 1, 2018
b812b77
Rollup merge of #48585 - stjepang:stabilize-localkey-try_with, r=alex…
Manishearth Mar 1, 2018
cf0638c
Rollup merge of #48610 - ishitatsuyuki:ishitatsuyuki-patch-1, r=nikom…
Manishearth Mar 1, 2018
a080d7b
Rollup merge of #48626 - teiesti:fix-readme, r=frewsxcv
Manishearth Mar 1, 2018
2b3c815
Rollup merge of #48570 - Amanieu:aarch64_features, r=alexcrichton
kennytm Mar 1, 2018
2e9d9d4
rustc: More stable hashes of command line arguments
alexcrichton Mar 1, 2018
ddfbf2b
Auto merge of #47861 - sgrif:sg-rebase-chalkify-universe-refactorings…
bors Mar 1, 2018
f198fa0
Merge branch 'master' into docs.rs-update-rustc
onur Mar 1, 2018
9cb18a9
Auto merge of #48653 - Manishearth:rollup2, r=Manishearth
bors Mar 2, 2018
805aa7b
Merge branch 'master' into docs.rs-update-rustc
onur Mar 2, 2018
6de47b1
Add resource-suffix option for rustdoc
GuillaumeGomez Feb 24, 2018
87e8b0c
Adjust root_path for docs.rs
onur Mar 2, 2018
878f5b0
Fix Decodable impl for Arc
Zoxc Feb 27, 2018
b74e97c
Replace Rc with Lrc for shared data
Zoxc Feb 27, 2018
fce7201
Impl !Send and !Sync for SourceFile
Zoxc Mar 2, 2018
f5f53e9
Revert "correct subtle bug in the type variable code"
sgrif Mar 2, 2018
a92408c
Update debian/ for the 1.26.0
onur Mar 2, 2018
1011b8a
Stabilize Unsafe Pointer Methods
tinaun Feb 16, 2018
e8af0f4
Auto merge of #48586 - Zoxc:atomic-rc, r=michaelwoerister
bors Mar 3, 2018
5f1f628
Auto merge of #48666 - sgrif:sg-revert-perf-regression, r=nikomatsakis
bors Mar 3, 2018
69c53ac
Run Rustfix on librustc
Manishearth Feb 23, 2018
f3cb962
Perform manual fixups
Manishearth Feb 23, 2018
fb7980d
Remove allow(bare_trait_object) from librustc
Manishearth Feb 23, 2018
8d730ed
Run Rustfix on librustc_mir
Manishearth Feb 23, 2018
3c95814
Perform manual fixups
Manishearth Feb 23, 2018
40f218f
Remove allow(bare_trait_object) from librustc_mir
Manishearth Feb 23, 2018
85a6b92
Rollup merge of #48477 - Manishearth:dyn-trait-fixes, r=nmatsakis
Manishearth Mar 3, 2018
65253fd
Rollup merge of #48259 - tinaun:patch-1, r=alexcrichton
Manishearth Mar 3, 2018
8bf026d
Rollup merge of #48328 - frewsxcv:frewsxcv-clarify-error-zero-duratio…
Manishearth Mar 3, 2018
8c7c8fb
Rollup merge of #48338 - estebank:match-missing-comma, r=petrochenkov
Manishearth Mar 3, 2018
6fa14f0
Rollup merge of #48628 - strake:reverse, r=sfackler
Manishearth Mar 3, 2018
3fa4bff
Rollup merge of #48635 - scottmcm:faster-zip-nth, r=kennytm
Manishearth Mar 3, 2018
40d2a98
Rollup merge of #48641 - alexcrichton:no-hash-l-paths, r=michaelwoeri…
Manishearth Mar 3, 2018
c9b86a9
Auto merge of #48689 - Manishearth:rollup, r=Manishearth
bors Mar 3, 2018
3b8bd53
Auto merge of #48583 - dotdash:jt_assume, r=alexcrichton
bors Mar 3, 2018
1d1cb23
Merge branch 'master' into docs.rs-update-rustc
onur Mar 3, 2018
482575f
Use html-root path for common files
onur Mar 3, 2018
5c1d29a
Remove suffix usage from format
onur Mar 3, 2018
11cba21
Update changelog
onur Mar 4, 2018
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
src/etc/installer/gfx/* binary
*.woff binary
src/vendor/** -text
Cargo.lock -merge
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,13 @@ config.stamp
keywords.md
lexer.ml
src/etc/dl
src/librustc_llvm/llvmdeps.rs
tmp.*.rs
version.md
version.ml
version.texi
.cargo
!src/vendor/**
/src/target/

no_llvm_build

20 changes: 14 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
path = src/llvm
url = https://github.com/rust-lang/llvm.git
branch = master
[submodule "src/rt/hoedown"]
path = src/rt/hoedown
url = https://github.com/rust-lang/hoedown.git
branch = rust-2015-09-21-do-not-delete
[submodule "src/jemalloc"]
path = src/jemalloc
url = https://github.com/rust-lang/jemalloc.git
Expand All @@ -21,10 +17,10 @@
[submodule "src/tools/cargo"]
path = src/tools/cargo
url = https://github.com/rust-lang/cargo.git
[submodule "reference"]
[submodule "src/doc/reference"]
path = src/doc/reference
url = https://github.com/rust-lang-nursery/reference.git
[submodule "book"]
[submodule "src/doc/book"]
path = src/doc/book
url = https://github.com/rust-lang/book.git
[submodule "src/tools/rls"]
Expand All @@ -42,3 +38,15 @@
[submodule "src/tools/miri"]
path = src/tools/miri
url = https://github.com/solson/miri.git
[submodule "src/dlmalloc"]
path = src/dlmalloc
url = https://github.com/alexcrichton/dlmalloc-rs.git
[submodule "src/binaryen"]
path = src/binaryen
url = https://github.com/alexcrichton/binaryen.git
[submodule "src/doc/rust-by-example"]
path = src/doc/rust-by-example
url = https://github.com/rust-lang/rust-by-example
[submodule "src/llvm-emscripten"]
path = src/llvm-emscripten
url = https://github.com/rust-lang/llvm
11 changes: 6 additions & 5 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ Boris Egorov <jightuse@gmail.com> <egorov@linux.com>
Brandon Sanderson <singingboyo@gmail.com> Brandon Sanderson <singingboyo@hotmail.com>
Brett Cannon <brett@python.org> Brett Cannon <brettcannon@users.noreply.github.com>
Brian Anderson <banderson@mozilla.com> <andersrb@gmail.com>
Brian Anderson <banderson@mozilla.com> <banderson@mozilla.org>
Brian Dawn <brian.t.dawn@gmail.com>
Brian Leibig <brian@brianleibig.com> Brian Leibig <brian.leibig@gmail.com>
Carl-Anton Ingmarsson <mail@carlanton.se> <ca.ingmarsson@gmail.com>
Carol (Nichols || Goulding) <carol.nichols@gmail.com>
Carol (Nichols || Goulding) <cnichols@thinkthroughmath.com>
Carol (Nichols || Goulding) <carol.nichols@gmail.com> <cnichols@thinkthroughmath.com>
Carol (Nichols || Goulding) <carol.nichols@gmail.com> Carol Nichols <carol.nichols@gmail.com>
Carol Willing <carolcode@willingconsulting.com>
Chris C Cerami <chrisccerami@users.noreply.github.com> Chris C Cerami <chrisccerami@gmail.com>
Chris Pressey <cpressey@gmail.com>
Expand Down Expand Up @@ -94,9 +95,9 @@ Herman J. Radtke III <herman@hermanradtke.com> Herman J. Radtke III <hermanradtk
Ilyong Cho <ilyoan@gmail.com>
Ivan Ivaschenko <defuz.net@gmail.com>
J. J. Weber <jjweber@gmail.com>
Jakub Bukaj <jakub@jakub.cc>
Jakub Bukaj <jakub@jakub.cc> <jakubw@jakubw.net>
Jakub Bukaj <jakub@jakub.cc> Jakub Bukaj <jakub.bukaj@yahoo.com>
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakub@jakub.cc>
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakubw@jakubw.net>
Jakub Adam Wieczorek <jakub.adam.wieczorek@gmail.com> <jakub.bukaj@yahoo.com>
James Deng <cnjamesdeng@gmail.com> <cnJamesDeng@gmail.com>
James Miller <bladeon@gmail.com> <james@aatch.net>
James Perry <james.austin.perry@gmail.com>
Expand Down
97 changes: 72 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,24 @@ services:
- docker

git:
depth: 1
depth: 2
submodules: false

matrix:
fast_finish: true
include:
# Images used in testing PR and try-build should be run first.
- env: IMAGE=x86_64-gnu-llvm-3.7 RUST_BACKTRACE=1
- env: IMAGE=x86_64-gnu-llvm-3.9 RUST_BACKTRACE=1
if: type = pull_request OR branch = auto

- env: IMAGE=dist-x86_64-linux DEPLOY=1
if: branch = try OR branch = auto

# "alternate" deployments, these are "nightlies" but don't have assertions
# turned on, they're deployed to a different location primarily for projects
# which are stuck on nightly and don't want llvm assertions in the artifacts
# that they use.
# "alternate" deployments, these are "nightlies" but have LLVM assertions
# turned on, they're deployed to a different location primarily for
# additional testing.
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1
if: branch = auto
if: branch = try OR branch = auto

- env: >
RUST_CHECK_TARGET=dist
Expand All @@ -36,7 +35,7 @@ matrix:
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
os: osx
osx_image: xcode7
osx_image: xcode7.3
if: branch = auto

# macOS builders. These are placed near the beginning because they are very
Expand All @@ -57,7 +56,7 @@ matrix:
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
os: osx
osx_image: xcode8.2
osx_image: xcode9.2
if: branch = auto

- env: >
Expand All @@ -71,7 +70,7 @@ matrix:
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
os: osx
osx_image: xcode8.2
osx_image: xcode9.2
if: branch = auto

# OSX builders producing releases. These do not run the full test suite and
Expand All @@ -82,7 +81,7 @@ matrix:
# OSX 10.7 and `xcode7` is the latest Xcode able to compile LLVM for 10.7.
- env: >
RUST_CHECK_TARGET=dist
RUST_CONFIGURE_ARGS="--build=i686-apple-darwin --enable-extended --enable-profiler"
RUST_CONFIGURE_ARGS="--build=i686-apple-darwin --enable-extended --enable-profiler --enable-emscripten"
SRC=.
DEPLOY=1
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
Expand All @@ -91,12 +90,12 @@ matrix:
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
os: osx
osx_image: xcode7
osx_image: xcode7.3
if: branch = auto

- env: >
RUST_CHECK_TARGET=dist
RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-extended --enable-sanitizers --enable-profiler"
RUST_CONFIGURE_ARGS="--target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-extended --enable-sanitizers --enable-profiler --enable-emscripten"
SRC=.
DEPLOY=1
RUSTC_RETRY_LINKER_ON_SEGFAULT=1
Expand All @@ -105,15 +104,17 @@ matrix:
NO_LLVM_ASSERTIONS=1
NO_DEBUG_ASSERTIONS=1
os: osx
osx_image: xcode7
osx_image: xcode7.3
if: branch = auto

# Linux builders, remaining docker images
- env: IMAGE=arm-android
if: branch = auto
- env: IMAGE=armhf-gnu
if: branch = auto
- env: IMAGE=cross DEPLOY=1
- env: IMAGE=dist-various-1 DEPLOY=1
if: branch = auto
- env: IMAGE=dist-various-2 DEPLOY=1
if: branch = auto
- env: IMAGE=dist-aarch64-linux DEPLOY=1
if: branch = auto
Expand All @@ -125,9 +126,7 @@ matrix:
if: branch = auto
- env: IMAGE=dist-armv7-linux DEPLOY=1
if: branch = auto
- env: IMAGE=dist-fuchsia DEPLOY=1
if: branch = auto
- env: IMAGE=dist-i586-gnu-i686-musl DEPLOY=1
- env: IMAGE=dist-i586-gnu-i586-i686-musl DEPLOY=1
if: branch = auto
- env: IMAGE=dist-i686-freebsd DEPLOY=1
if: branch = auto
Expand Down Expand Up @@ -161,14 +160,16 @@ matrix:
if: branch = auto
- env: IMAGE=i686-gnu-nopt
if: branch = auto
# - env: IMAGE=wasm32 issue 42646
# if: branch = auto
- env: IMAGE=wasm32-unknown
if: branch = auto
- env: IMAGE=x86_64-gnu
if: branch = auto
- env: IMAGE=x86_64-gnu-full-bootstrap
if: branch = auto
- env: IMAGE=x86_64-gnu-aux
if: branch = auto
- env: IMAGE=x86_64-gnu-tools
if: branch = auto
- env: IMAGE=x86_64-gnu-debug
if: branch = auto
- env: IMAGE=x86_64-gnu-nopt
Expand All @@ -178,17 +179,37 @@ matrix:
- env: IMAGE=x86_64-gnu-incremental
if: branch = auto

- stage: publish toolstate
if: branch = master AND type = push
before_install: []
install: []
cache: false
sudo: false
script:
MESSAGE_FILE=$(mktemp -t msg.XXXXXX);
. src/ci/docker/x86_64-gnu-tools/repo.sh;
commit_toolstate_change "$MESSAGE_FILE" "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "$MESSAGE_FILE" "$TOOLSTATE_REPO_ACCESS_TOKEN";

env:
global:
- SCCACHE_BUCKET=rust-lang-ci-sccache2
- SCCACHE_REGION=us-west-1
- AWS_ACCESS_KEY_ID=AKIAJAMV3QAMMA6AXHFQ
# AWS_SECRET_ACCESS_KEY=...
- secure: "j96XxTVOSUf4s4r4htIxn/fvIa5DWbMgLqWl7r8z2QfgUwscmkMXAwXuFNc7s7bGTpV/+CgDiMFFM6BAFLGKutytIF6oA02s9b+usQYnM0th7YQ2AIgm9GtMTJCJp4AoyfFmh8F2faUICBZlfVLUJ34udHEe35vOklix+0k4WDo="
# TOOLSTATE_REPO_ACCESS_TOKEN=...
- secure: "cFh8thThqEJLC98XKI5pfqflUzOlxsYPRW20AWRaYOOgYHPTiGWypTXiPbGSKaeAXTZoOA+DpQtEmefc0U6lt9dHc7a/MIaK6isFurjlnKYiLOeTruzyu1z7PWCeZ/jKXsU2RK/88DBtlNwfMdaMIeuKj14IVfpepPPL71ETbuk="

before_install:
- zcat $HOME/docker/rust-ci.tar.gz | docker load || true
- mkdir -p $HOME/rustsrc
# FIXME(#46924): these two commands are required to enable IPv6,
# they shouldn't exist, please revert once more official solutions appeared.
# see https://github.com/travis-ci/travis-ci/issues/8891#issuecomment-353403729
- if [ "$TRAVIS_OS_NAME" = linux ]; then
echo '{"ipv6":true,"fixed-cidr-v6":"fd9a:8454:6789:13f7::/64"}' | sudo tee /etc/docker/daemon.json;
sudo service docker restart;
fi

install:
- case "$TRAVIS_OS_NAME" in
Expand Down Expand Up @@ -251,7 +272,14 @@ after_failure:

# Random attempt at debugging currently. Just poking around in here to see if
# anything shows up.
- ls $HOME/Library/Logs/DiagnosticReports/
- ls -lat $HOME/Library/Logs/DiagnosticReports/
- find $HOME/Library/Logs/DiagnosticReports
-type f
-not -name '*.stage2-*.crash'
-not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
-exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
-exec head -750 {} \;
-exec echo travis_fold":"end:crashlog \;

# attempt to debug anything killed by the oom killer on linux, just to see if
# it happened
Expand Down Expand Up @@ -284,6 +312,8 @@ before_deploy:
rm -rf obj/build/dist/doc &&
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
fi
- travis_retry gem update --system
- ls -la deploy/$TRAVIS_COMMIT

deploy:
- provider: s3
Expand All @@ -300,11 +330,30 @@ deploy:
branch: auto
condition: $DEPLOY = 1

# this is the same as the above deployment provider except that it uploads to
# a slightly different directory and has a different trigger
- provider: s3
bucket: rust-lang-ci2
skip_cleanup: true
local_dir: deploy
upload_dir: rustc-builds-alt
acl: public_read
region: us-west-1
access_key_id: AKIAJVBODR3IA4O72THQ
secret_access_key:
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
on:
branch: auto
condition: $DEPLOY_ALT = 1

# These two providers are the same as the two above, except deploy on the
# try branch. Travis does not appear to provide a way to use "or" in these
# conditions.
- provider: s3
bucket: rust-lang-ci2
skip_cleanup: true
local_dir: deploy
upload_dir: rustc-builds-try
upload_dir: rustc-builds
acl: public_read
region: us-west-1
access_key_id: AKIAJVBODR3IA4O72THQ
Expand All @@ -314,8 +363,6 @@ deploy:
branch: try
condition: $DEPLOY = 1

# this is the same as the above deployment provider except that it uploads to
# a slightly different directory and has a different trigger
- provider: s3
bucket: rust-lang-ci2
skip_cleanup: true
Expand All @@ -327,5 +374,5 @@ deploy:
secret_access_key:
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
on:
branch: auto
branch: try
condition: $DEPLOY_ALT = 1
10 changes: 6 additions & 4 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ A version of this document [can be found online](https://www.rust-lang.org/condu

**Contact**: [rust-mods@rust-lang.org](mailto:rust-mods@rust-lang.org)

* We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.
* We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.
* On IRC, please avoid using overtly sexual nicknames or other nicknames that might detract from a friendly, safe and welcoming environment for all.
* Please be kind and courteous. There's no need to be mean or rude.
* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.
* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behaviour. We interpret the term "harassment" as including the definition in the <a href="http://citizencodeofconduct.org/">Citizen Code of Conduct</a>; if you have any lack of clarity about what might be included in that concept, please read their definition. In particular, we don't tolerate behavior that excludes people in socially marginalized groups.
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the [Rust moderation team](/team.html#Moderation) immediately. Whether you're a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back.
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact one of the channel ops or any of the [Rust moderation team][mod_team] immediately. Whether you're a regular contributor or a newcomer, we care about making this community a safe place for you and we've got your back.
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behaviour is not welcome.

## Moderation


These are the policies for upholding our community's standards of conduct. If you feel that a thread needs moderation, please contact the [Rust moderation team](/team.html#Moderation).
These are the policies for upholding our community's standards of conduct. If you feel that a thread needs moderation, please contact the [Rust moderation team][mod_team].

1. Remarks that violate the Rust standards of conduct, including hateful, hurtful, oppressive, or exclusionary remarks, are not allowed. (Cursing is allowed, but never targeting another user, and never in a hateful manner.)
2. Remarks that moderators find inappropriate, whether listed in the code of conduct or not, are also not allowed.
Expand All @@ -35,4 +35,6 @@ And if someone takes issue with something you said or did, resist the urge to be

The enforcement policies listed above apply to all official Rust venues; including official IRC channels (#rust, #rust-internals, #rust-tools, #rust-libs, #rustc, #rust-beginners, #rust-docs, #rust-community, #rust-lang, and #cargo); GitHub repositories under rust-lang, rust-lang-nursery, and rust-lang-deprecated; and all forums under rust-lang.org (users.rust-lang.org, internals.rust-lang.org). For other projects adopting the Rust Code of Conduct, please contact the maintainers of those projects for enforcement. If you wish to use this code of conduct for your own project, consider explicitly mentioning your moderation policy or making a copy with your own moderation policy so as to avoid confusion.

*Adapted from the [Node.js Policy on Trolling](http://blog.izs.me/post/30036893703/policy-on-trolling) as well as the [Contributor Covenant v1.3.0](http://contributor-covenant.org/version/1/3/0/).*
*Adapted from the [Node.js Policy on Trolling](http://blog.izs.me/post/30036893703/policy-on-trolling) as well as the [Contributor Covenant v1.3.0](https://www.contributor-covenant.org/version/1/3/0/).*

[mod_team]: https://www.rust-lang.org/team.html#Moderation-team
Loading