Commit Graph

93154 Commits

Author SHA1 Message Date
Alex Crichton
571366f71b Attempt to enable IPv6 for Linux 2019-05-21 10:33:19 -07:00
Alex Crichton
0e5f02f902 Fix typo in key configuration 2019-05-21 10:28:56 -07:00
Pietro Albini
d2304e1e26
ci: increase timeout, take 2 2019-05-21 12:30:10 +02:00
Pietro Albini
67db230477
ci: fix tidy 2019-05-21 10:51:37 +02:00
Pietro Albini
1daab471ce
ci: temp increase of the timeout to 10 hours
Let's see how long a full build takes.
2019-05-21 10:27:41 +02:00
Pietro Albini
e6830c1ac1
Merge pull request #2 from alexcrichton/azure-pipelines
Some review feedback and other misc tweaks
2019-05-21 10:20:36 +02:00
Alex Crichton
9843a79496 Finalize AWS install 2019-05-20 14:37:24 -07:00
Alex Crichton
12f370156d Only execute conditional steps on success
Make sure `succeeded()` is in all the conditionals
2019-05-20 14:34:37 -07:00
Alex Crichton
9b8af0608f Manually install AWS CLI 2019-05-20 14:19:56 -07:00
Alex Crichton
751597f0c7 Check out rustfmt submodule through tarballs
This takes 30+ seconds to check out on Windows, so let's speed it up
through a tarball like we do other big git repositories.
2019-05-20 12:58:53 -07:00
Alex Crichton
0843207d1b Make sure sccache not present doesn't kill the build 2019-05-20 12:55:01 -07:00
Alex Crichton
fa8d3b59bd Fix a typo in the run script 2019-05-20 12:46:20 -07:00
Alex Crichton
804ec5faab Execute docker/run.sh on Linux 2019-05-20 12:43:29 -07:00
Alex Crichton
7b266ff181 Fix a typo in clang install 2019-05-20 12:38:17 -07:00
Alex Crichton
528cce96cf Job name config works for all platforms 2019-05-20 12:37:18 -07:00
Alex Crichton
91b1655528 Remove a now stray file 2019-05-20 12:35:21 -07:00
Alex Crichton
4183f3c41b Configure a few more builders on try temporarily
Make sure there's one dist and one test builder for each of the three
main platforms
2019-05-20 12:29:30 -07:00
Alex Crichton
1be9fe6a44 Refactor azure pipelines configuration
This commit is intended to go through and review/refactor the azure
pipelines configuration we have. The major changes are:

* The separate `{windows,macos,linux}.yml` files are now all merged into
  one `run.yml`. This allows a shared "master flow" for all platforms
  with divergence only where necessary.

* Some install steps have been separated as `install-*.yml` scripts,
  where each script internally matches on the appropriate OS and then
  delegates accordingly.

* Some various bits and pieces of cruft have been removed which were
  artifacts of Travis's setup or similar.
2019-05-20 12:24:58 -07:00
Alex Crichton
79d28c203f Don't bother with stamp utility
That was just used because Travis doesn't have time stamps on all log
lines, but Azure does, so no need to add our own.
2019-05-20 11:27:18 -07:00
Pietro Albini
9f37b3a4c2
ci: deploy artifacts on azure 2019-05-20 10:11:09 +02:00
Pietro Albini
d27cb827c6
ci: add an image for dist-x86_64-linux try on azure 2019-05-20 09:38:11 +02:00
Pietro Albini
f23c1ba74b
ci: use ##vso[task.prependpath] on azure 2019-05-20 09:22:47 +02:00
Pietro Albini
a89e8d2a66
ci: remove yet another outdated comment 2019-05-20 09:21:26 +02:00
Pietro Albini
bf639a1c34
ci: remove outdated comment 2019-05-15 19:39:54 +02:00
Pietro Albini
30b008f533
ci: remove stray echo 2019-05-15 19:39:31 +02:00
Pietro Albini
92bf1e6661
ci: update azure variable groups 2019-05-15 19:39:29 +02:00
Pietro Albini
4965ffdb7a
Update src/bootstrap/util.rs
Co-Authored-By: Jake Goulding <shepmaster@mac.com>
2019-05-13 15:19:29 +02:00
Pietro Albini
807b7dd786
ci: disable builders not useful during the evaluation 2019-05-13 10:15:16 +02:00
Pietro Albini
694ea7646a
ci: remove links to johnterickson repo 2019-05-13 10:15:16 +02:00
Pietro Albini
da949780f0
ci: remove trailing whitespaces from azure config 2019-05-13 10:15:16 +02:00
Pietro Albini
5db55e6fe0
ci: disable toolstate commits on azure 2019-05-13 10:15:16 +02:00
Pietro Albini
06bc0da65c
ci: remove test configuration 2019-05-13 10:15:16 +02:00
Pietro Albini
94f7660ab3
ci: re-enable fds-are-cloexec test on macOS 2019-05-13 10:07:55 +02:00
Pietro Albini
aab0bb47fa
ci: merge the i1686-gnu images 2019-05-13 10:07:55 +02:00
Pietro Albini
7dfd8ceb4f
ci: remove fanout from the azure pipelines config 2019-05-13 10:07:55 +02:00
Pietro Albini
869ddd8d00
ci: still use aws for caches 2019-05-13 10:07:50 +02:00
Pietro Albini
abd4b3a83c
ci: remove travis ipv6 docker hack on azure 2019-05-10 10:04:34 +02:00
Pietro Albini
c50517ae85
ci: reduce all azure timeouts to 3 hours
As the infra team we decided to have an hard timeout of 3 hours on all
the jobs: while this sometimes causes spurious timeout errors it's a
great limit to prevent CI time to grow even more.
2019-05-10 09:56:46 +02:00
John Erickson
e234a901b6
Disable 32-bit OSX 2019-05-10 09:46:30 +02:00
John Erickson
699376ada0
Add Azure Pipelines 2019-05-10 09:46:28 +02:00
bors
407536e38d Auto merge of #60451 - rasendubi:binaryheap-min-heap, r=scottmcm
BinaryHeap: add min-heap example

