cargo.git
7 years agoDisable incremental test on sparc64 thanks to John Paul
Vasudev Kamath [Tue, 7 Aug 2018 16:29:32 +0000 (21:59 +0530)]
Disable incremental test on sparc64 thanks to John Paul

7 years agoPrepare release for experimental.
Vasudev Kamath [Sun, 5 Aug 2018 16:11:15 +0000 (21:41 +0530)]
Prepare release for experimental.

7 years agoIntroduce patch to disable fetch platform specific tests
Vasudev Kamath [Sun, 5 Aug 2018 16:10:53 +0000 (21:40 +0530)]
Introduce patch to disable fetch platform specific tests

7 years agoPrepare upload to experimental.
Vasudev Kamath [Sun, 29 Jul 2018 16:37:55 +0000 (22:07 +0530)]
Prepare upload to experimental.

7 years agoBump standards version to 4.1.5
Vasudev Kamath [Sun, 29 Jul 2018 16:36:10 +0000 (22:06 +0530)]
Bump standards version to 4.1.5

7 years agoUpdate copyright information.
Vasudev Kamath [Sun, 29 Jul 2018 16:36:02 +0000 (22:06 +0530)]
Update copyright information.

7 years agoDrop unwanted formatting changes from patch
Vasudev Kamath [Sun, 29 Jul 2018 12:50:13 +0000 (18:20 +0530)]
Drop unwanted formatting changes from patch

7 years agoUpdate changelog
Vasudev Kamath [Sat, 28 Jul 2018 17:37:20 +0000 (23:07 +0530)]
Update changelog

7 years agoUpdate copyright for new release.
Vasudev Kamath [Sat, 28 Jul 2018 17:36:50 +0000 (23:06 +0530)]
Update copyright for new release.

7 years agoRefresh patch 2007 for new release.
Vasudev Kamath [Sat, 28 Jul 2018 16:57:08 +0000 (22:27 +0530)]
Refresh patch 2007 for new release.

7 years agoAdd patch to use libssh2 from system
Vasudev Kamath [Sat, 28 Jul 2018 16:56:41 +0000 (22:26 +0530)]
Add patch to use libssh2 from system

7 years agoUpdate patch 2001 for new libgit2-sys version.
Vasudev Kamath [Sat, 28 Jul 2018 14:58:53 +0000 (20:28 +0530)]
Update patch 2001 for new libgit2-sys version.

7 years agoDrop patch 2008, merged upstream.
Vasudev Kamath [Sat, 28 Jul 2018 14:45:20 +0000 (20:15 +0530)]
Drop patch 2008, merged upstream.

7 years agoMore standard changelog formatting
Ximin Luo [Fri, 27 Jul 2018 12:45:10 +0000 (05:45 -0700)]
More standard changelog formatting

7 years agoFix python3 build-dep for cross-compile, multi-arch:allowed needs :native annotation...
Ximin Luo [Fri, 27 Jul 2018 12:44:41 +0000 (05:44 -0700)]
Fix python3 build-dep for cross-compile, multi-arch:allowed needs :native annotation here

7 years agoMerge branch 'debian/sid' into debian/experimental
Ximin Luo [Fri, 27 Jul 2018 12:44:34 +0000 (05:44 -0700)]
Merge branch 'debian/sid' into debian/experimental

7 years agoUpdate of the alioth ML address.
Sylvestre Ledru [Mon, 23 Jul 2018 11:20:04 +0000 (13:20 +0200)]
Update of the alioth ML address.

7 years agoUpdate changelog (not ready for release).
Vasudev Kamath [Sun, 22 Jul 2018 16:44:58 +0000 (22:14 +0530)]
Update changelog (not ready for release).

7 years agoUpdate upstream source from tag 'upstream/0.28.0'
Vasudev Kamath [Sun, 22 Jul 2018 16:38:12 +0000 (22:08 +0530)]
Update upstream source from tag 'upstream/0.28.0'

Update to upstream version '0.28.0'
with Debian dir 1abcf632df0eae855f6df6f9e110cb16fc624d00

