| tag | 076eebd65a12f2b6bf45d56ffb655cd2a6536004 | |
|---|---|---|
| tagger | Brian Anderson <banderson@mozilla.com> | Thu Sep 29 11:22:42 2016 -0700 |
| object | 109cb7c33d426044d141457049bd0fffaca1327c |
0.13.0 release
| commit | 109cb7c33d426044d141457049bd0fffaca1327c | [log] [tgz] |
|---|---|---|
| author | bors <bors@rust-lang.org> | Fri Aug 19 14:24:29 2016 -0700 |
| committer | GitHub <noreply@github.com> | Fri Aug 19 14:24:29 2016 -0700 |
| tree | e6e3e042790d5d7c943aea9826862621fa37636c | |
| parent | b05bacdd7a4dbd88804360270cf66f23e5ba3e7d [diff] | |
| parent | 7e4043951bfee9ac2f44a888aae0c9324df29f58 [diff] |
Auto merge of #3022 - alexcrichton:add-more-metadata, r=brson Add a temporary env var to enable hashes in filenames For rustbuild we need the hashes to exist for all deps, even if they're path deps, because we care about the actual file names. For example we don't want to install /usr/lib/libstd.so! This adds a "secret" environment variable, `__CARGO_DEFAULT_LIB_METADATA` which re-enables the old behavior of just putting hashes in filenames. Closes #3005
Cargo downloads your Rust project’s dependencies and compiles your project.
Learn more at http://doc.crates.io/
Cargo is distributed by default with Rust, so if you've got rustc installed locally you probably also have cargo installed locally.
If, however, you would like to install Cargo from the nightly binaries that are generated, you may also do so! Note that these nightlies are not official binaries, so they are only provided in one format with one installation method. Each tarball below contains a top-level install.sh script to install Cargo.
x86_64-unknown-linux-gnui686-unknown-linux-gnux86_64-apple-darwini686-apple-darwinx86_64-pc-windows-gnui686-pc-windows-gnux86_64-pc-windows-msvcNote that if you're on Windows you will have to run the install.sh script from inside an MSYS shell, likely from a MinGW-64 installation.
Cargo requires the following tools and packages to build:
pythoncurl (on Unix)cmakelibssl-dev package on ubuntu)First, you'll want to check out this repository
git clone --recursive https://github.com/rust-lang/cargo cd cargo
If you already have rustc and cargo installed elsewhere, you can simply run
cargo build --release
Otherwise, if you have rustc installed and not Cargo, you can simply run:
./configure make make install
If, however, you have neither rustc nor cargo previously installed you can run:
python -B src/etc/install-deps.py ./configure --local-rust-root="$PWD"/rustc make make install
Note: if building for 32 bit systems run BITS=32 python -B ..
More options can be discovered through ./configure, such as compiling cargo for more than one target. For example, if you'd like to compile both 32 and 64 bit versions of cargo on unix you would use:
$ ./configure --target=i686-unknown-linux-gnu,x86_64-unknown-linux-gnu
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.
To contribute to the docs, all you need to do is change the markdown files in the src/doc directory. To view the rendered version of changes you have made locally, run:
./configure make doc open target/doc/index.html
High level release notes are available as part of Rust's release notes.
Found a bug? We'd love to know about it!
Please report all issues on the github issue tracker.
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 (http://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.