Fixes #58174.
2019-05-10 04:10:36 +00:00
bors
03bd2f653f Auto merge of #60683 - Centril:rollup-p05qh5d, r=Centril
Rollup of 8 pull requests

Successful merges:

 - #59348 (Clean up and add tests for slice drop shims)
 - #60188 (Identify when a stmt could have been parsed as an expr)
 - #60234 (std: Derive `Default` for `io::Cursor`)
 - #60618 (Comment ext::tt::transcribe)
 - #60648 (Skip codegen for one UI test with long file path)
 - #60671 (remove unneeded `extern crate`s from build tools)
 - #60675 (Remove the old await! macro)
 - #60676 (Fix async desugaring providing wrong input to procedural macros.)

Failed merges:

r? @ghost
2019-05-10 00:51:14 +00:00
Mazdak Farrokhzad
45b09453db
Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj
Fix async desugaring providing wrong input to procedural macros.

Fixes #60674.

This PR fixes a minor oversight introduced by #60535 where unused `mut` binding modes were removed from the arguments to an `async fn` (as they were added to the statement that we insert into the closure body). However, this meant that the input to procedural macros was incorrect. This removes that and instead fixes the `unused_mut` error that it avoided.

r? @cramertj
cc @taiki-e
2019-05-09 23:56:18 +02:00
Mazdak Farrokhzad
f6df1f6c30
Rollup merge of #60675 - cramertj:no-await-macro, r=nikomatsakis,Centril
Remove the old await! macro

This doesn't work anymore, and its continued presence is cause for confusion. `yield` can no longer be used to return `Pending` from an `async` body.

cc https://github.com/rust-lang/rust/issues/60660
cc @taiki-e
cc https://github.com/tokio-rs/tokio/pull/1080
2019-05-09 23:56:17 +02:00
Mazdak Farrokhzad
f27f14b60f
Rollup merge of #60671 - euclio:extern-crate, r=Centril
remove unneeded `extern crate`s from build tools
2019-05-09 23:56:16 +02:00
Mazdak Farrokhzad
e7b4023f37
Rollup merge of #60648 - petrochenkov:shorten2, r=Dylan-DPC
Skip codegen for one UI test with long file path

The path to this test is so long that object files produced by it hit some path length limit on Windows and linker cannot find them.
The workaround here is to skip codegen and avoid producing object files, this test doesn't need them anyway.
2019-05-09 23:56:14 +02:00
Mazdak Farrokhzad
903fc4bce3
Rollup merge of #60618 - mark-i-m:transcribe, r=petrochenkov
Comment ext::tt::transcribe

Also did a bit of minor cleanup (remove unidiomatic use of `Add` and an unneeded `clone`). No functionality changes.

r? @petrochenkov
2019-05-09 23:56:13 +02:00
Mazdak Farrokhzad
bd17b5c9a2
Rollup merge of #60234 - tesaguri:cursor-default, r=Amanieu
std: Derive `Default` for `io::Cursor`

I think this change is quite obvious, so made it insta-stable, but I won't insist on that.
2019-05-09 23:56:11 +02:00
Mazdak Farrokhzad
39edc68c69
Rollup merge of #60188 - estebank:recover-block, r=varkor
Identify when a stmt could have been parsed as an expr

There are some expressions that can be parsed as a statement without
a trailing semicolon depending on the context, which can lead to
confusing errors due to the same looking code being accepted in some
places and not others. Identify these cases and suggest enclosing in
parenthesis making the parse non-ambiguous without changing the
accepted grammar.

Fix #54186, cc #54482, fix #59975, fix #47287.
2019-05-09 23:56:09 +02:00
Mazdak Farrokhzad
62ab971bb7
Rollup merge of #59348 - matthewjasper:cleanup-drop-shims, r=arielb1
Clean up and add tests for slice drop shims

Adds a test for the MIR generated by `real_drop_in_place::<[T]>`. Also slightly reduces the number of statements and locals used in the shim.

r? @RalfJung
2019-05-09 23:56:08 +02:00