about summary refs log tree commit diff
path: root/src/tools/cargo
AgeCommit message (Collapse)AuthorLines
2017-11-29Update CargoNick Cameron-0/+0
Pulls in https://github.com/rust-lang/cargo/pull/4762 fixing a broken test which prevented the RLS update
2017-11-12Bump cargo to master.Mark Simulacrum-0/+0
Includes a few bugfixes, and updates the Cargo book. Critically includes https://github.com/rust-lang/cargo/pull/4716. This unblocks (in theory) crater runs.
2017-11-06tools: Fix rustfmt and the RLSDustin Speckhals-0/+0
These tools have been corrected in their upstream repo's, and the submodules have been updated here to reflect that. I also had to update Cargo to match what the RLS is expecting. The tool states for `rustfmt` and `rls` where both changed from "Broken" to "Testing" in this commit, thus enabling testing and distribution again.
2017-10-30Update cargo.kennytm-0/+0
Brings in rust-lang/cargo#4672, unbreaks nightly on macOS APFS.
2017-10-26Bump to 1.23 and update bootstrapAlex Crichton-0/+0
This commit updates the bootstrap compiler, bumps the version to 1.23, updates Cargo, updates books, and updates crates.io dependencies
2017-09-27Update the Cargo submoduleAlex Crichton-0/+0
2017-09-15Update cargo submoduleAlex Crichton-0/+0
Just a routine update
2017-09-09rustbuild: Switch back to using hard linksAlex Crichton-0/+0
The `copy` function historically in rustbuild used hard links to speed up the copy operations that it does. This logic was backed out, however, in #39518 due to a bug that only showed up on Windows, described in #39504. The cause described in #39504 happened because Cargo, on a fresh build, would overwrite the previous artifacts with new hard links that Cargo itself manages. This behavior in Cargo was fixed in rust-lang/cargo#4390 where it no longer should overwrite files on fresh builds, opportunistically leaving the filesystem intact and not touching it. Hopefully this can help speed up local builds by doing fewer copies all over the place!
2017-09-01Update cargo.Mark Simulacrum-0/+0
This includes https://github.com/rust-lang/cargo/pull/4447 which fixes a bug in Cargo that is needed to fix https://github.com/rust-lang/rust/issues/44237.
2017-08-31Update Cargo to 0.23.0 and our lockfileAlex Crichton-0/+0
2017-08-27Update Cargo submoduleTatsuyuki Ishi-0/+0
2017-08-26Update cargoMark Simulacrum-0/+0
2017-08-25Update RLS and CargoNick Cameron-0/+0
2017-08-10Updated cargo submodule to fix compile errorIsaac van Bakel-0/+0
2017-07-29Update cargo versionGuillaume Gomez-0/+0
2017-07-25Bump master to 1.21.0Alex Crichton-0/+0
This commit bumps the master branch's version to 1.21.0 and also updates the bootstrap compiler from the freshly minted beta release.
2017-07-21Update Cargo to ffab51954ec32d55631c37a8730bb24915fc090bSimon Sapin-0/+0
https://github.com/rust-lang/cargo/pull/4123 added the [patch] section of the manifest
2017-07-13Update the `cargo` submoduleAlex Crichton-0/+0
Notably pull in an update to the `jobserver` crate to have Cargo set the `CARGO_MAKEFLAGS` environment variable instead of the `MAKEFLAGS` environment variable.
2017-07-02Update cargoest31-0/+0
... to get https://github.com/rust-lang/cargo/pull/4244 and https://github.com/rust-lang/cargo/pull/4246
2017-06-30update cargo submoduleMarc-Antoine Perennou-0/+0
This brings in several fixes and the new handling of __CARGO_DEFAULT_LIB_METADATA Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-06-26Update CargoMark Simulacrum-0/+0
2017-06-22Updating cargo to latestGiles Cope-0/+0
2017-06-20Updating cargo to include #4181.Giles Cope-0/+0
2017-06-17Update cargo/rls submodules and dependenciesAlex Crichton-0/+0
Brings in a few regression fixes on the Cargo side, updates the rls to work with the newer Cargo, and also updates other crates.io dependencies to pull in various bug fixes and such.
2017-06-07Update CargoAlex Crichton-0/+0
Brings in some perf improvements!
2017-05-28Updated locked version of libgit2Alex Crichton-0/+0
This should include a fix for rust-lang/cargo#4091 with an updated version of libgit2. Closes rust-lang/cargo#4091
2017-05-24Update Cargo submoduleAlex Crichton-0/+0
Contains a fix for rust-lang/cargo#4081
2017-05-18Update the Cargo submodulesAlex Crichton-0/+0
2017-05-18Cargo submodule updateMike Lubinets-0/+0
2017-05-16Update cargo submoduleAlex Crichton-0/+0
This pulls in a fix for #41797 to the master branch, I'll send a separate PR for the beta branch.
2017-05-13Update the Cargo submoduleAlex Crichton-0/+0
Brings some nice updates like faster index clones/updates, retries on 500 from crates.io, etc.
2017-05-09Bump cargo for rust-lang/cargo#4000Jon Gjengset-0/+0
Also relies on rust-lang/cargo#4010
2017-04-29Update stage0 bootstrap compilerAlex Crichton-0/+0
We've got a freshly minted beta compiler, let's update to use that on nightly! This has a few other changes associated with it as well * A bump to the rustc version number (to 1.19.0) * Movement of the `cargo` and `rls` submodules to their "proper" location in `src/tools/{cargo,rls}`. Now that Cargo workspaces support the `exclude` option this can work. * Updates of the `cargo` and `rls` submodules to their master branches. * Tweak to the `src/stage0.txt` format to be more amenable for Cargo version numbers. On the beta channel Cargo will bootstrap from a different version than rustc (e.g. the version numbers are different), so we need different configuration for this. * Addition of `dev` as a readable key in the `src/stage0.txt` format. If present then stage0 compilers are downloaded from `dev-static.rust-lang.org` instead of `static.rust-lang.org`. This is added to accomodate our updated release process with Travis and AppVeyor.
2017-03-10Don't put Cargo into the rustc workspaceAlex Crichton-0/+0
This causes problems when first cloning and bootstrapping the repository unfortunately, so let's ensure that Cargo sticks around in its own workspace. Because Cargo is a submodule it's not available by default on the inital clone of the rust-lang/rust repository. Normally it's the responsibility of the rustbuild to take care of this, but unfortunately to build rustbuild itself we need to resolve the workspace conflicts. To deal with this we'll just have to ensure that all submodules are in their own workspace, which sort of makes sense anyway as updates to dependencies as bugfixes to Cargo should go to rust-lang/cargo instead of rust-lang/rust. In any case this commit removes Cargo from the global workspace which should resolve the issues that we've been seeing. To actually perform this the `cargo` submodule has been moved to the top directory to ensure it's outside the scope of `src/Cargo.toml` as a workspace.
2017-03-03rustbuild: Add support for compiling CargoAlex Crichton-0/+0
This commit adds support to rustbuild for compiling Cargo as part of the release process. Previously rustbuild would simply download a Cargo snapshot and repackage it. With this change we should be able to turn off artifacts from the rust-lang/cargo repository and purely rely on the artifacts Cargo produces here. The infrastructure added here is intended to be extensible to other components, such as the RLS. It won't exactly be a one-line addition, but the addition of Cargo didn't require too much hooplah anyway. The process for release Cargo will now look like: * The rust-lang/rust repository has a Cargo submodule which is used to build a Cargo to pair with the rust-lang/rust release * Periodically we'll update the cargo submodule as necessary on rust-lang/rust's master branch * When branching beta we'll create a new branch of Cargo (as we do today), and the first commit to the beta branch will be to update the Cargo submodule to this exact revision. * When branching stable, we'll ensure that the Cargo submodule is updated and then make a stable release. Backports to Cargo will look like: * Send a PR to cargo's master branch * Send a PR to cargo's release branch (e.g. rust-1.16.0) * Send a PR to rust-lang/rust's beta branch updating the submodule * Eventually send a PR to rust-lang/rust's master branch updating the submodule For reference, the process to add a new component to the rust-lang/rust release would look like: * Add `$foo` as a submodule in `src/tools` * Add a `tool-$foo` step which compiles `$foo` with the specified compiler, likely mirroring what Cargo does. * Add a `dist-$foo` step which uses `src/tools/$foo` and the `tool-$foo` output to create a rust-installer package for `$foo` likely mirroring what Cargo does. * Update the `dist-extended` step with a new dependency on `dist-$foo` * Update `src/tools/build-manifest` for the new component.
2017-03-01Add Cargo as a submoduleAlex Crichton-0/+0