Skip to content
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

Feature/nth back chunks #60545

Closed
wants to merge 318 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
318 commits
Select commit Hold shift + click to select a range
fc34d5f
Removed unneccesary reference for trait name
jespersm May 2, 2019
6802082
Hash all of the import_ids for the TraitCandidate.
jespersm May 2, 2019
6da7649
Delegate SmallVec's stable_hash to array's stable_hash.
jespersm May 2, 2019
f5b5ca8
Revert Cargo.lock changes accidentally introduced during rebase
petrochenkov May 4, 2019
3e6787c
Early error for mixing order of const and type parameters
varkor May 4, 2019
747dd57
Auto merge of #60415 - jespersm:pr_unused_import_45268, r=petrochenkov
bors May 4, 2019
a823fa4
Auto merge of #60476 - froydnj:aarch64-profiling, r=alexcrichton
bors May 5, 2019
121caa9
Correct handling of arguments in async fn
taiki-e May 5, 2019
c55b68a
Auto merge of #60508 - varkor:const-generics-fold-ct-err, r=petrochenkov
bors May 5, 2019
d65e721
Auto merge of #60525 - eddyb:namespaces-not-kinds, r=petrochenkov
bors May 5, 2019
e6da57f
Fix argument alias handling for -O and -C opt-level
varkor Apr 30, 2019
e8e43c9
Fix argument alias handling for -g and -C debuginfo
varkor Apr 30, 2019
11b1d48
Add a run-make test for command aliases
varkor Apr 30, 2019
d54cf00
Add comments
varkor May 1, 2019
ecd0468
Update getopts to 0.2.19
varkor May 2, 2019
12f63ec
Move run-make test to run-make-fulldeps
varkor May 4, 2019
80f54ba
Update Cargo.lock
varkor May 4, 2019
5d8fd98
Auto merge of #60544 - petrochenkov:parder, r=eddyb
bors May 5, 2019
57ec63c
Add tests for by-ref binding
taiki-e May 5, 2019
c6b1698
Auto merge of #60541 - RalfJung:miri-visitor-generators, r=oli-obk
bors May 5, 2019
125dc60
rustc: replace uses of with_freevars with the freevars query.
eddyb May 4, 2019
8d9f4a1
rustc: rename all occurences of "freevar" to "upvar".
eddyb May 4, 2019
91e0c25
Update mailmap to proper syntax
Mark-Simulacrum May 5, 2019
968eb7f
code review fixes
saleemjaffer May 5, 2019
d628c2e
Auto merge of #60237 - saleemjaffer:issue-56166-miri-fntype-arg-passi…
bors May 5, 2019
577b0b9
Rollup merge of #60131 - agnxy:doc-link, r=ehuss
Manishearth May 5, 2019
a8ed677
Rollup merge of #60426 - varkor:fix-duplicate-arg-handling, r=alexcri…
Manishearth May 5, 2019
d475c4e
Rollup merge of #60515 - euclio:div-in-heading, r=GuillaumeGomez
Manishearth May 5, 2019
2c7712b
Rollup merge of #60530 - eddyb:unfreevars, r=oli-obk
Manishearth May 5, 2019
ff7ef11
Rollup merge of #60536 - brainplot:fix-unicode-character, r=dtolnay
Manishearth May 5, 2019
dc54cd0
fix typo in enum variant name
RalfJung May 5, 2019
40bd145
Auto merge of #60567 - Manishearth:rollup-rjagqnw, r=Manishearth
bors May 5, 2019
764e366
to_xe_bytes for isize and usize returns an array of different size
stepancheg Apr 14, 2019
46d0ca0
Auto merge of #60261 - matklad:one-escape, r=petrochenkov
bors May 6, 2019
eda0699
Auto merge of #60569 - RalfJung:miri-visitor-generators, r=Centril
bors May 6, 2019
7ac0200
Auto merge of #60436 - Xanewok:update-rls, r=Manishearth
bors May 6, 2019
d98a165
Auto merge of #60565 - Mark-Simulacrum:mailmap-fixes, r=pietroalbini
bors May 6, 2019
97d3ad0
Only hash dep node indices of deps of anon tasks
Zoxc Apr 16, 2019
c3694e5
Rename `ParamTy::idx` to `ParamTy::index`
varkor May 6, 2019
638d1d3
Remove duplicate comment
varkor May 6, 2019
59ebd1b
Shift const vars through binders
varkor May 6, 2019
ad78fcf
Ignore const parameters when constructing type bounds in rustdoc
varkor May 6, 2019
c619754
Implement TypeFoldable for InferConst
varkor May 6, 2019
670cf11
Clean up `push_const_name`
varkor May 6, 2019
c0454f0
Remove incorrect FIXME
varkor May 6, 2019
c3b8ab5
Auto merge of #60337 - fabric-and-ink:hiridification, r=Zoxc
bors May 6, 2019
5fc0395
Resolve a couple of `unimplemented!()`s
varkor May 6, 2019
9a2772a
Implement `ToTrace` for `ty::Const`
varkor May 6, 2019
594685b
`token::LArrow` can begin arguments
varkor May 6, 2019
e570fe5
Remove resolved FIXME
varkor May 6, 2019
a19cf18
Auto merge of #53645 - varkor:const-generics-redux, r=eddyb
bors May 6, 2019
6d26c5f
rustfmt
mark-i-m May 6, 2019
9a0a87a
Revert "Disable big-endian simd in swap_nonoverlapping_bytes"
cuviper May 6, 2019
f64ed09
Auto merge of #60526 - alexcrichton:wasm-main-symbols, r=oli-obk
bors May 6, 2019
a416a19
Add test for current behaviour.
davidtwco May 6, 2019
54430ad
review comments: fix typo and add comments
estebank May 6, 2019
9a2ee0a
serialize: add missing Encodable impl for Path.
eddyb May 2, 2019
eeedd3a
Auto merge of #60531 - Centril:sort-features, r=oli-obk
bors May 7, 2019
fc72e56
Update cargo
ehuss May 7, 2019
f0e43fc
compiletest: only use `make_exe_name` for tests that end up being exe…
eddyb May 2, 2019
1618c07
rustc: rename -Z emit-directives to -Z emit-artifact-notifications an…
eddyb May 2, 2019
bb1c67d
rustc_codegen_ssa: emit artifact notifications for the main link prod…
eddyb May 2, 2019
2e789b9
Add test for #59972
tmandry May 6, 2019
c89a131
compiletest: uniformly normalize paths, so they all work on all platf…
eddyb May 7, 2019
b8fa4cb
Auto merge of #60464 - eddyb:not-overly-specific-pipelining, r=alexcr…
bors May 7, 2019
55c48b4
Auto merge of #60596 - ehuss:update-cargo, r=alexcrichton
bors May 7, 2019
f2919a3
Trust signature over return expr for generators.
davidtwco May 6, 2019
c6ac575
Auto merge of #60573 - Zoxc:dep-stream-prefix-2, r=michaelwoerister
bors May 7, 2019
d5e8190
Add a `cast` method to raw pointers.
SimonSapin May 7, 2019
f5371a5
Auto merge of #60592 - davidtwco:generator-signature-deduction, r=eddyb
bors May 7, 2019
1516087
add negative tests for OS X LLVM target changes
froydnj Apr 29, 2019
97ba4c9
choose a more specific LLVM target on OS X when necessary
froydnj Apr 25, 2019
b98bf88
Be a bit more explicit asserting over the vec rather than the len
spastorino May 7, 2019
17dba3b
Auto merge of #60277 - estebank:relate-ice, r=varkor
bors May 7, 2019
4e23358
Rollup merge of #60489 - GuillaumeGomez:remove-hamburger, r=QuietMisd…
Centril May 7, 2019
535db2f
Rollup merge of #60535 - taiki-e:async-fn-arguments, r=cramertj
Centril May 7, 2019
e280818
Rollup merge of #60579 - varkor:typaram-index, r=eddyb
Centril May 7, 2019
9995bb5
Rollup merge of #60583 - varkor:const-generics-emplace, r=petrochenkov
Centril May 7, 2019
2d6da83
Rollup merge of #60609 - spastorino:be-explicit-on-mem-replace-doc, r…
Centril May 7, 2019
cfdc84a
Auto merge of #60612 - Centril:rollup-61drhqt, r=Centril
bors May 7, 2019
fe8760c
Implement built-in await syntax
cramertj Apr 18, 2019
33cde4a
Auto merge of #60586 - cramertj:await, r=oli-obk
bors May 7, 2019
606bb6f
avoid extra copy
mark-i-m May 6, 2019
5db665b
lots of comments + minor cleanup
mark-i-m May 6, 2019
152b26a
submodules: update clippy from fc96aa03 to 341c96af
matthiaskrgr May 8, 2019
b92d360
Auto merge of #60378 - froydnj:apple-target-modifications, r=michaelw…
bors May 8, 2019
bfa15f3
Add tests for concrete const types
skinnyBat May 4, 2019
df5a011
Optimize HIR map
Zoxc Apr 24, 2019
c87d2cc
test for #50518
matklad May 8, 2019
d33db6e
Rename HirMap to HirEntryMap and add some comments
Zoxc May 8, 2019
d7f4a86
Auto merge of #60246 - Zoxc:hir-map-vec, r=eddyb
bors May 8, 2019
47768b2
Document + Cleanup lang_items.rs
Centril May 8, 2019
7e80355
std: Update compiler-builtins crate
alexcrichton May 2, 2019
e65ef96
libprofiler_builtins: Set compilation flags more correctly for C code.
michaelwoerister Apr 30, 2019
0ffc573
AppVeyor: Update clang-cl from 7.0.0 to 8.0.0
michaelwoerister May 8, 2019
cf0f2b0
pin: make the to-module link more visible
RalfJung May 8, 2019
e630580
Auto merge of #60626 - matthiaskrgr:submodule_upd, r=oli-obk
bors May 8, 2019
cc40f41
Instead of ICEing on incorrect pattern, use delay_span_bug
estebank May 8, 2019
eb7d47c
fix incorrect assert
mark-i-m May 8, 2019
3f5152e
Auto merge of #60402 - michaelwoerister:update-profiler-rt-build, r=a…
bors May 8, 2019
0fce5c1
Use `delay_span_bug` for "Failed to unify obligation"
estebank May 8, 2019
58d39a9
save-analysis: Fix ICE when processing associated constant
Xanewok May 8, 2019
ee6d315
cleanup: Remove `DefIndexAddressSpace`
petrochenkov May 8, 2019
d0ba8fe
Skip codegen for one UI test with long file path
petrochenkov May 8, 2019
229fff3
Rollup merge of #59979 - stepancheg:num-size, r=ehuss
Centril May 8, 2019
cfed892
Rollup merge of #60491 - alexcrichton:update-cb, r=nikomatsakis
Centril May 8, 2019
59ff113
Rollup merge of #60550 - skinny121:concrete_const_tests, r=varkor
Centril May 8, 2019
b04f87f
Rollup merge of #60572 - tmandry:issue-59972, r=RalfJung,oli-obk
Centril May 8, 2019
d20b692
Rollup merge of #60627 - matklad:test, r=estebank
Centril May 8, 2019
450ad65
Rollup merge of #60634 - Centril:lang-items-docs, r=oli-obk
Centril May 8, 2019
0597292
Rollup merge of #60641 - estebank:defer-ice, r=oli-obk
Centril May 8, 2019
f683b6b
Rollup merge of #60644 - estebank:abolish-ice, r=varkor
Centril May 8, 2019
9f83961
Auto merge of #60651 - Centril:rollup-zoamjfk, r=Centril
bors May 8, 2019
b9c4301
Inline some Cursor calls for slices
petertodd May 9, 2019
028e78d
Stabilize and re-export core::array
JohnTitor May 9, 2019
d4f071a
ci: update dist-various-2 to ubuntu 18.04
pietroalbini May 9, 2019
8f9e90b
ci: use our own mirror for fuchsia's zircon repository
pietroalbini May 9, 2019
c98a27c
ci: bump ubuntu 18.10 images to 19.04
pietroalbini May 9, 2019
f3993d0
Fix typo
Zoxc May 9, 2019
e73ba21
save-analysis: Add UI testsuite
Xanewok May 9, 2019
ef01f29
Auto merge of #60668 - Zoxc:hir-map-vec, r=matthewjasper
bors May 9, 2019
0af18ee
Appease tidy
Xanewok May 9, 2019
b2f71fb
remove unneeded `extern crate`s from build tools
euclio May 9, 2019
8fd5587
Rollup merge of #60601 - SimonSapin:cast, r=Kimundi
Centril May 9, 2019
a74313b
Rollup merge of #60638 - RalfJung:pin, r=sanxiyn
Centril May 9, 2019
26a7544
Rollup merge of #60647 - petrochenkov:nospace, r=michaelwoerister
Centril May 9, 2019
671dd09
Rollup merge of #60656 - petertodd:2019-inline-cursor-over-slice, r=s…
Centril May 9, 2019
e40f9a6
Rollup merge of #60657 - JohnTitor:stabilize-array, r=SimonSapin
Centril May 9, 2019
e57c7b8
Add regression test for #60674.
davidtwco May 9, 2019
df41e4f
Remove the old await! macro
cramertj May 9, 2019
dcd3cf7
Do not modify mutability of simple bindings.
davidtwco May 9, 2019
d5e0406
Add FIXME about `construct_async_arguments`.
davidtwco May 9, 2019
1fe3ce1
Omit the vendor component in the WASI triple
sunfishcode May 1, 2019
a784a80
Auto merge of #60672 - Centril:rollup-fhcx463, r=Centril
bors May 9, 2019
adcd4aa
Auto merge of #60665 - pietroalbini:upgrade-ci-images, r=alexcrichton
bors May 9, 2019
62ab971
Rollup merge of #59348 - matthewjasper:cleanup-drop-shims, r=arielb1
Centril May 9, 2019
39edc68
Rollup merge of #60188 - estebank:recover-block, r=varkor
Centril May 9, 2019
bd17b5c
Rollup merge of #60234 - tesaguri:cursor-default, r=Amanieu
Centril May 9, 2019
903fc4b
Rollup merge of #60618 - mark-i-m:transcribe, r=petrochenkov
Centril May 9, 2019
e7b4023
Rollup merge of #60648 - petrochenkov:shorten2, r=Dylan-DPC
Centril May 9, 2019
f27f14b
Rollup merge of #60671 - euclio:extern-crate, r=Centril
Centril May 9, 2019
f6df1f6
Rollup merge of #60675 - cramertj:no-await-macro, r=nikomatsakis,Centril
Centril May 9, 2019
45b0945
Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj
Centril May 9, 2019
adb998f
Fix cfg(test) build on SGX
May 9, 2019
03bd2f6
Auto merge of #60683 - Centril:rollup-p05qh5d, r=Centril
bors May 10, 2019
407536e
Auto merge of #60451 - rasendubi:binaryheap-min-heap, r=scottmcm
bors May 10, 2019
8c465b4
Add `InternedString::with2`.
nnethercote May 9, 2019
c2cae7b
Avoid recursion in de-gensym functions.
nnethercote May 9, 2019
0e27c36
Add various comments.
nnethercote May 9, 2019
cb7eacb
Remove the `From<InternedString> for String` impl.
nnethercote May 9, 2019
e53bb1a
Reduce `Symbol`'s interface slightly.
nnethercote May 9, 2019
c441b8a
Auto merge of #60585 - sunfishcode:wasm32-wasi, r=alexcrichton
bors May 10, 2019
d28b7af
Extend existing test for nested mut patterns.
davidtwco May 10, 2019
0ac53da
Auto merge of #60684 - jethrogb:jb/sgx-test, r=joshtriplett
bors May 10, 2019
c81780b
add regression test for #60629
hellow554 May 10, 2019
aeee1fb
syntax_pos: Optimize symbol interner pre-filling slightly
petrochenkov May 10, 2019
f74debb
Make tests compatible with musl host
mati865 May 2, 2019
0caa251
Conditionally provide cc in musl-toolchain.sh
mati865 May 10, 2019
8fbe1ed
Update mailmap for mati865
mati865 May 10, 2019
5b6bda3
turn a couple of fixmes into span_bugs
mark-i-m May 7, 2019
cff1bdb
Auto merge of #60588 - cuviper:be-simd-swap, r=alexcrichton
bors May 10, 2019
0db087e
Add uninhabitedness tests w/ `#[non_exhaustive]`.
davidtwco May 4, 2019
0d034a2
Fix inhabitedness of non-exhaustive variants.
davidtwco May 4, 2019
8838b91
Fix uninhabitedness of non-exhaustive enums.
davidtwco May 4, 2019
214f977
Move uninhabited tests into subdirectory.
davidtwco May 4, 2019
1f0fb03
Add a bunch more tests.
davidtwco May 4, 2019
5cccda1
Remove hir::ExprKind::If and replace it with lowering to hir::ExprKin…
Centril Mar 11, 2019
9903968
Adjust mir-opt tests for new HIR without If
Centril Apr 24, 2019
8d1e5b8
Various test changes
Centril Mar 19, 2019
efd3733
add test checking that 'if cond { .. }' where 'cond: &mut? bool' isn'…
Centril Apr 25, 2019
f9cc5a6
check_match: add FIXME for removing of hack.
Centril May 10, 2019
d94cb9f
Rollup merge of #60529 - davidtwco:rfc-2008-uninhabited, r=petrochenkov
Centril May 10, 2019
20dff29
Rollup merge of #60620 - mark-i-m:transcribe-2, r=petrochenkov
Centril May 10, 2019
bc8c782
Rollup merge of #60659 - nnethercote:tweak-Symbol-and-InternedString,…
Centril May 10, 2019
ec6afb1
Rollup merge of #60692 - davidtwco:pr-60676-followup, r=Centril
Centril May 10, 2019
0b63f55
Rollup merge of #60697 - hellow554:fix_60629, r=michaelwoerister
Centril May 10, 2019
329275a
Rollup merge of #60701 - mati865:mailmap, r=Mark-Simulacrum
Centril May 10, 2019
385d012
Make const parent errors delay_span_bugs
varkor May 10, 2019
5310801
Add a test for invalid const arguments
varkor May 10, 2019
0f792ab
Add a test for failed inference of const types
varkor May 10, 2019
d595b11
Auto merge of #60708 - Centril:rollup-j5smdo0, r=Centril
bors May 10, 2019
26afc4f
Allow fallible `lift_to_global` in existential type writeback
varkor May 10, 2019
aa9369c
Add test
varkor May 10, 2019
acc7e65
Auto merge of #59288 - Centril:hir-if-to-match, r=oli-obk
bors May 10, 2019
0686daa
Unwrap singleton block expressions in const arguments
varkor May 10, 2019
b3207d5
Add test for const impl
varkor May 10, 2019
c158a0f
Remove unnecessary unwraps
estebank May 10, 2019
0545375
Add examples of ordered retain
cuviper May 11, 2019
adc18eb
Avoid ICE by using delay_span_bug
estebank May 11, 2019
7519eac
Auto merge of #60721 - estebank:ice-ice-baby, r=varkor
bors May 11, 2019
b8e0d0a
Auto merge of #60700 - petrochenkov:preintern, r=nnethercote
bors May 11, 2019
740a8da
add comment to `Rc`/`Arc`'s `Eq` specialization
chpio May 11, 2019
af39a1f
Auto merge of #60717 - varkor:impl-const-generic, r=matthewjasper
bors May 11, 2019
28b125b
Turn `ast::Lit` into a struct
petrochenkov May 8, 2019
f2834a4
Keep the original token in `ast::Lit`
petrochenkov May 8, 2019
751ae5a
Introduce `hir::Lit` not keeping the original token
petrochenkov May 9, 2019
a5b3f33
Eliminate `comments::Literal`
petrochenkov May 9, 2019
8739668
Simplify conversions between tokens and semantic literals
petrochenkov May 10, 2019
5f1924c
Auto merge of #60714 - varkor:existential-global-lift-ice, r=oli-obk
bors May 11, 2019
3f064ca
Move literal parsing code into a separate file
petrochenkov May 10, 2019
362431b
Cleanup the .await HIR lowering with .stmt(..).
Centril May 11, 2019
83ed781
Address comments + Fix tests
petrochenkov May 11, 2019
d177135
Update clippy
Manishearth May 11, 2019
3103fb2
Auto merge of #60739 - Manishearth:clippyup, r=Manishearth
bors May 11, 2019
a145b14
Remove redundant "let mut" in write_graph_label
shiatsumat May 11, 2019
5ccf2fb
Add #[doc(hidden)] attribute on compiler generated proc-macro module.
iliekturtles May 5, 2019
af98304
Auto merge of #60318 - jethrogb:jb/try-from-slice-to-infallible, r=sf…
bors May 11, 2019
5da009e
Rollup merge of #60720 - estebank:no-ice-thanks, r=zackmdavis
Centril May 11, 2019
e19ad45
Rollup merge of #60727 - chpio:master, r=sfackler
Centril May 11, 2019
5490cc1
Rollup merge of #60733 - Centril:cleanup-lowering-await, r=varkor
Centril May 11, 2019
f2dd97c
Rollup merge of #60741 - shiatsumat:patch-let-mut-write-graph-label, …
Centril May 11, 2019
d28e948
Auto merge of #60748 - Centril:rollup-rr63jqo, r=Centril
bors May 11, 2019
3b78a47
Fix HIR printing of existential type #60662
Pulkit07 May 9, 2019
14b3538
syntax: Remove some legacy nonterminal tokens
petrochenkov May 11, 2019
0535e42
ast_validation: comments -> doc comments
Centril May 5, 2019
9b4a630
syntax::parse::parser: convert unnecessary '&mut self's to '&self'.
Centril May 12, 2019
b680b66
parse_bottom_expr: extract common 'return' out.
Centril May 12, 2019
4aa4a8f
Minor cleanup in parse_assoc_expr_with.
Centril May 12, 2019
0fc2cfb
Fix minor typos for ItemLocalId
shiatsumat May 12, 2019
16e356e
Auto merge of #60396 - cuviper:ordered-retain, r=scottmcm
bors May 12, 2019
efa3c27
Auto merge of #60474 - mati865:musl_toolchain, r=alexcrichton
bors May 12, 2019
0df1e57
Auto merge of #60244 - SimonSapin:dangling, r=oli-obk
bors May 12, 2019
664c8ed
Always use the stronger outlives version for opaque types
matthewjasper May 12, 2019
1f5145e
Treat generators the same as closure for escaping lifetimes
matthewjasper May 12, 2019
1764b29
Auto merge of #60679 - petrochenkov:lit2, r=matklad
bors May 12, 2019
9a4f0ab
Don't allow any ReScope in impl trait types
matthewjasper May 12, 2019
8327517
Rollup merge of #60694 - Pulkit07:issue60662, r=alexreg
Centril May 12, 2019
d11b6be
Rollup merge of #60750 - petrochenkov:noquotok2, r=Mark-Simulacrum
Centril May 12, 2019
c0aeaa1
Rollup merge of #60751 - Centril:general-cleanup, r=petrochenkov
Centril May 12, 2019
b381e52
Rollup merge of #60752 - shiatsumat:minor-typos-hir, r=wesleywiser
Centril May 12, 2019
4443957
Auto merge of #60767 - Centril:rollup-4cbsb73, r=Centril
bors May 12, 2019
a8245f5
Add lots of static `Symbols`.
nnethercote May 6, 2019
79602c8
Rename `syntax::symbol::symbols` as `syntax::symbol::sym`.
nnethercote May 9, 2019
fb084a4
Pass a `Symbol` to `check_name`, `emit_feature_err`, and related func…
nnethercote May 8, 2019
999c1fc
Remove the equality operation between `Symbol` and strings.
nnethercote May 7, 2019
ea9fac5
Return a `Symbol` from `name_or_empty` functions.
nnethercote May 8, 2019
fe5f42c
Auto merge of #60630 - nnethercote:use-Symbol-more, r=petrochenkov
bors May 13, 2019
69ef8fb
Auto merge of #60765 - matthewjasper:fix-more-escaping-rescopes, r=ol…
bors May 13, 2019
a9ec99f
Auto merge of #60649 - Xanewok:save-analysis-assoc-const-ice, r=oli-obk
bors May 13, 2019
ea956e3
add impl_trait_in_bindings to INCOMPLETE_FEATURES
Pulkit07 May 12, 2019
2821329
Rollup merge of #60176 - matthewjasper:yield-ref-to-local, r=pnkfelix
Centril May 13, 2019
c8ef512
Rollup merge of #60201 - RalfJung:core-tests, r=alexcrichton
Centril May 13, 2019
e952b52
Rollup merge of #60562 - iliekturtles:proc-macro-missing-docs, r=alex…
Centril May 13, 2019
25b5d30
Rollup merge of #60710 - varkor:delay_span_bug-const-parent, r=matthe…
Centril May 13, 2019
b698609
Rollup merge of #60770 - Pulkit07:issue60764, r=Centril
Centril May 13, 2019
80e7cde
Auto merge of #60794 - Centril:rollup-vlguvns, r=Centril
bors May 14, 2019
02a148d
wip nth_back on chunks
Apr 26, 2019
aff83c8
hopefully working nth_back on chunks
May 1, 2019
16223e4
new implementation for nth_back for chunks
wizAmit May 14, 2019
fd15405
fixed merge conflicts
wizAmit May 14, 2019
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
  •  
  •  
  •  