7 years agoNew upstream version 0.28.0
Vasudev Kamath [Sun, 22 Jul 2018 16:37:14 +0000 (22:07 +0530)]
New upstream version 0.28.0

7 years agoUpdate for new release.
Vasudev Kamath [Sun, 22 Jul 2018 15:30:50 +0000 (21:00 +0530)]
Update for new release.

7 years agoUpdate README.source to mention preferred way of upload.
Vasudev Kamath [Sat, 9 Jun 2018 09:11:23 +0000 (14:41 +0530)]
Update README.source to mention preferred way of upload.

7 years agoRelease 0.27.0-2 to Debian unstable.
Ximin Luo [Thu, 7 Jun 2018 05:35:33 +0000 (22:35 -0700)]
Release 0.27.0-2 to Debian unstable.

7 years agoSupport cross-compile install
Ximin Luo [Thu, 7 Jun 2018 05:34:56 +0000 (22:34 -0700)]
Support cross-compile install

7 years agoAdd link to bug on cross-linker auto-detection
Ximin Luo [Thu, 7 Jun 2018 04:42:39 +0000 (21:42 -0700)]
Add link to bug on cross-linker auto-detection

7 years agoUpload to unstable.
Vasudev Kamath [Sun, 3 Jun 2018 15:16:22 +0000 (20:46 +0530)]
Upload to unstable.

7 years agoPrepare upload for experimental.
Vasudev Kamath [Sat, 2 Jun 2018 09:46:35 +0000 (15:16 +0530)]
Prepare upload for experimental.

7 years agoUpdate copyright with new vendor crate info
Vasudev Kamath [Sat, 2 Jun 2018 09:39:46 +0000 (15:09 +0530)]
Update copyright with new vendor crate info

7 years agoAuto merge of #5577 - matklad:revert-deps-beta, r=alexcrichton
bors [Sun, 27 May 2018 16:26:02 +0000 (16:26 +0000)]
Auto merge of #5577 - matklad:revert-deps-beta, r=alexcrichton

Revert "Auto merge of #5461 - matklad:meta-rename, r=alexcrichton"

This reverts commit d0d3cb5ac963eb8c3f83d079b6a547992cac2cc4, reversing
changes made to 757112c39f8a5a4f6ffa0b7e29d23a56f03fb931.

It is not clear that the design is right, see
https://github.com/rust-lang/cargo/pull/5558#issuecomment-391791164

this is the backport sibling of https://github.com/rust-lang/cargo/pull/5576

7 years agoRevert "Auto merge of #5461 - matklad:meta-rename, r=alexcrichton"
Aleksey Kladov [Sun, 27 May 2018 08:56:44 +0000 (11:56 +0300)]
Revert "Auto merge of #5461 - matklad:meta-rename, r=alexcrichton"

This reverts commit d0d3cb5ac963eb8c3f83d079b6a547992cac2cc4, reversing
changes made to 757112c39f8a5a4f6ffa0b7e29d23a56f03fb931.

It is not clear that the design is right, see
https://github.com/rust-lang/cargo/pull/5558#issuecomment-391791164

7 years agoAuto merge of #5567 - alexcrichton:beta-next, r=alexcrichton
bors [Fri, 25 May 2018 01:05:31 +0000 (01:05 +0000)]
Auto merge of #5567 - alexcrichton:beta-next, r=alexcrichton

[beta] Copy `--all-features` request to all workspace members

Backport of https://github.com/rust-lang/cargo/pull/5556

7 years agoFix tests on nightly
Alex Crichton [Fri, 25 May 2018 01:05:12 +0000 (18:05 -0700)]
Fix tests on nightly

7 years agoCopy `--all-features` request to all workspace members
Alex Crichton [Mon, 21 May 2018 19:57:25 +0000 (12:57 -0700)]
Copy `--all-features` request to all workspace members

This fixes an accidental regression introduced in #5012 where the
`--all-features` CLI flag was only propagated to the "main crate" as opposed to
all workspace packages. This behavior has [already been deemed][pr] as
"basically not what you want", but for now it's best to avoid the regression.

Closes #5518

[pr]: https://github.com/rust-lang/cargo/pull/5353

