8069 Commits

Author SHA1 Message Date
bors
bee04877ff Auto merge of #7115 - rust-lang:ehuss-patch-1, r=alexcrichton
Fix changelog date

Oops
2019-07-10 15:21:29 +00:00
Eric Huss
1707d37f8b
Fix changelog date
Oops
2019-07-10 08:15:48 -07:00
bors
677a180f4c Auto merge of #7106 - lukaslueg:master, r=ehuss
Update dependencies

This removes the `byteorder`-dependency, which was used in a few tests only anyway and is not needed since 1.32; also removes the `derive`-feature from the `failure`-crate, which is not needed also.
2019-07-08 13:43:02 +00:00
Lukas Lueg
91186e8c58 Remove byteorder-dependency 2019-07-08 12:35:34 +02:00
bors
644c8089f3 Auto merge of #7057 - hugwijst:apple-depinfo, r=ehuss
Fix overwriting .d file for binary with dSYM on apple targets.

When building a binary on targets containing `-apple-`, the resulting `.d` file gets overwritten with the dependencies of the `.dSYM` file. Eg. in the changed unit test, `foo.d` would start with `p.bin(foo).with_extension("dSYM")` instead of `p.bin(foo)`.

This PR fixes that problem by not generating `.d` dependency information files for outputs of the `DebugInfo` flavor.
2019-07-06 17:49:25 +00:00
bors
a3eee9f33c Auto merge of #7102 - ehuss:update-changelog, r=Eh2406
Update changelog.
2019-07-05 19:19:17 +00:00
Eric Huss
9e9c5868d1 Update changelog. 2019-07-05 12:09:58 -07:00
bors
a3b46ff42f Auto merge of #7099 - ehuss:revert-7093, r=alexcrichton
Revert "Fix 'getting started' internal links"