13 changes: 9 additions & 4 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ Chris C Cerami <[email protected]> Chris C Cerami <chrisccer
Chris Pressey <[email protected]>
Chris Thorn <[email protected]> Chris Thorn <[email protected]>
Chris Vittal <[email protected]> Christopher Vittal <[email protected]>
Christian Poveda <[email protected]> <[email protected]> <[email protected]>
Christian Poveda <[email protected]> <[email protected]>
Christian Poveda <[email protected]> <[email protected]>
Clark Gaebel <[email protected]> <[email protected]>
Clinton Ryan <[email protected]>
Corey Richardson <[email protected]> Elaine "See More" Nemo <[email protected]>
Expand All @@ -79,7 +80,9 @@ Eric Holk <[email protected]> <[email protected]>
Eric Holmes <[email protected]>
Eric Reed <[email protected]> <[email protected]>
Erick Tryzelaar <[email protected]> <[email protected]>
Esteban Küber <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Esteban Küber <[email protected]> <[email protected]>
Esteban Küber <[email protected]> <[email protected]>
Esteban Küber <[email protected]> <[email protected]>
Evgeny Sologubov
Falco Hirschenberger <[email protected]> <[email protected]>
Felix S. Klock II <[email protected]> Felix S Klock II <[email protected]>
Expand Down Expand Up @@ -146,12 +149,14 @@ NAKASHIMA, Makoto <[email protected]> <[email protected]>
NAKASHIMA, Makoto <[email protected]> <[email protected]>
Marcell Pardavi <[email protected]>
Margaret Meyerhofer <[email protected]> <mmeyerho@andrew>
Mark Simulacrum <[email protected]>
Mark Rousskov <[email protected]>
Mark Sinclair <[email protected]>
Mark Sinclair <[email protected]> =Mark Sinclair <[email protected]>
Markus Westerlind <[email protected]> Markus <[email protected]>
Martin Hafskjold Thoresen <[email protected]>
Matej Lach <[email protected]> Matej Ľach <[email protected]>
Mateusz Mikuła <[email protected]> <[email protected]>
Mateusz Mikuła <[email protected]> <[email protected]>
Matt Brubeck <[email protected]> <[email protected]>
Matthew Auld <[email protected]>
Matthew McPherrin <[email protected]> <[email protected]>
Expand Down Expand Up @@ -226,7 +231,7 @@ Tim Joseph Dumol <[email protected]>
Torsten Weber <[email protected]> <[email protected]>
Ty Overby <[email protected]>
Ulrik Sverdrup <[email protected]> bluss <bluss>
Ulrik Sverdrup <[email protected]> bluss <[email protected]> bluss <bluss>
Ulrik Sverdrup <[email protected]> bluss <[email protected]>
Ulrik Sverdrup <[email protected]> Ulrik Sverdrup <root@localhost>
Vadim Petrochenkov <[email protected]>
Vadim Petrochenkov <[email protected]> petrochenkov <[email protected]>
Expand Down
142 changes: 68 additions & 74 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ install:
# Note that the LLVM installer is an NSIS installer
#
# Original downloaded here came from
# http://releases.llvm.org/7.0.0/LLVM-7.0.0-win64.exe
- if NOT defined MINGW_URL appveyor-retry appveyor DownloadFile https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/LLVM-7.0.0-win64.exe
- if NOT defined MINGW_URL .\LLVM-7.0.0-win64.exe /S /NCRC /D=C:\clang-rust
# http://releases.llvm.org/8.0.0/LLVM-8.0.0-win64.exe
- if NOT defined MINGW_URL appveyor-retry appveyor DownloadFile https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/LLVM-8.0.0-win64.exe
- if NOT defined MINGW_URL .\LLVM-8.0.0-win64.exe /S /NCRC /D=C:\clang-rust
- if NOT defined MINGW_URL set RUST_CONFIGURE_ARGS=%RUST_CONFIGURE_ARGS% --set llvm.clang-cl=C:\clang-rust\bin\clang-cl.exe