7 years agoUpdate changelog.
Vasudev Kamath [Sat, 19 May 2018 13:39:17 +0000 (19:09 +0530)]
Update changelog.

7 years agoJust commenting out tests won't work drop all unused imports
Vasudev Kamath [Sat, 19 May 2018 13:38:08 +0000 (19:08 +0530)]
Just commenting out tests won't work drop all unused  imports

caused by #[deny(warnings)] directive

7 years agoNot just comment out #[test] but entire test
Vasudev Kamath [Sun, 13 May 2018 15:32:44 +0000 (21:02 +0530)]
Not just comment out #[test] but entire test

Looks like new cargo will cause build failure on unused code.

7 years agoFix mode generated in `maybe_lib`
Alex Crichton [Fri, 11 May 2018 15:04:10 +0000 (08:04 -0700)]
Fix mode generated in `maybe_lib`

The new `mode` for the library dependency is dependent on the library target
rather than the target which is the reason for the dependency on the library!

Closes rust-lang/rust#50640

7 years agoFix `cargo rustc` for test with implicit binary.
Eric Huss [Wed, 9 May 2018 00:23:28 +0000 (17:23 -0700)]
Fix `cargo rustc` for test with implicit binary.

Fixes #5502

7 years agoRefresh patch 2007
Vasudev Kamath [Sat, 12 May 2018 17:25:52 +0000 (22:55 +0530)]
Refresh patch 2007

7 years agoDrop patch 1001 as its now part of upstream.
Vasudev Kamath [Sat, 12 May 2018 17:24:00 +0000 (22:54 +0530)]
Drop patch 1001 as its now part of upstream.

7 years agoAdjust file name and path to test files in patch 2002
Vasudev Kamath [Sat, 12 May 2018 17:05:43 +0000 (22:35 +0530)]
Adjust file name and path to test files in patch 2002

7 years agoUpdate patch 2001_use-system-libgit2 for libgit2-sys 0.7.1
Vasudev Kamath [Sat, 12 May 2018 15:19:23 +0000 (20:49 +0530)]
Update patch 2001_use-system-libgit2 for libgit2-sys 0.7.1

7 years agoUpdate upstream source from tag 'upstream/0.27.0'
Vasudev Kamath [Sat, 12 May 2018 15:08:09 +0000 (20:38 +0530)]
Update upstream source from tag 'upstream/0.27.0'

Update to upstream version '0.27.0'
with Debian dir 501b0e3680662c6bd5f368b11fd2872e61a63f37

7 years agoNew upstream version 0.27.0
Vasudev Kamath [Sat, 12 May 2018 15:07:07 +0000 (20:37 +0530)]
New upstream version 0.27.0

7 years agoAdd files from clap and vec_map to unsuspicious list.
Vasudev Kamath [Sat, 12 May 2018 15:05:12 +0000 (20:35 +0530)]
Add files from clap and vec_map to unsuspicious list.

7 years agoUpdate patch 2004 for the new release.
Vasudev Kamath [Sat, 12 May 2018 15:04:46 +0000 (20:34 +0530)]
Update  patch 2004 for the new release.

7 years agoAuto merge of #5493 - ehuss:fix-changing_bin_features_caches_targets, r=matklad
bors [Mon, 7 May 2018 06:55:24 +0000 (06:55 +0000)]
Auto merge of #5493 - ehuss:fix-changing_bin_features_caches_targets, r=matklad

Fix random Windows CI error for changing_bin_features_caches_targets

Fixes #5481.

7 years agoFix random Windows CI error for changing_bin_features_caches_targets
Eric Huss [Sun, 6 May 2018 15:25:44 +0000 (08:25 -0700)]
Fix random Windows CI error for changing_bin_features_caches_targets

Fixes #5481.

7 years agoAuto merge of #5491 - ehuss:profile-spec, r=alexcrichton
bors [Sun, 6 May 2018 03:56:43 +0000 (03:56 +0000)]
Auto merge of #5491 - ehuss:profile-spec, r=alexcrichton

Add package spec support to profile overrides.

