| commit | f3c7e066ad66e05439cf8eab165a2de580b41aaf | [log] [tgz] |
|---|---|---|
| author | bors <bors@rust-lang.org> | Fri Aug 28 19:37:58 2020 +0000 |
| committer | bors <bors@rust-lang.org> | Fri Aug 28 19:37:58 2020 +0000 |
| tree | ff8db67ce92a247dff76b9c881bcea0142a7805b | |
| parent | 51b66125ba97d2906f461b3f4e0408f206299bb6 [diff] | |
| parent | d1ff5779e1671d067a7880a2e5acc3a27e3b131c [diff] |
Auto merge of #8658 - ehuss:beta-fix-doctest-lto, r=alexcrichton [beta] Fix LTO with doctests. Beta packports: * #8653 Fix cache_messages::rustdoc test broken on beta. — so that CI tests pass * #8648 Add spaces after -C and -Z flags for consistency — so that #8657 can be merged * #8657 Fix LTO with doctests. Although the LTO regression is on 1.46, I probably won't do a stable backport even if there is a point release, as I think it would be good to have sufficient time for testing on nightly, and I don't want to rush it. I'm willing to reconsider that, though.
Cargo downloads your Rust project’s dependencies and compiles your project.
Learn more at https://doc.rust-lang.org/cargo/
Code documentation: https://docs.rs/cargo/
Cargo is distributed by default with Rust, so if you've got rustc installed locally you probably also have cargo installed locally.
Cargo requires the following tools and packages to build:
gitcurl (on Unix)pkg-config (on Unix, used to figure out the libssl headers/libraries)libssl-dev package on ubuntu)cargo and rustcFirst, you'll want to check out this repository
git clone https://github.com/rust-lang/cargo cd cargo
With cargo already installed, you can simply run:
cargo build --release
Cargo is designed to be extensible with new subcommands without having to modify Cargo itself. See the Wiki page for more details and a list of known community-developed subcommands.
Cargo releases coincide with Rust releases. High level release notes are available as part of Rust's release notes. Detailed release notes are available in this repo at CHANGELOG.md.
Found a bug? We'd love to know about it!
Please report all issues on the GitHub issue tracker.
See CONTRIBUTING.md. You may also find the architecture documentation useful (ARCHITECTURE.md).
Cargo is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (https://www.openssl.org/).
In binary form, this product includes software that is licensed under the terms of the GNU General Public License, version 2, with a linking exception, which can be obtained from the upstream repository.
See LICENSE-THIRD-PARTY for details.