# Here we do a pretty heinous thing which is to mangle the MinGW installation
Expand Down
2 changes: 1 addition & 1 deletion config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@
# linked binaries
#musl-root = "..."

# The root location of the `wasm32-unknown-wasi` sysroot.
# The root location of the `wasm32-wasi` sysroot.
#wasi-root = "..."

# Used in testing for configuring where the QEMU images are located, you
Expand Down
7 changes: 3 additions & 4 deletions src/bootstrap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,13 @@ build_helper = { path = "../build_helper" }
cmake = "0.1.38"
filetime = "0.2"
num_cpus = "1.0"
getopts = "0.2.18"
getopts = "0.2.19"
cc = "1.0.35"
libc = "0.2"
serde = "1.0.8"
serde_derive = "1.0.8"
serde = { version = "1.0.8", features = ["derive"] }
serde_json = "1.0.2"
toml = "0.4"
lazy_static = "0.2"
lazy_static = "1.3.0"
time = "0.1"
petgraph = "0.4.13"

Expand Down
4 changes: 4 additions & 0 deletions src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ use std::path::{Path, PathBuf};
use std::process::Command;
use std::time::{Duration, Instant};

use build_helper::t;

use crate::cache::{Cache, Interned, INTERNER};
use crate::check;
use crate::compile;
Expand Down Expand Up @@ -1308,6 +1310,8 @@ mod __test {
use crate::config::Config;
use std::thread;

use pretty_assertions::assert_eq;

fn configure(host: &[&str], target: &[&str]) -> Config {
let mut config = Config::default_opts();
// don't save toolstates
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ use std::path::{Path, PathBuf};
use std::sync::Mutex;
use std::cmp::{PartialOrd, Ord, Ordering};

use lazy_static::lazy_static;

use crate::builder::Step;

pub struct Interned<T>(usize, PhantomData<*const T>);
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use std::fs;
use std::io::{self, ErrorKind};
use std::path::Path;

use build_helper::t;

use crate::Build;

pub fn clean(build: &Build, all: bool) {
Expand Down
3 changes: 2 additions & 1 deletion src/bootstrap/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ use std::path::{Path, PathBuf};
use std::process::{Command, Stdio, exit};
use std::str;

use build_helper::{output, mtime, up_to_date};
use build_helper::{output, mtime, t, up_to_date};
use filetime::FileTime;
use serde::Deserialize;
use serde_json;

use crate::dist;
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ use std::path::{Path, PathBuf};
use std::process;
use std::cmp;

use build_helper::t;
use num_cpus;
use toml;
use serde::Deserialize;
use crate::cache::{INTERNER, Interned};
use crate::flags::Flags;
pub use crate::flags::Subcommand;
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::io::Write;
use std::path::{PathBuf, Path};
use std::process::{Command, Stdio};

use build_helper::output;
use build_helper::{output, t};

use crate::{Compiler, Mode, LLVM_TOOLS};
use crate::channel;
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::io;
use std::path::{PathBuf, Path};

use crate::Mode;
use build_helper::up_to_date;
use build_helper::{t, up_to_date};

use crate::util::symlink_dir;
use crate::builder::{Builder, Compiler, RunConfig, ShouldRun, Step};
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ use std::fs;
use std::path::{Path, PathBuf, Component};
use std::process::Command;

use build_helper::t;

use crate::dist::{self, pkgname, sanitize_sh, tmpdir};

use crate::builder::{Builder, RunConfig, ShouldRun, Step};
Expand Down
15 changes: 3 additions & 12 deletions src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,6 @@
#![feature(core_intrinsics)]
#![feature(drain_filter)]

#[macro_use]
extern crate build_helper;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate lazy_static;

#[cfg(test)]
#[macro_use]
extern crate pretty_assertions;

use std::cell::{RefCell, Cell};
use std::collections::{HashSet, HashMap};
use std::env;
Expand All @@ -134,7 +123,9 @@ use std::os::unix::fs::symlink as symlink_file;
#[cfg(windows)]
use std::os::windows::fs::symlink_file;

use build_helper::{run_silent, run_suppressed, try_run_silent, try_run_suppressed, output, mtime};
use build_helper::{
mtime, output, run_silent, run_suppressed, t, try_run_silent, try_run_suppressed,
};
use filetime::FileTime;

use crate::util::{exe, libdir, OutputFolder, CiEnv};
Expand Down
1 change: 1 addition & 0 deletions src/bootstrap/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::path::PathBuf;
use std::collections::HashSet;

use build_helper::output;
use serde::Deserialize;
use serde_json;

use crate::{Build, Crate};
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use std::fs::{self, File};
use std::path::{Path, PathBuf};
use std::process::Command;

use build_helper::output;
use build_helper::{output, t};
use cmake;
use cc;

Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/sanity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use std::fs;
use std::path::PathBuf;
use std::process::Command;

use build_helper::output;
use build_helper::{output, t};

use crate::Build;

Expand Down
6 changes: 5 additions & 1 deletion src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::iter;
use std::path::{Path, PathBuf};
use std::process::Command;

use build_helper::{self, output};
use build_helper::{self, output, t};

use crate::builder::{Builder, Compiler, Kind, RunConfig, ShouldRun, Step};
use crate::cache::{Interned, INTERNER};
Expand Down Expand Up @@ -1870,6 +1870,10 @@ impl Step for CrateRustdoc {
cargo.arg("--");
cargo.args(&builder.config.cmd.test_args());

if self.host.contains("musl") {
cargo.arg("'-Ctarget-feature=-crt-static'");
}

if !builder.config.verbose_tests {
cargo.arg("--quiet");
}
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ use std::path::PathBuf;
use std::process::{Command, exit};
use std::collections::HashSet;

use build_helper::t;

use crate::Mode;
use crate::Compiler;
use crate::builder::{Step, RunConfig, ShouldRun, Builder};
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/toolstate.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use serde::{Deserialize, Serialize};

#[derive(Copy, Clone, Debug, Deserialize, Serialize, PartialEq, Eq)]
#[serde(rename_all = "kebab-case")]
/// Whether a tool can be compiled, tested or neither
Expand Down
2 changes: 2 additions & 0 deletions src/bootstrap/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ use std::path::{Path, PathBuf};
use std::process::Command;
use std::time::{SystemTime, Instant};

use build_helper::t;

use crate::config::Config;
use crate::builder::Builder;

Expand Down
5 changes: 4 additions & 1 deletion src/ci/docker/dist-aarch64-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ ENV CC_aarch64_unknown_linux_gnu=aarch64-unknown-linux-gnueabi-gcc \

ENV HOSTS=aarch64-unknown-linux-gnu

ENV RUST_CONFIGURE_ARGS --enable-extended --disable-docs
ENV RUST_CONFIGURE_ARGS \
--enable-extended \
--enable-profiler \
--disable-docs
ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
16 changes: 11 additions & 5 deletions src/ci/docker/dist-various-2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM ubuntu:17.10
FROM ubuntu:18.04

COPY scripts/cross-apt-packages.sh /scripts/
RUN sh /scripts/cross-apt-packages.sh

RUN apt-get build-dep -y clang llvm && apt-get install -y --no-install-recommends \
# Enable source repositories, which are disabled by default on Ubuntu >= 18.04
RUN sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list

RUN apt-get update && apt-get build-dep -y clang llvm && apt-get install -y --no-install-recommends \
build-essential \
gcc-multilib \
libedit-dev \
Expand All @@ -15,7 +18,10 @@ RUN apt-get build-dep -y clang llvm && apt-get install -y --no-install-recommend
nodejs \
python2.7-dev \
software-properties-common \
unzip
unzip \
# Needed for apt-key to work:
dirmngr \
gpg-agent

RUN apt-key adv --batch --yes --keyserver keyserver.ubuntu.com --recv-keys 74DA7924C5513486
RUN add-apt-repository -y 'deb http://apt.dilos.org/dilos dilos2-testing main'
Expand Down Expand Up @@ -69,7 +75,7 @@ ENV TARGETS=x86_64-fuchsia
ENV TARGETS=$TARGETS,aarch64-fuchsia
ENV TARGETS=$TARGETS,sparcv9-sun-solaris
ENV TARGETS=$TARGETS,wasm32-unknown-unknown
ENV TARGETS=$TARGETS,wasm32-unknown-wasi
ENV TARGETS=$TARGETS,wasm32-wasi
ENV TARGETS=$TARGETS,x86_64-sun-solaris
ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnux32
ENV TARGETS=$TARGETS,x86_64-unknown-cloudabi
Expand All @@ -79,5 +85,5 @@ ENV TARGETS=$TARGETS,nvptx64-nvidia-cuda
ENV X86_FORTANIX_SGX_LIBS="/x86_64-fortanix-unknown-sgx/lib/"

ENV RUST_CONFIGURE_ARGS --enable-extended --enable-lld --disable-docs \
--set target.wasm32-unknown-wasi.wasi-root=/wasm32-unknown-wasi
--set target.wasm32-wasi.wasi-root=/wasm32-wasi
ENV SCRIPT python2.7 ../x.py dist --target $TARGETS
2 changes: 1 addition & 1 deletion src/ci/docker/dist-various-2/build-fuchsia-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pushd zircon > /dev/null

# Download sources
git init
git remote add origin https://fuchsia.googlesource.com/zircon
git remote add origin https://github.com/rust-lang-nursery/mirror-google-fuchsia-zircon
git fetch --depth=1 origin $ZIRCON
git reset --hard FETCH_HEAD

Expand Down
2 changes: 1 addition & 1 deletion src/ci/docker/dist-various-2/build-wasi-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ git clone https://github.com/CraneStation/wasi-sysroot

cd wasi-sysroot
git reset --hard e5f14be38362f1ab83302895a6e74b2ffd0e2302
make -j$(nproc) INSTALL_DIR=/wasm32-unknown-wasi install
make -j$(nproc) INSTALL_DIR=/wasm32-wasi install

cd ..
rm -rf reference-sysroot-wasi
Expand Down
8 changes: 3 additions & 5 deletions src/ci/docker/dist-x86_64-musl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY scripts/musl-toolchain.sh /build/
# We need to mitigate rust-lang/rust#34978 when compiling musl itself as well
RUN CFLAGS="-Wa,-mrelax-relocations=no -Wa,--compress-debug-sections=none -Wl,--compress-debug-sections=none" \
CXXFLAGS="-Wa,-mrelax-relocations=no -Wa,--compress-debug-sections=none -Wl,--compress-debug-sections=none" \
bash musl-toolchain.sh x86_64 && rm -rf build
REPLACE_CC=1 bash musl-toolchain.sh x86_64 && rm -rf build

COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
Expand All @@ -35,10 +35,7 @@ ENV RUST_CONFIGURE_ARGS \
--enable-extended \
--disable-docs \
--set target.x86_64-unknown-linux-musl.crt-static=false \
--build $HOSTS \
--set target.x86_64-unknown-linux-musl.cc=x86_64-linux-musl-gcc \
--set target.x86_64-unknown-linux-musl.cxx=x86_64-linux-musl-g++ \
--set target.x86_64-unknown-linux-musl.linker=x86_64-linux-musl-gcc
--build $HOSTS

# Newer binutils broke things on some vms/distros (i.e., linking against
# unknown relocs disabled by the following flag), so we need to go out of our
Expand All @@ -49,4 +46,5 @@ ENV RUST_CONFIGURE_ARGS \
ENV CFLAGS_x86_64_unknown_linux_musl="-Wa,-mrelax-relocations=no -Wa,--compress-debug-sections=none \
-Wl,--compress-debug-sections=none"

# To run native tests replace `dist` below with `test`
ENV SCRIPT python2.7 ../x.py dist --build $HOSTS
9 changes: 9 additions & 0 deletions src/ci/docker/scripts/musl-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ cd -
ln -s $OUTPUT/$TARGET/lib/libc.so /lib/ld-musl-$ARCH.so.1
echo $OUTPUT/$TARGET/lib >> /etc/ld-musl-$ARCH.path

# Now when musl bootstraps itself create proper toolchain symlinks to make build and tests easier
if [ "$REPLACE_CC" = "1" ]; then
for exec in cc gcc; do
ln -s $TARGET-gcc /usr/local/bin/$exec
done
for exec in cpp c++ g++; do
ln -s $TARGET-g++ /usr/local/bin/$exec
done
fi

export CC=$TARGET-gcc
export CXX=$TARGET-g++
Expand Down
2 changes: 1 addition & 1 deletion src/ci/docker/x86_64-gnu-debug/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.10
FROM ubuntu:19.04

RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
Expand Down
2 changes: 1 addition & 1 deletion src/ci/docker/x86_64-gnu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.10
FROM ubuntu:19.04

RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
Expand Down
Loading