Note: It errors out if multiple overrides match the same package.  This could potentially merge the overrides together with a hierarchy similar to CSS specificity.  However, that seems overkill for now.

7 years agoAdd package spec support to profile overrides.
Eric Huss [Sat, 5 May 2018 23:13:09 +0000 (16:13 -0700)]
Add package spec support to profile overrides.

Note: It errors out if multiple overrides match the same package.  This could potentially merge the overrides together with a hierarchy similar to CSS specificity.  However, that seems overkill for now.

7 years agoAuto merge of #5461 - matklad:meta-rename, r=alexcrichton
bors [Sat, 5 May 2018 21:32:18 +0000 (21:32 +0000)]
Auto merge of #5461 - matklad:meta-rename, r=alexcrichton

Support crate renames in `cargo metadata`

This adds information about (currently unstable) crate renames to metadata. Unfortunately, we already expose dependencies as a list of package ids (which are strings), so we can't easily add a `rename` field easily. For this reason, I've added a parallel `deps` key, which basically deprecates `dependencies` field.

So, the new format looks like this

```JavaScript
{
    "dependencies": [
        "bar 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
        "bar 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)"
    ],
    "deps": [
        {
            "extern_crate_name": "baz", // this one is actually renamed
            "id": "bar 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)"
        },
        {
            "extern_crate_name": "bar",
            "id": "bar 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)"
        }
    ],
    "features": [],
    "id": "foo 0.5.0 (path+file://[..])"
},
```

Questions:

* Is there a better name for `extern_crate_name`? This name is precise, but it's longer than I like, and might become opaque in meaning if we remove `extern crate` from the language :)
* Should we feature gate this (i.e, only produce `deps` if we have a feature in `Cargo.toml`)? I think the answer is yes, but that'll require threading `Features` to `Workspace`...

r? @alexcrichton

7 years agoExpand dependency info of cargo --metadata
Aleksey Kladov [Sat, 5 May 2018 15:07:18 +0000 (18:07 +0300)]
Expand dependency info of cargo --metadata

The old `dependencies` key in `resolve` is deprecated.

Instead, the new `deps` key introduced which lists dependencies kinds
(dev/build/normal) as well as `extern crate` name for the dep.

7 years agoExtract Package::lib_target method
Aleksey Kladov [Wed, 2 May 2018 17:26:52 +0000 (20:26 +0300)]
Extract Package::lib_target method

7 years agoAuto merge of #5490 - alexcrichton:fix-thrash, r=matklad
bors [Sat, 5 May 2018 20:41:12 +0000 (20:41 +0000)]
Auto merge of #5490 - alexcrichton:fix-thrash, r=matklad

Factor in `used_in_plugin` to target filenames

This prevents thrashing the cache of compiled libraries for when they're used in
a plugin or not.

7 years agoFactor in `used_in_plugin` to target filenames
Alex Crichton [Sat, 5 May 2018 19:59:50 +0000 (12:59 -0700)]
Factor in `used_in_plugin` to target filenames

This prevents thrashing the cache of compiled libraries for when they're used in
a plugin or not.

7 years agoAuto merge of #5489 - dwijnand:drop-GitSource-TODO, r=matklad
bors [Sat, 5 May 2018 19:52:25 +0000 (19:52 +0000)]
Auto merge of #5489 - dwijnand:drop-GitSource-TODO, r=matklad

Drop PathSource TODO in GitSource

This effort was started in de6944798cf2940b91c742b8d6cd4294ea28f76a,
and looks (to me) to be resolved at this point.

7 years agoAuto merge of #5488 - alexcrichton:Retry, r=matklad
bors [Sat, 5 May 2018 19:04:30 +0000 (19:04 +0000)]
Auto merge of #5488 - alexcrichton:Retry, r=matklad

Cop out on fixing a spurious test failure

This commit cops out trying to fix `rename_with_link_search_path` by simply
adding a loop on Windows to retry the operation that looks to need retrying.

7 years agoDrop PathSource TODO in GitSource
Dale Wijnand [Sat, 5 May 2018 18:55:37 +0000 (19:55 +0100)]
Drop PathSource TODO in GitSource