This reverts commit 60f25f56b8f398e935d7e8d952c4c2e6cc0bc7d5 (#7093).

Cargo currently uses mdbook 0.1, so the links were correct.
2019-07-05 18:42:35 +00:00
bors
ad5a728521 Auto merge of #7100 - ehuss:version-bump, r=alexcrichton
Bump to 0.39.0
2019-07-05 18:06:55 +00:00
Eric Huss
2208c1f62f Bump to 0.39.0 2019-07-05 10:42:46 -07:00
Eric Huss
99a78b879a Revert "Fix 'getting started' internal links"
This reverts commit 60f25f56b8f398e935d7e8d952c4c2e6cc0bc7d5.
2019-07-05 10:35:40 -07:00
bors
3a985c7f8e Auto merge of #7098 - lukaslueg:patch-1, r=ehuss
Update dependency.rs

Typo due to copypasta
2019-07-05 17:27:56 +00:00
lukaslueg
455f80b6c4
Update dependency.rs
Typo due to copypasta
2019-07-05 19:08:57 +02:00
bors
ab75a4bb28 Auto merge of #7097 - shepmaster:patch-2, r=Eh2406
Typo
2019-07-05 16:46:52 +00:00
Jake Goulding
09006ddccc
Typo 2019-07-05 12:03:35 -04:00
bors
8ee5b096c3 Auto merge of #7093 - tcharding:getting-started-links, r=alexcrichton
Fix 'getting started' internal links

Currently the internal links do not work, the path is incorrect.

Update the path for internal links in the index file of 'getting started' section thereby fixing the links generated in HTML.
2019-07-04 18:53:25 +00:00
tcharding
60f25f56b8 Fix 'getting started' internal links
Currently the internal links do not work, the path is incorrect.

Update the path for internal links in the index file of 'getting started'
section thereby fixing the links generated in HTML.
2019-07-04 08:37:50 +10:00
bors
9fd0332f61 Auto merge of #7090 - nmattia:nm-misleading-comment, r=Eh2406
Fix misleading comment in testsuite

The test is actually creating crates 0,1,...29 as opposed to 0,1,...19.
2019-07-03 15:06:42 +00:00
Nicolas Mattia
8d1ef5a936 Fix misleading comment in testsuite 2019-07-03 16:11:23 +02:00
bors
092b8f27c6 Auto merge of #7083 - sekhat:issue/7003-allow-dirty, r=alexcrichton
improve uncommitted changes cargo-package message

fixes #7003

Explicitly state what the suggested flag `--allow-dirty`
actually does when packaging/publishing the crate. Primarily,
that the uncommitted changes are included within the resulting
package.
2019-07-01 20:54:18 +00:00
Sekhat Temporus
69226ed887 improve uncommitted changes cargo-package message
fixes #7003

Explicitly state what the suggested flag `--allow-dirty`
actually does when packaging/publishing the crate. Primarily,
that the uncommited changes are included within the resulting
package.
2019-07-01 18:48:59 +01:00
bors
143aaed0ee Auto merge of #7082 - ehuss:git-fetch-with-cli-env-clean, r=Eh2406
Clean environment when git-fetch-with-cli is used.

When the GIT_DIR environment variable is set, git-the-cli will use that instead of looking at cwd.  This can happen, for example, when using the `exec` command in `git rebase` to call cargo.  This causes cargo to fetch into the wrong directory.

Closes #7072
2019-06-29 23:09:15 +00:00
Eric Huss
00fd31dd9b Clean environment when git-fetch-with-cli is used. 2019-06-29 13:32:21 -07:00
bors
83d086da94 Auto merge of #7062 - goffrie:master, r=alexcrichton
Fix exponentiality in depend_on_deps_of_deps.

With `CARGO_BUILD_PIPELINING=true`, cargo was spending a long time (15 seconds) before starting any compilation. That is caused by a naive graph traversal in `depend_on_deps_of_deps`. Instead, let's make sure not to keep traversing the same deps. With this patch, things are fast again.
2019-06-25 06:28:12 +00:00
Geoffry Song
15e08029f1 Add a test for build pipelining with a complex build graph. 2019-06-24 14:29:01 -07:00
Geoffry Song
1863aa2847 Fix exponentiality in depend_on_deps_of_deps. 2019-06-24 14:29:01 -07:00
bors
4c1fa54d10 Auto merge of #7066 - nmattia:nm/fix-typo-2, r=alexcrichton
Fix typo in comment
2019-06-24 11:24:18 +00:00
Nicolas Mattia
0f4ddf9034 Fix typo in comment 2019-06-24 11:30:19 +02:00
bors
1d8ac3c06c Auto merge of #7063 - matthiaskrgr:travis_fmt, r=alexcrichton
travis: enforce formatting of subcrates as well
2019-06-23 01:42:14 +00:00
Matthias Krüger
51a56a452d format crates-io and cargo-test-macro subcrates 2019-06-23 00:29:52 +02:00
Matthias Krüger
cbc4589c4c travis: run cargo fmt on subcrates as well 2019-06-23 00:28:33 +02:00
bors
ecc41f48a9 Auto merge of #7060 - lzutao:zsh-complete-package, r=ehuss
_cargo: Make function style consistent

They are just white-space changes. I'm planning to bring back Zsh completion
for `-p` (package) option, which was disabled in #1713. This PR is the first
stepping stone towards that goal.

A disadvantageous is that I am just starting to learn Zsh completion system.
Guess how far can I go?

r? @ehuss
2019-06-22 18:12:51 +00:00
Lzu Tao
44f782c049 _cargo: Explain how _cargo_cmds works 2019-06-23 01:08:11 +07:00
Lzu Tao
29e6278f43 _cargo: Fix some warnings caught by shellcheck 2019-06-23 01:08:11 +07:00
bors
5277137d85 Auto merge of #7061 - ehuss:update-fix-comments, r=alexcrichton
Update some fix comments.

- Primary handling changed in #5824.
- cargo_as_rustc_wrapper changed in #6759.
2019-06-22 17:28:28 +00:00
Eric Huss
247063c35b Update some fix comments. 2019-06-22 10:07:54 -07:00
Lzu Tao
e3b286bae9 _cargo: Make function style consistent 2019-06-22 20:40:40 +07:00
Hugo van der Wijst
2c488c91d4 Fix overwriting binary .d file for dSYM target on apple targets. 2019-06-21 15:52:01 -07:00
bors
973356143c Auto merge of #7056 - ehuss:default-run-stabilize, r=alexcrichton
Stabilize default-run

This stabilizes the default-run feature.

I've included some error message changes. If `default-run` specifies an unknown binary, it now tells you that the `default-run` field is incorrect and which manifest it is located in, instead of just saying "could not determine which binary to run".

I also consolidated some of the suggestion code so it is not repeated all over.

Closes #7032
2019-06-21 20:53:30 +00:00
Eric Huss
7d7fe6797a Stabilize default-run 2019-06-21 11:36:53 -07:00
bors
142603ae22 Auto merge of #7054 - nmattia:nm/fix-typo, r=Eh2406
Fix typo in comment
2019-06-21 14:32:26 +00:00
Nicolas Mattia
df4775954f Fix typo in comment 2019-06-21 16:26:44 +02:00
bors
797ea153bf Auto merge of #7050 - schomatis:fix/fingerprint/dont-update-intermediate-artifacts-mtime, r=Eh2406
fix(fingerpring): do not touch intermediate artifacts

Fixes https://github.com/rust-lang/cargo/issues/6972.

The newly introduced [test](9aa7a4dce5) is [failing](https://travis-ci.com/rust-lang/cargo/jobs/209849725#L2569-L2580) as discussed in https://github.com/rust-lang/cargo/issues/6972#issuecomment-502241124 (replicating the issue). Removing the `touching of intermediate artifacts` as suggested fixes the issue, but makes the old test `simple_deps_cleaner_does_not_rebuild` fail. The `simple_deps_cleaner_does_not_rebuild` test is not needed anymore so it's removed.

r? @Eh2406
2019-06-21 14:07:02 +00:00
Lucas Molas
009876a88a fix(fingerprint): rustfmt 2019-06-21 00:40:30 -03:00
Lucas Molas
8343fb7396 test(freshness): remove simple_deps_cleaner_does_not_rebuild
Now that the `mtime` of intermediate artifacts is not updated there's no need
for this test anymore (it now fails because without the `mtime`s it cannot
perform the intended  GC operation).
2019-06-21 00:15:59 -03:00
Lucas Molas
78927e6b15 fix(fingerpring): do not touch intermediate artifacts 2019-06-20 23:40:05 -03:00
Lucas Molas
9aa7a4dce5 test(freshness): check that updating dependency mtime does not rebuild 2019-06-20 23:34:45 -03:00
bors
37cb9bbe24 Auto merge of #7045 - Eh2406:resolver-test/debug-cleanup, r=alexcrichton
Resolver test/debug cleanup

This is several small things salvaged from abandoned PRs and implemented on top of #7011

In working on this I noted that the prop tests are very sensitive to whether backtrace are turned on. Maybe we should set that env to 0 for that builder?
2019-06-21 01:30:05 +00:00
Eh2406
cb95f5ef7c check is_public vs Kind more carefully 2019-06-20 13:58:51 -04:00
bors
eebd1da3a8 Auto merge of #7048 - jeremystucki:into_url, r=Eh2406
Rename to_url → into_url

I think it should be `into_url` as it consumes itself.

[Relevant clippy lint](https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention)
2019-06-20 16:40:51 +00:00