This effort was started in de6944798cf2940b91c742b8d6cd4294ea28f76a,
and looks (to me) to be resolved at this point.

7 years agoCop out on fixing a spurious test failure
Alex Crichton [Sat, 5 May 2018 18:47:41 +0000 (11:47 -0700)]
Cop out on fixing a spurious test failure

This commit cops out trying to fix `rename_with_link_search_path` by simply
adding a loop on Windows to retry the operation that looks to need retrying.

7 years agoAuto merge of #5358 - djc:options-build-config, r=matklad
bors [Sat, 5 May 2018 18:35:04 +0000 (18:35 +0000)]
Auto merge of #5358 - djc:options-build-config, r=matklad

Let CompileOptions create a BuildConfig directly

This puts input validation in a more central place and prevents copying/moving stuff around as separate values.

7 years agoAuto merge of #5487 - matklad:mixed-deps, r=alexcrhiton
bors [Sat, 5 May 2018 17:19:01 +0000 (17:19 +0000)]
Auto merge of #5487 - matklad:mixed-deps, r=alexcrhiton

FIx false positive warning

We warn if a feature was specified corresponding to a dependency which
is not optional. However, a dependency can be both optional and
required, and we shouldn't warn in that case.

cc https://github.com/rust-lang/cargo/pull/5480

r? @alexcrichton

7 years agoFIx false positive warning
Aleksey Kladov [Sat, 5 May 2018 16:04:54 +0000 (19:04 +0300)]
FIx false positive warning

We warn if a feature was specified corresponding to a dependency which
is not optional. However, a dependency can be both optional and
required, and we shouldn't warn in that case.

7 years agoAuto merge of #5486 - ehuss:deprecate-doc, r=matklad
bors [Sat, 5 May 2018 16:11:36 +0000 (16:11 +0000)]
Auto merge of #5486 - ehuss:deprecate-doc, r=matklad

Deprecate `doc` profile.

Fixes #5434

7 years agoDeprecate `doc` profile.
Eric Huss [Sat, 5 May 2018 15:52:19 +0000 (08:52 -0700)]
Deprecate `doc` profile.

Fixes #5434

7 years agoAuto merge of #5485 - patriksvensson:feature/GH-5474, r=matklad
bors [Sat, 5 May 2018 14:24:55 +0000 (14:24 +0000)]
Auto merge of #5485 - patriksvensson:feature/GH-5474, r=matklad

Do not allow running library examples.

This is my first contribution to anything Rust related that I haven't written myself, and I'm not a very proficient Rust programmer (yet), so would love some feedback on improvements.

I also might have solved this the wrong way... ðŸ˜„

Closes #5474

(cc @matklad)

7 years agoMade adjustments based on feedback from review.
Patrik Svensson [Sat, 5 May 2018 14:17:59 +0000 (16:17 +0200)]
Made adjustments based on feedback from review.

7 years agoDo not allow running library examples.
Patrik Svensson [Sat, 5 May 2018 08:39:51 +0000 (10:39 +0200)]
Do not allow running library examples.

Closes #5474

7 years agoAuto merge of #5480 - alexcrichton:fix-regr, r=matklad
bors [Fri, 4 May 2018 21:07:15 +0000 (21:07 +0000)]
Auto merge of #5480 - alexcrichton:fix-regr, r=matklad

Fix optional deps in multiple sections

This commit fixes an issue where an optional dependency was listed multiple
times in a manifest (multiple sections). This regression was introduced by #5415
and happened because in the resolver we didn't record a `Dependency` as it was
accidentally deduplicated too soon.

The fix here was to ensure that all `Dependency` annotations make their way into
`Resolve` now that we rely on the listed `Dependency` values for correctness.

Closes #5475

7 years agoFix optional deps in multiple sections
Alex Crichton [Fri, 4 May 2018 16:19:30 +0000 (09:19 -0700)]
Fix optional deps in multiple sections

This commit fixes an issue where an optional dependency was listed multiple
times in a manifest (multiple sections). This regression was introduced by #5415
and happened because in the resolver we didn't record a `Dependency` as it was
accidentally deduplicated too soon.

The fix here was to ensure that all `Dependency` annotations make their way into
`Resolve` now that we rely on the listed `Dependency` values for correctness.

Closes #5475

7 years agoAuto merge of #5483 - ehuss:disable-panic-test, r=matklad
bors [Fri, 4 May 2018 18:00:30 +0000 (18:00 +0000)]
Auto merge of #5483 - ehuss:disable-panic-test, r=matklad

Disable --all-targets panic tests until we can land a fix.

7 years agoDisable --all-targets panic tests until we can land a fix.
Eric Huss [Fri, 4 May 2018 17:51:20 +0000 (10:51 -0700)]
Disable --all-targets panic tests until we can land a fix.

7 years agoAuto merge of #5479 - matklad:ghost-hunting, r=alexcrichton
bors [Fri, 4 May 2018 16:07:30 +0000 (16:07 +0000)]
Auto merge of #5479 - matklad:ghost-hunting, r=alexcrichton

Investigating spurious windows errors

r? @alexcrichton

7 years agoTry to diagnose/fix spurious windows error with better rm -r
Aleksey Kladov [Fri, 4 May 2018 15:02:57 +0000 (18:02 +0300)]
Try to diagnose/fix spurious windows error with better rm -r

7 years agoRevert "Attmept to fix a spurious failure on AppVeyor"
Aleksey Kladov [Fri, 4 May 2018 14:53:10 +0000 (17:53 +0300)]
Revert "Attmept to fix a spurious failure on AppVeyor"

This reverts commit db3328f8f7b96701faa62756a0d55ed71899d894.

We get spurious errors for thouse tests even with debug info disabled,
so let's reenable it back.

7 years agoAuto merge of #5476 - dwijnand:Registry-vs-Source-confusion, r=matklad
bors [Fri, 4 May 2018 14:37:41 +0000 (14:37 +0000)]
Auto merge of #5476 - dwijnand:Registry-vs-Source-confusion, r=matklad

Try & simplify Registry vs Source confusion

Refs #3006.

I tried to go further and replace references of `Registry` with `PackageRegistry`, but I ran into lifetime issue in `ops::resolve_with_previous` which I think has to do with no longer passing `PackageRegistry` as a `Registry` trait object (with a new and distinct lifetime).

7 years agoTrash RegistryBuilder, dead cfg(test) code
Dale Wijnand [Fri, 4 May 2018 14:24:08 +0000 (15:24 +0100)]
Trash RegistryBuilder, dead cfg(test) code

7 years agoRe-organise Source impls method definition order
Dale Wijnand [Fri, 4 May 2018 13:15:48 +0000 (14:15 +0100)]
Re-organise Source impls method definition order

Optimised for minimised PR diff, and thus reviewability

7 years agoRe-simplify GitSource::query
Dale Wijnand [Fri, 4 May 2018 13:10:24 +0000 (14:10 +0100)]
Re-simplify GitSource::query

7 years agoMove query definitions back into Source impls!
Dale Wijnand [Fri, 4 May 2018 13:07:51 +0000 (14:07 +0100)]
Move query definitions back into Source impls!

7 years agoRemove all "impl Registry for XSource" blocks!
Dale Wijnand [Fri, 4 May 2018 13:05:23 +0000 (14:05 +0100)]
Remove all "impl Registry for XSource" blocks!

7 years agoDrop unnecessary Registry for Box
Dale Wijnand [Fri, 4 May 2018 13:00:35 +0000 (14:00 +0100)]
Drop unnecessary Registry for Box

7 years agoDuplicate query in Source, drop Registry parent type
Dale Wijnand [Thu, 3 May 2018 22:26:42 +0000 (23:26 +0100)]
Duplicate query in Source, drop Registry parent type

.. and move query definitions to the struct impls.

7 years agoStart moving methods from Registry to Source
Dale Wijnand [Thu, 3 May 2018 22:14:21 +0000 (23:14 +0100)]
Start moving methods from Registry to Source

For now just move `supports_checksums` and `requires_precise` methods
down from `Registry` to `Source`, as they're not as entangled as
`query`.

7 years agoRename default() method that does not implement Default
Dirkjan Ochtman [Sat, 14 Apr 2018 09:58:01 +0000 (11:58 +0200)]
Rename default() method that does not implement Default

7 years agoStore BuildConfig directly in CompileOptions
Dirkjan Ochtman [Sat, 14 Apr 2018 09:06:51 +0000 (11:06 +0200)]
Store BuildConfig directly in CompileOptions

7 years agoPass full build_config to generate_targets()
Dirkjan Ochtman [Thu, 3 May 2018 09:17:38 +0000 (11:17 +0200)]
Pass full build_config to generate_targets()

7 years agoMove rustc and target configs from BuildConfig into BuildContext
Dirkjan Ochtman [Sat, 28 Apr 2018 13:14:51 +0000 (15:14 +0200)]
Move rustc and target configs from BuildConfig into BuildContext

7 years agoPass Workspace directly into Config::rustc()
Dirkjan Ochtman [Thu, 3 May 2018 08:42:45 +0000 (10:42 +0200)]
Pass Workspace directly into Config::rustc()

This means we can store the cache file name in one place.

7 years agoProxy host_triple() and target_triple() on BuildContext
Dirkjan Ochtman [Thu, 3 May 2018 08:09:54 +0000 (10:09 +0200)]
Proxy host_triple() and target_triple() on BuildContext

7 years agoInitialize Compilation fields directly from BuildContext
Dirkjan Ochtman [Thu, 3 May 2018 08:08:16 +0000 (10:08 +0200)]
Initialize Compilation fields directly from BuildContext

7 years agoPass target configs directly to BuildState::new()
Dirkjan Ochtman [Sat, 28 Apr 2018 12:50:56 +0000 (14:50 +0200)]
Pass target configs directly to BuildState::new()

7 years agoMove BuildConfig and dependencies into new module
Dirkjan Ochtman [Sat, 14 Apr 2018 09:55:26 +0000 (11:55 +0200)]
Move BuildConfig and dependencies into new module

7 years agoMove more input validation into BuildConfig::new()
Dirkjan Ochtman [Sat, 14 Apr 2018 09:44:42 +0000 (11:44 +0200)]
Move more input validation into BuildConfig::new()

7 years agoStore compile mode as enum in BuildConfig
Dirkjan Ochtman [Sat, 14 Apr 2018 08:49:15 +0000 (10:49 +0200)]
Store compile mode as enum in BuildConfig

7 years agoExpose CompileMode in command_prelude
Dirkjan Ochtman [Sat, 14 Apr 2018 08:47:58 +0000 (10:47 +0200)]
Expose CompileMode in command_prelude

7 years agoStore message format as enum in BuildConfig
Dirkjan Ochtman [Sat, 14 Apr 2018 08:27:33 +0000 (10:27 +0200)]
Store message format as enum in BuildConfig

7 years agoAuto merge of #5472 - alexcrichton:rename-rust, r=matklad
bors [Thu, 3 May 2018 19:39:24 +0000 (19:39 +0000)]
Auto merge of #5472 - alexcrichton:rename-rust, r=matklad

Rename the `rust` manifest key to `edition`

This'll hopefully jive better with the terminology of "edition" throughout the
rest of Rust!

7 years agoRename the `rust` manifest key to `edition`
Alex Crichton [Thu, 3 May 2018 16:14:25 +0000 (09:14 -0700)]
Rename the `rust` manifest key to `edition`

This'll hopefully jive better with the terminology of "edition" throughout the
rest of Rust!

7 years agoAuto merge of #5473 - ehuss:autobin-warning, r=alexcrichton
bors [Thu, 3 May 2018 18:19:51 +0000 (18:19 +0000)]
Auto merge of #5473 - ehuss:autobin-warning, r=alexcrichton

Address autobins warning.

Removes the large warning displayed if you build Cargo with itself (but adds a warning if you build with an older Cargo).  Not sure which approach you prefer to address it, or if you want to do this later.

7 years agoAddress autobins warning.
Eric Huss [Thu, 3 May 2018 16:13:36 +0000 (09:13 -0700)]
Address autobins warning.