Hello community,
here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-11-30 12:42:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rust (Old)
and /work/SRC/openSUSE:Factory/.rust.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust"
Thu Nov 30 12:42:28 2017 rev:21 rq:545594 version:1.22.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rust/rust.changes 2017-10-25 17:44:10.932818098 +0200
+++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-11-30 12:43:41.681619727 +0100
@@ -1,0 +2,44 @@
+Sat Nov 25 09:54:46 UTC 2017 - mmanu84@outlook.de
+
+- Update to v1.22.1
+- Update Cargo to fix an issue with macOS 10.13 "High Sierra"
+
+-------------------------------------------------------------------
+Thu Nov 23 00:27:24 UTC 2017 - jones_ld@protonmail.com
+
+- Update to v1.22.0
+- Language changes:
+ + `non_snake_case` lint now allows extern no-mangle functions
+ + Now accepts underscores in unicode escapes
+ + `T op= &T` now works for numeric types. eg. `let mut x = 2; x += &8;`
+ + types that impl `Drop` are now allowed in `const` and `static` types
+- Compiler changes:
+ + rustc now defaults to having 16 codegen units at debug on supported platforms
+ + rustc will no longer inline in codegen units when compiling for debug
+ This should decrease compile times for debug builds.
+ + strict memory alignment now enabled on ARMv6
+ + Remove support for the PNaCl target `le32-unknown-nacl`
+- Librarie changes
+ + Allow atomic operations up to 32 bits
+ on `armv5te_unknown_linux_gnueabi`
+ + `Box<Error>` now impls `From`
+ + `std::mem::Discriminant` is now guaranteed to be `Send + Sync`
+ + `fs::copy` now returns the length of the main stream on NTFS.
+ + Properly detect overflow in `Instant += Duration`.
+ + impl `Hasher` for `{&mut Hasher, Box<Hasher>}`
+ + impl `fmt::Debug` for `SplitWhitespace`.][44303]
+ + `Option<T>` now impls `Try`. This allows for using `?` with `Option` types.
+- Misc
+ + `libbacktrace` is now available on Apple platforms.
+ + Stabilised the `compile_fail` attribute for code fences in doc-comments.
+ This now lets you specify that a given code example will fail to compile.
+- Compatibility Notes
+ + The minimum Android version that rustc can build for has been bumped
+ to `4.0` from `2.3`
+ + Allowing `T op= &T` for numeric types has broken some type inference cases
+
+- Remove rust-1.21.0-44203-exclude-compiler-rt-test.patch
+- Remove rust-1.21.0-44066-ppc64-struct-abi.patch
+- Remove rust-1.21.0-44440-s390x-global-align.patch
+
+-------------------------------------------------------------------
Old:
----
cargo-0.22.0-aarch64-unknown-linux-gnu.tar.gz
cargo-0.22.0-armv7-unknown-linux-gnueabihf.tar.gz
cargo-0.22.0-i686-unknown-linux-gnu.tar.gz
cargo-0.22.0-powerpc64-unknown-linux-gnu.tar.gz
cargo-0.22.0-powerpc64le-unknown-linux-gnu.tar.gz
cargo-0.22.0-s390x-unknown-linux-gnu.tar.gz
cargo-0.22.0-x86_64-unknown-linux-gnu.tar.gz
rust-1.21.0-44066-ppc64-struct-abi.patch
rust-1.21.0-44203-exclude-compiler-rt-test.patch
rust-1.21.0-44440-s390x-global-align.patch
rustc-1.21.0-src.tar.gz
New:
----
cargo-0.23.0-aarch64-unknown-linux-gnu.tar.gz
cargo-0.23.0-arm-unknown-linux-gnueabihf.tar.gz
cargo-0.23.0-armv7-unknown-linux-gnueabihf.tar.gz
cargo-0.23.0-i686-unknown-linux-gnu.tar.gz
cargo-0.23.0-powerpc64-unknown-linux-gnu.tar.gz
cargo-0.23.0-powerpc64le-unknown-linux-gnu.tar.gz
cargo-0.23.0-s390x-unknown-linux-gnu.tar.gz
cargo-0.23.0-x86_64-unknown-linux-gnu.tar.gz
rustc-1.22.1-src.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rust.spec ++++++
--- /var/tmp/diff_new_pack.LnHBIe/_old 2017-11-30 12:43:45.141493942 +0100
+++ /var/tmp/diff_new_pack.LnHBIe/_new 2017-11-30 12:43:45.149493651 +0100
@@ -17,8 +17,8 @@
#
-%global prev_rust 1.20.0
-%global cargo_version 0.22.0
+%global prev_rust 1.21.0
+%global cargo_version 0.23.0
%bcond_with rust_bootstrap
%global rust_arch %{_arch}
@@ -27,6 +27,10 @@
%global rust_arch armv7
%global abi gnueabihf
%endif
+%ifarch armv6hl
+%global rust_arch arm
+%global abi gnueabihf
+%endif
%ifarch ppc64
%global rust_arch powerpc64
%endif
@@ -44,7 +48,7 @@
%global rustlibdir %{common_libdir}/rustlib
Name: rust
-Version: 1.21.0
+Version: 1.22.1
Release: 0
Summary: A systems programming language
License: MIT or Apache-2.0
@@ -57,13 +61,11 @@
Source101: cargo-%{cargo_version}-i686-unknown-linux-gnu.tar.gz
Source102: cargo-%{cargo_version}-aarch64-unknown-linux-gnu.tar.gz
Source103: cargo-%{cargo_version}-armv7-unknown-linux-gnueabihf.tar.gz
-Source104: cargo-%{cargo_version}-powerpc64-unknown-linux-gnu.tar.gz
-Source105: cargo-%{cargo_version}-powerpc64le-unknown-linux-gnu.tar.gz
-Source106: cargo-%{cargo_version}-s390x-unknown-linux-gnu.tar.gz
+Source104: cargo-%{cargo_version}-arm-unknown-linux-gnueabihf.tar.gz
+Source105: cargo-%{cargo_version}-powerpc64-unknown-linux-gnu.tar.gz
+Source106: cargo-%{cargo_version}-powerpc64le-unknown-linux-gnu.tar.gz
+Source107: cargo-%{cargo_version}-s390x-unknown-linux-gnu.tar.gz
# PATCH-FIX-OPENSUSE: Set DT_SONAME when building dylibs
-Patch1: rust-1.21.0-44203-exclude-compiler-rt-test.patch
-Patch2: rust-1.21.0-44066-ppc64-struct-abi.patch
-Patch3: rust-1.21.0-44440-s390x-global-align.patch
BuildRequires: ccache
BuildRequires: cmake >= 3.4.3
BuildRequires: curl
@@ -168,23 +170,23 @@
%ifarch armv7hl
%setup -q -T -b 103 -n cargo-%{cargo_version}-%{rust_triple}
%endif
-%ifarch ppc64
+%ifarch armv6hl
%setup -q -T -b 104 -n cargo-%{cargo_version}-%{rust_triple}
%endif
-%ifarch ppc64le
+%ifarch ppc64
%setup -q -T -b 105 -n cargo-%{cargo_version}-%{rust_triple}
%endif
-%ifarch s390x
+%ifarch ppc64le
%setup -q -T -b 106 -n cargo-%{cargo_version}-%{rust_triple}
%endif
+%ifarch s390x
+%setup -q -T -b 107 -n cargo-%{cargo_version}-%{rust_triple}
+%endif
# The cargo binary is only used to build rust and is not shipped
%global cargo_bin %{_builddir}/cargo-%{cargo_version}-%{rust_triple}/cargo/bin/cargo
%setup -q -n rustc-%{version}-src
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
sed -e 's:<cargo-bin>:%{cargo_bin}:g' \
-e 's:<rust-triple>:%{rust_triple}:g' \
-e 's:<prefix>:%{_prefix}:g' \
@@ -196,7 +198,7 @@
%build
export CPPFLAGS="%{optflags}" # eliminate complain from RPMlint
-./x.py build --config config.toml
+RUST_BACKTRACE=1 ./x.py build --config config.toml
./x.py doc --config config.toml
%install
++++++ cargo-0.22.0-aarch64-unknown-linux-gnu.tar.gz -> cargo-0.23.0-aarch64-unknown-linux-gnu.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-aarch64-unknown-linux-gnu/README.md new/cargo-0.23.0-aarch64-unknown-linux-gnu/README.md
--- old/cargo-0.22.0-aarch64-unknown-linux-gnu/README.md 2017-10-10 00:11:08.000000000 +0200
+++ new/cargo-0.23.0-aarch64-unknown-linux-gnu/README.md 2017-11-23 00:20:36.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
Binary files old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/bin/cargo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md
--- old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-10-10 00:11:08.000000000 +0200
+++ new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-11-23 00:20:36.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1
--- old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-10-10 00:11:08.000000000 +0200
+++ new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-11-23 00:20:36.000000000 +0100
@@ -43,7 +43,7 @@
.RE
.SH EXAMPLES
.PP
-Retrive package specification for foo package
+Retrieve package specification for foo package
.IP
.nf
\f[C]
@@ -59,7 +59,7 @@
\f[]
.fi
.PP
-Retrive package specification for foo from crates.io
+Retrieve package specification for foo from crates.io
.IP
.nf
\f[C]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo.1
--- old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-10-10 00:11:08.000000000 +0200
+++ new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-11-23 00:20:36.000000000 +0100
@@ -96,6 +96,11 @@
.RS
.RE
.TP
+.B cargo\-rustc(1)
+Compile the current project, and optionally pass additional rustc parameters
+.RS
+.RE
+.TP
.B cargo\-package(1)
Generate a source tarball for the current package.
.RS
@@ -121,6 +126,11 @@
.RS
.RE
.TP
+.B cargo\-help(1)
+Display help for a cargo command
+.RS
+.RE
+.TP
.B cargo\-version(1)
Print cargo\[aq]s version and exit.
.RS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo
--- old/cargo-0.22.0-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-10-10 00:11:08.000000000 +0200
+++ new/cargo-0.23.0-aarch64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-11-23 00:20:36.000000000 +0100
@@ -1,19 +1,29 @@
#compdef cargo
-typeset -A opt_args
autoload -U regexp-replace
zstyle -T ':completion:*:*:cargo:*' tag-order && \
zstyle ':completion:*:*:cargo:*' tag-order 'common-commands'
_cargo() {
+local context state state_descr line
+typeset -A opt_args
+# leading items in parentheses are an exclusion list for the arguments following that arg
+# See: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Fun...
+# - => exclude all other options
+# 1 => exclude positional arg 1
+# * => exclude all other args
+# +blah => exclude +blah
_arguments \
'(- 1 *)'{-h,--help}'[show help message]' \
- '(- 1 *)'--list'[list installed commands]' \
- '(- 1 *)'{-v,--verbose}'[use verbose output]' \
- '(- 1 *)'--color'[colorization option]' \
+ '(- 1 *)--list[list installed commands]' \
'(- 1 *)'{-V,--version}'[show version information]' \
+ {-v,--verbose}'[use verbose output]' \
+ --color'[colorization option]' \
+ '(+beta +nightly)+stable[use the stable toolchain]' \
+ '(+stable +nightly)+beta[use the beta toolchain]' \
+ '(+stable +beta)+nightly[use the nightly toolchain]' \
'1: :->command' \
'*:: :->args'
@@ -163,10 +173,10 @@
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
'--no-default-features[do not build the default features]' \
- '--path=[local filesystem path to crate to install]' \
+ '--path=[local filesystem path to crate to install]: :_files -/' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--rev=[specific commit to use when installing from git]' \
- '--root=[directory to install packages into]' \
+ '--root=[directory to install packages into]: :_files -/' \
'--tag=[tag to use when installing from git]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--vers=[version to install from crates.io]' \
@@ -291,7 +301,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to fetch dependencies for]' \
+ '--manifest-path=[path to the manifest to fetch dependencies for]: :_files -/' \
'--no-default-features[do not compile default features for the package]' \
'(-p, --package)'{-p,--package}'=[profile to compile for]' \
'--profile=[profile to build the selected target for]' \
@@ -309,7 +319,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to document]' \
+ '--manifest-path=[path to the manifest to document]: :_files -/' \
'--no-default-features[do not build the `default` feature]' \
'--open[open the docs in a browser after the operation]' \
'(-p, --package)'{-p,--package}'=[package to document]' \
@@ -365,7 +375,7 @@
'--color=:colorization option:(auto always never)' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-q, --quiet)'{-q,--quiet}'[less output printed to stdout]' \
- '--root=[directory to uninstall packages from]' \
+ '--root=[directory to uninstall packages from]: :_files -/' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
;;
@@ -531,5 +541,4 @@
'(--bench --bin --example --lib)--test=[test name]'
)
-
_cargo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-aarch64-unknown-linux-gnu/install.sh new/cargo-0.23.0-aarch64-unknown-linux-gnu/install.sh
--- old/cargo-0.22.0-aarch64-unknown-linux-gnu/install.sh 2017-10-10 00:11:08.000000000 +0200
+++ new/cargo-0.23.0-aarch64-unknown-linux-gnu/install.sh 2017-11-23 00:20:36.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -319,62 +319,6 @@
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
-get_host_triple() {
- local _uname_value=$(uname -s)
- local _ostype
- case $_uname_value in
-
- Linux)
- _ostype=unknown-linux-gnu
- ;;
-
- FreeBSD)
- _ostype=unknown-freebsd
- ;;
-
- DragonFly)
- _ostype=unknown-dragonfly
- ;;
-
- Bitrig)
- _ostype=unknown-bitrig
- ;;
-
- NetBSD)
- _ostype=unknown-netbsd
- ;;
-
- OpenBSD)
- _ostype=unknown-openbsd
- ;;
-
- Darwin)
- _ostype=apple-darwin
- ;;
-
- MINGW*)
- _ostype=pc-windows-gnu
- ;;
-
- MSYS*)
- _ostype=pc-windows-gnu
- ;;
-
- CYGWIN*)
- _ostype=pc-windows-gnu
- ;;
- Haiku)
- _ostype=unknown-haiku
- ;;
-
- *)
- err "unknown value from uname -s: $_uname_value"
- ;;
- esac
-
- RETVAL="$_ostype"
-}
-
uninstall_legacy() {
local _abs_libdir="$1"
@@ -675,11 +619,13 @@
maybe_backup_path "$_file_install_path"
- if echo "$_file" | grep "^bin/" > /dev/null
+ if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
then
- run install -m755 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 755 "$_file_install_path"
else
- run install -m644 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 644 "$_file_install_path"
fi
critical_need_ok "file creation failed"
@@ -719,11 +665,10 @@
maybe_configure_ld() {
local _abs_libdir="$1"
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" = "unknown-linux-gnu" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
+ if [ "$_ostype" = "Linux" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
# Fedora-based systems do not configure the dynamic linker to look
# /usr/local/lib, which is our default installation directory. To
@@ -756,11 +701,10 @@
}
maybe_unconfigure_ld() {
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" != "unknown-linux-gnu" ]; then
+ if [ "$_ostype" != "Linux" ]; then
return 0
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-aarch64-unknown-linux-gnu/version new/cargo-0.23.0-aarch64-unknown-linux-gnu/version
--- old/cargo-0.22.0-aarch64-unknown-linux-gnu/version 2017-10-10 00:11:08.000000000 +0200
+++ new/cargo-0.23.0-aarch64-unknown-linux-gnu/version 2017-11-23 00:20:36.000000000 +0100
@@ -1 +1 @@
-0.22.0 (3423351a5 2017-10-06)
\ No newline at end of file
+0.23.0 (61fa02415 2017-11-22)
\ No newline at end of file
++++++ cargo-0.22.0-armv7-unknown-linux-gnueabihf.tar.gz -> cargo-0.23.0-armv7-unknown-linux-gnueabihf.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/README.md new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/README.md
--- old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/README.md 2017-10-09 23:41:13.000000000 +0200
+++ new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/README.md 2017-11-23 00:16:49.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
Binary files old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/bin/cargo and new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/bin/cargo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md
--- old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md 2017-10-09 23:41:13.000000000 +0200
+++ new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/doc/cargo/README.md 2017-11-23 00:16:49.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-pkgid.1 new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-pkgid.1
--- old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-pkgid.1 2017-10-09 23:41:13.000000000 +0200
+++ new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo-pkgid.1 2017-11-23 00:16:49.000000000 +0100
@@ -43,7 +43,7 @@
.RE
.SH EXAMPLES
.PP
-Retrive package specification for foo package
+Retrieve package specification for foo package
.IP
.nf
\f[C]
@@ -59,7 +59,7 @@
\f[]
.fi
.PP
-Retrive package specification for foo from crates.io
+Retrieve package specification for foo from crates.io
.IP
.nf
\f[C]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo.1 new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo.1
--- old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo.1 2017-10-09 23:41:13.000000000 +0200
+++ new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/man/man1/cargo.1 2017-11-23 00:16:49.000000000 +0100
@@ -96,6 +96,11 @@
.RS
.RE
.TP
+.B cargo\-rustc(1)
+Compile the current project, and optionally pass additional rustc parameters
+.RS
+.RE
+.TP
.B cargo\-package(1)
Generate a source tarball for the current package.
.RS
@@ -121,6 +126,11 @@
.RS
.RE
.TP
+.B cargo\-help(1)
+Display help for a cargo command
+.RS
+.RE
+.TP
.B cargo\-version(1)
Print cargo\[aq]s version and exit.
.RS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo
--- old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo 2017-10-09 23:41:13.000000000 +0200
+++ new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/cargo/share/zsh/site-functions/_cargo 2017-11-23 00:16:49.000000000 +0100
@@ -1,19 +1,29 @@
#compdef cargo
-typeset -A opt_args
autoload -U regexp-replace
zstyle -T ':completion:*:*:cargo:*' tag-order && \
zstyle ':completion:*:*:cargo:*' tag-order 'common-commands'
_cargo() {
+local context state state_descr line
+typeset -A opt_args
+# leading items in parentheses are an exclusion list for the arguments following that arg
+# See: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Fun...
+# - => exclude all other options
+# 1 => exclude positional arg 1
+# * => exclude all other args
+# +blah => exclude +blah
_arguments \
'(- 1 *)'{-h,--help}'[show help message]' \
- '(- 1 *)'--list'[list installed commands]' \
- '(- 1 *)'{-v,--verbose}'[use verbose output]' \
- '(- 1 *)'--color'[colorization option]' \
+ '(- 1 *)--list[list installed commands]' \
'(- 1 *)'{-V,--version}'[show version information]' \
+ {-v,--verbose}'[use verbose output]' \
+ --color'[colorization option]' \
+ '(+beta +nightly)+stable[use the stable toolchain]' \
+ '(+stable +nightly)+beta[use the beta toolchain]' \
+ '(+stable +beta)+nightly[use the nightly toolchain]' \
'1: :->command' \
'*:: :->args'
@@ -163,10 +173,10 @@
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
'--no-default-features[do not build the default features]' \
- '--path=[local filesystem path to crate to install]' \
+ '--path=[local filesystem path to crate to install]: :_files -/' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--rev=[specific commit to use when installing from git]' \
- '--root=[directory to install packages into]' \
+ '--root=[directory to install packages into]: :_files -/' \
'--tag=[tag to use when installing from git]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--vers=[version to install from crates.io]' \
@@ -291,7 +301,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to fetch dependencies for]' \
+ '--manifest-path=[path to the manifest to fetch dependencies for]: :_files -/' \
'--no-default-features[do not compile default features for the package]' \
'(-p, --package)'{-p,--package}'=[profile to compile for]' \
'--profile=[profile to build the selected target for]' \
@@ -309,7 +319,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to document]' \
+ '--manifest-path=[path to the manifest to document]: :_files -/' \
'--no-default-features[do not build the `default` feature]' \
'--open[open the docs in a browser after the operation]' \
'(-p, --package)'{-p,--package}'=[package to document]' \
@@ -365,7 +375,7 @@
'--color=:colorization option:(auto always never)' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-q, --quiet)'{-q,--quiet}'[less output printed to stdout]' \
- '--root=[directory to uninstall packages from]' \
+ '--root=[directory to uninstall packages from]: :_files -/' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
;;
@@ -531,5 +541,4 @@
'(--bench --bin --example --lib)--test=[test name]'
)
-
_cargo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/install.sh new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/install.sh
--- old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/install.sh 2017-10-09 23:41:13.000000000 +0200
+++ new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/install.sh 2017-11-23 00:16:49.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -319,62 +319,6 @@
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
-get_host_triple() {
- local _uname_value=$(uname -s)
- local _ostype
- case $_uname_value in
-
- Linux)
- _ostype=unknown-linux-gnu
- ;;
-
- FreeBSD)
- _ostype=unknown-freebsd
- ;;
-
- DragonFly)
- _ostype=unknown-dragonfly
- ;;
-
- Bitrig)
- _ostype=unknown-bitrig
- ;;
-
- NetBSD)
- _ostype=unknown-netbsd
- ;;
-
- OpenBSD)
- _ostype=unknown-openbsd
- ;;
-
- Darwin)
- _ostype=apple-darwin
- ;;
-
- MINGW*)
- _ostype=pc-windows-gnu
- ;;
-
- MSYS*)
- _ostype=pc-windows-gnu
- ;;
-
- CYGWIN*)
- _ostype=pc-windows-gnu
- ;;
- Haiku)
- _ostype=unknown-haiku
- ;;
-
- *)
- err "unknown value from uname -s: $_uname_value"
- ;;
- esac
-
- RETVAL="$_ostype"
-}
-
uninstall_legacy() {
local _abs_libdir="$1"
@@ -675,11 +619,13 @@
maybe_backup_path "$_file_install_path"
- if echo "$_file" | grep "^bin/" > /dev/null
+ if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
then
- run install -m755 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 755 "$_file_install_path"
else
- run install -m644 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 644 "$_file_install_path"
fi
critical_need_ok "file creation failed"
@@ -719,11 +665,10 @@
maybe_configure_ld() {
local _abs_libdir="$1"
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" = "unknown-linux-gnu" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
+ if [ "$_ostype" = "Linux" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
# Fedora-based systems do not configure the dynamic linker to look
# /usr/local/lib, which is our default installation directory. To
@@ -756,11 +701,10 @@
}
maybe_unconfigure_ld() {
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" != "unknown-linux-gnu" ]; then
+ if [ "$_ostype" != "Linux" ]; then
return 0
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/version new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/version
--- old/cargo-0.22.0-armv7-unknown-linux-gnueabihf/version 2017-10-09 23:41:13.000000000 +0200
+++ new/cargo-0.23.0-armv7-unknown-linux-gnueabihf/version 2017-11-23 00:16:49.000000000 +0100
@@ -1 +1 @@
-0.22.0 (3423351a5 2017-10-06)
\ No newline at end of file
+0.23.0 (61fa02415 2017-11-22)
\ No newline at end of file
++++++ cargo-0.22.0-i686-unknown-linux-gnu.tar.gz -> cargo-0.23.0-i686-unknown-linux-gnu.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-i686-unknown-linux-gnu/README.md new/cargo-0.23.0-i686-unknown-linux-gnu/README.md
--- old/cargo-0.22.0-i686-unknown-linux-gnu/README.md 2017-10-10 00:04:10.000000000 +0200
+++ new/cargo-0.23.0-i686-unknown-linux-gnu/README.md 2017-11-23 00:48:54.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
Binary files old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/bin/cargo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md
--- old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-10-10 00:04:10.000000000 +0200
+++ new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-11-23 00:48:54.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1
--- old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-10-10 00:04:10.000000000 +0200
+++ new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-11-23 00:48:54.000000000 +0100
@@ -43,7 +43,7 @@
.RE
.SH EXAMPLES
.PP
-Retrive package specification for foo package
+Retrieve package specification for foo package
.IP
.nf
\f[C]
@@ -59,7 +59,7 @@
\f[]
.fi
.PP
-Retrive package specification for foo from crates.io
+Retrieve package specification for foo from crates.io
.IP
.nf
\f[C]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo.1 new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo.1
--- old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-10-10 00:04:10.000000000 +0200
+++ new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-11-23 00:48:54.000000000 +0100
@@ -96,6 +96,11 @@
.RS
.RE
.TP
+.B cargo\-rustc(1)
+Compile the current project, and optionally pass additional rustc parameters
+.RS
+.RE
+.TP
.B cargo\-package(1)
Generate a source tarball for the current package.
.RS
@@ -121,6 +126,11 @@
.RS
.RE
.TP
+.B cargo\-help(1)
+Display help for a cargo command
+.RS
+.RE
+.TP
.B cargo\-version(1)
Print cargo\[aq]s version and exit.
.RS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo
--- old/cargo-0.22.0-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-10-10 00:04:10.000000000 +0200
+++ new/cargo-0.23.0-i686-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-11-23 00:48:54.000000000 +0100
@@ -1,19 +1,29 @@
#compdef cargo
-typeset -A opt_args
autoload -U regexp-replace
zstyle -T ':completion:*:*:cargo:*' tag-order && \
zstyle ':completion:*:*:cargo:*' tag-order 'common-commands'
_cargo() {
+local context state state_descr line
+typeset -A opt_args
+# leading items in parentheses are an exclusion list for the arguments following that arg
+# See: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Fun...
+# - => exclude all other options
+# 1 => exclude positional arg 1
+# * => exclude all other args
+# +blah => exclude +blah
_arguments \
'(- 1 *)'{-h,--help}'[show help message]' \
- '(- 1 *)'--list'[list installed commands]' \
- '(- 1 *)'{-v,--verbose}'[use verbose output]' \
- '(- 1 *)'--color'[colorization option]' \
+ '(- 1 *)--list[list installed commands]' \
'(- 1 *)'{-V,--version}'[show version information]' \
+ {-v,--verbose}'[use verbose output]' \
+ --color'[colorization option]' \
+ '(+beta +nightly)+stable[use the stable toolchain]' \
+ '(+stable +nightly)+beta[use the beta toolchain]' \
+ '(+stable +beta)+nightly[use the nightly toolchain]' \
'1: :->command' \
'*:: :->args'
@@ -163,10 +173,10 @@
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
'--no-default-features[do not build the default features]' \
- '--path=[local filesystem path to crate to install]' \
+ '--path=[local filesystem path to crate to install]: :_files -/' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--rev=[specific commit to use when installing from git]' \
- '--root=[directory to install packages into]' \
+ '--root=[directory to install packages into]: :_files -/' \
'--tag=[tag to use when installing from git]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--vers=[version to install from crates.io]' \
@@ -291,7 +301,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to fetch dependencies for]' \
+ '--manifest-path=[path to the manifest to fetch dependencies for]: :_files -/' \
'--no-default-features[do not compile default features for the package]' \
'(-p, --package)'{-p,--package}'=[profile to compile for]' \
'--profile=[profile to build the selected target for]' \
@@ -309,7 +319,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to document]' \
+ '--manifest-path=[path to the manifest to document]: :_files -/' \
'--no-default-features[do not build the `default` feature]' \
'--open[open the docs in a browser after the operation]' \
'(-p, --package)'{-p,--package}'=[package to document]' \
@@ -365,7 +375,7 @@
'--color=:colorization option:(auto always never)' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-q, --quiet)'{-q,--quiet}'[less output printed to stdout]' \
- '--root=[directory to uninstall packages from]' \
+ '--root=[directory to uninstall packages from]: :_files -/' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
;;
@@ -531,5 +541,4 @@
'(--bench --bin --example --lib)--test=[test name]'
)
-
_cargo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-i686-unknown-linux-gnu/install.sh new/cargo-0.23.0-i686-unknown-linux-gnu/install.sh
--- old/cargo-0.22.0-i686-unknown-linux-gnu/install.sh 2017-10-10 00:04:10.000000000 +0200
+++ new/cargo-0.23.0-i686-unknown-linux-gnu/install.sh 2017-11-23 00:48:54.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -319,62 +319,6 @@
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
-get_host_triple() {
- local _uname_value=$(uname -s)
- local _ostype
- case $_uname_value in
-
- Linux)
- _ostype=unknown-linux-gnu
- ;;
-
- FreeBSD)
- _ostype=unknown-freebsd
- ;;
-
- DragonFly)
- _ostype=unknown-dragonfly
- ;;
-
- Bitrig)
- _ostype=unknown-bitrig
- ;;
-
- NetBSD)
- _ostype=unknown-netbsd
- ;;
-
- OpenBSD)
- _ostype=unknown-openbsd
- ;;
-
- Darwin)
- _ostype=apple-darwin
- ;;
-
- MINGW*)
- _ostype=pc-windows-gnu
- ;;
-
- MSYS*)
- _ostype=pc-windows-gnu
- ;;
-
- CYGWIN*)
- _ostype=pc-windows-gnu
- ;;
- Haiku)
- _ostype=unknown-haiku
- ;;
-
- *)
- err "unknown value from uname -s: $_uname_value"
- ;;
- esac
-
- RETVAL="$_ostype"
-}
-
uninstall_legacy() {
local _abs_libdir="$1"
@@ -675,11 +619,13 @@
maybe_backup_path "$_file_install_path"
- if echo "$_file" | grep "^bin/" > /dev/null
+ if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
then
- run install -m755 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 755 "$_file_install_path"
else
- run install -m644 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 644 "$_file_install_path"
fi
critical_need_ok "file creation failed"
@@ -719,11 +665,10 @@
maybe_configure_ld() {
local _abs_libdir="$1"
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" = "unknown-linux-gnu" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
+ if [ "$_ostype" = "Linux" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
# Fedora-based systems do not configure the dynamic linker to look
# /usr/local/lib, which is our default installation directory. To
@@ -756,11 +701,10 @@
}
maybe_unconfigure_ld() {
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" != "unknown-linux-gnu" ]; then
+ if [ "$_ostype" != "Linux" ]; then
return 0
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-i686-unknown-linux-gnu/version new/cargo-0.23.0-i686-unknown-linux-gnu/version
--- old/cargo-0.22.0-i686-unknown-linux-gnu/version 2017-10-10 00:04:10.000000000 +0200
+++ new/cargo-0.23.0-i686-unknown-linux-gnu/version 2017-11-23 00:48:54.000000000 +0100
@@ -1 +1 @@
-0.22.0 (3423351a5 2017-10-06)
\ No newline at end of file
+0.23.0 (61fa02415 2017-11-22)
\ No newline at end of file
++++++ cargo-0.22.0-powerpc64-unknown-linux-gnu.tar.gz -> cargo-0.23.0-powerpc64-unknown-linux-gnu.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64-unknown-linux-gnu/README.md new/cargo-0.23.0-powerpc64-unknown-linux-gnu/README.md
--- old/cargo-0.22.0-powerpc64-unknown-linux-gnu/README.md 2017-10-10 00:15:22.000000000 +0200
+++ new/cargo-0.23.0-powerpc64-unknown-linux-gnu/README.md 2017-11-23 00:22:18.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
Binary files old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/bin/cargo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/doc/cargo/README.md
--- old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-10-10 00:15:22.000000000 +0200
+++ new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-11-23 00:22:18.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1
--- old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-10-10 00:15:22.000000000 +0200
+++ new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-11-23 00:22:18.000000000 +0100
@@ -43,7 +43,7 @@
.RE
.SH EXAMPLES
.PP
-Retrive package specification for foo package
+Retrieve package specification for foo package
.IP
.nf
\f[C]
@@ -59,7 +59,7 @@
\f[]
.fi
.PP
-Retrive package specification for foo from crates.io
+Retrieve package specification for foo from crates.io
.IP
.nf
\f[C]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo.1
--- old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-10-10 00:15:22.000000000 +0200
+++ new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-11-23 00:22:18.000000000 +0100
@@ -96,6 +96,11 @@
.RS
.RE
.TP
+.B cargo\-rustc(1)
+Compile the current project, and optionally pass additional rustc parameters
+.RS
+.RE
+.TP
.B cargo\-package(1)
Generate a source tarball for the current package.
.RS
@@ -121,6 +126,11 @@
.RS
.RE
.TP
+.B cargo\-help(1)
+Display help for a cargo command
+.RS
+.RE
+.TP
.B cargo\-version(1)
Print cargo\[aq]s version and exit.
.RS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo
--- old/cargo-0.22.0-powerpc64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-10-10 00:15:22.000000000 +0200
+++ new/cargo-0.23.0-powerpc64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-11-23 00:22:18.000000000 +0100
@@ -1,19 +1,29 @@
#compdef cargo
-typeset -A opt_args
autoload -U regexp-replace
zstyle -T ':completion:*:*:cargo:*' tag-order && \
zstyle ':completion:*:*:cargo:*' tag-order 'common-commands'
_cargo() {
+local context state state_descr line
+typeset -A opt_args
+# leading items in parentheses are an exclusion list for the arguments following that arg
+# See: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Fun...
+# - => exclude all other options
+# 1 => exclude positional arg 1
+# * => exclude all other args
+# +blah => exclude +blah
_arguments \
'(- 1 *)'{-h,--help}'[show help message]' \
- '(- 1 *)'--list'[list installed commands]' \
- '(- 1 *)'{-v,--verbose}'[use verbose output]' \
- '(- 1 *)'--color'[colorization option]' \
+ '(- 1 *)--list[list installed commands]' \
'(- 1 *)'{-V,--version}'[show version information]' \
+ {-v,--verbose}'[use verbose output]' \
+ --color'[colorization option]' \
+ '(+beta +nightly)+stable[use the stable toolchain]' \
+ '(+stable +nightly)+beta[use the beta toolchain]' \
+ '(+stable +beta)+nightly[use the nightly toolchain]' \
'1: :->command' \
'*:: :->args'
@@ -163,10 +173,10 @@
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
'--no-default-features[do not build the default features]' \
- '--path=[local filesystem path to crate to install]' \
+ '--path=[local filesystem path to crate to install]: :_files -/' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--rev=[specific commit to use when installing from git]' \
- '--root=[directory to install packages into]' \
+ '--root=[directory to install packages into]: :_files -/' \
'--tag=[tag to use when installing from git]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--vers=[version to install from crates.io]' \
@@ -291,7 +301,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to fetch dependencies for]' \
+ '--manifest-path=[path to the manifest to fetch dependencies for]: :_files -/' \
'--no-default-features[do not compile default features for the package]' \
'(-p, --package)'{-p,--package}'=[profile to compile for]' \
'--profile=[profile to build the selected target for]' \
@@ -309,7 +319,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to document]' \
+ '--manifest-path=[path to the manifest to document]: :_files -/' \
'--no-default-features[do not build the `default` feature]' \
'--open[open the docs in a browser after the operation]' \
'(-p, --package)'{-p,--package}'=[package to document]' \
@@ -365,7 +375,7 @@
'--color=:colorization option:(auto always never)' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-q, --quiet)'{-q,--quiet}'[less output printed to stdout]' \
- '--root=[directory to uninstall packages from]' \
+ '--root=[directory to uninstall packages from]: :_files -/' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
;;
@@ -531,5 +541,4 @@
'(--bench --bin --example --lib)--test=[test name]'
)
-
_cargo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64-unknown-linux-gnu/install.sh new/cargo-0.23.0-powerpc64-unknown-linux-gnu/install.sh
--- old/cargo-0.22.0-powerpc64-unknown-linux-gnu/install.sh 2017-10-10 00:15:22.000000000 +0200
+++ new/cargo-0.23.0-powerpc64-unknown-linux-gnu/install.sh 2017-11-23 00:22:18.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -319,62 +319,6 @@
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
-get_host_triple() {
- local _uname_value=$(uname -s)
- local _ostype
- case $_uname_value in
-
- Linux)
- _ostype=unknown-linux-gnu
- ;;
-
- FreeBSD)
- _ostype=unknown-freebsd
- ;;
-
- DragonFly)
- _ostype=unknown-dragonfly
- ;;
-
- Bitrig)
- _ostype=unknown-bitrig
- ;;
-
- NetBSD)
- _ostype=unknown-netbsd
- ;;
-
- OpenBSD)
- _ostype=unknown-openbsd
- ;;
-
- Darwin)
- _ostype=apple-darwin
- ;;
-
- MINGW*)
- _ostype=pc-windows-gnu
- ;;
-
- MSYS*)
- _ostype=pc-windows-gnu
- ;;
-
- CYGWIN*)
- _ostype=pc-windows-gnu
- ;;
- Haiku)
- _ostype=unknown-haiku
- ;;
-
- *)
- err "unknown value from uname -s: $_uname_value"
- ;;
- esac
-
- RETVAL="$_ostype"
-}
-
uninstall_legacy() {
local _abs_libdir="$1"
@@ -675,11 +619,13 @@
maybe_backup_path "$_file_install_path"
- if echo "$_file" | grep "^bin/" > /dev/null
+ if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
then
- run install -m755 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 755 "$_file_install_path"
else
- run install -m644 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 644 "$_file_install_path"
fi
critical_need_ok "file creation failed"
@@ -719,11 +665,10 @@
maybe_configure_ld() {
local _abs_libdir="$1"
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" = "unknown-linux-gnu" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
+ if [ "$_ostype" = "Linux" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
# Fedora-based systems do not configure the dynamic linker to look
# /usr/local/lib, which is our default installation directory. To
@@ -756,11 +701,10 @@
}
maybe_unconfigure_ld() {
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" != "unknown-linux-gnu" ]; then
+ if [ "$_ostype" != "Linux" ]; then
return 0
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64-unknown-linux-gnu/version new/cargo-0.23.0-powerpc64-unknown-linux-gnu/version
--- old/cargo-0.22.0-powerpc64-unknown-linux-gnu/version 2017-10-10 00:15:22.000000000 +0200
+++ new/cargo-0.23.0-powerpc64-unknown-linux-gnu/version 2017-11-23 00:22:18.000000000 +0100
@@ -1 +1 @@
-0.22.0 (3423351a5 2017-10-06)
\ No newline at end of file
+0.23.0 (61fa02415 2017-11-22)
\ No newline at end of file
++++++ cargo-0.22.0-powerpc64le-unknown-linux-gnu.tar.gz -> cargo-0.23.0-powerpc64le-unknown-linux-gnu.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/README.md new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/README.md
--- old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/README.md 2017-10-09 23:53:47.000000000 +0200
+++ new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/README.md 2017-11-23 00:10:25.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
Binary files old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/bin/cargo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/doc/cargo/README.md
--- old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-10-09 23:53:47.000000000 +0200
+++ new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-11-23 00:10:25.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1
--- old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-10-09 23:53:47.000000000 +0200
+++ new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-11-23 00:10:25.000000000 +0100
@@ -43,7 +43,7 @@
.RE
.SH EXAMPLES
.PP
-Retrive package specification for foo package
+Retrieve package specification for foo package
.IP
.nf
\f[C]
@@ -59,7 +59,7 @@
\f[]
.fi
.PP
-Retrive package specification for foo from crates.io
+Retrieve package specification for foo from crates.io
.IP
.nf
\f[C]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo.1 new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo.1
--- old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-10-09 23:53:47.000000000 +0200
+++ new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-11-23 00:10:25.000000000 +0100
@@ -96,6 +96,11 @@
.RS
.RE
.TP
+.B cargo\-rustc(1)
+Compile the current project, and optionally pass additional rustc parameters
+.RS
+.RE
+.TP
.B cargo\-package(1)
Generate a source tarball for the current package.
.RS
@@ -121,6 +126,11 @@
.RS
.RE
.TP
+.B cargo\-help(1)
+Display help for a cargo command
+.RS
+.RE
+.TP
.B cargo\-version(1)
Print cargo\[aq]s version and exit.
.RS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo
--- old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-10-09 23:53:47.000000000 +0200
+++ new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-11-23 00:10:25.000000000 +0100
@@ -1,19 +1,29 @@
#compdef cargo
-typeset -A opt_args
autoload -U regexp-replace
zstyle -T ':completion:*:*:cargo:*' tag-order && \
zstyle ':completion:*:*:cargo:*' tag-order 'common-commands'
_cargo() {
+local context state state_descr line
+typeset -A opt_args
+# leading items in parentheses are an exclusion list for the arguments following that arg
+# See: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Fun...
+# - => exclude all other options
+# 1 => exclude positional arg 1
+# * => exclude all other args
+# +blah => exclude +blah
_arguments \
'(- 1 *)'{-h,--help}'[show help message]' \
- '(- 1 *)'--list'[list installed commands]' \
- '(- 1 *)'{-v,--verbose}'[use verbose output]' \
- '(- 1 *)'--color'[colorization option]' \
+ '(- 1 *)--list[list installed commands]' \
'(- 1 *)'{-V,--version}'[show version information]' \
+ {-v,--verbose}'[use verbose output]' \
+ --color'[colorization option]' \
+ '(+beta +nightly)+stable[use the stable toolchain]' \
+ '(+stable +nightly)+beta[use the beta toolchain]' \
+ '(+stable +beta)+nightly[use the nightly toolchain]' \
'1: :->command' \
'*:: :->args'
@@ -163,10 +173,10 @@
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
'--no-default-features[do not build the default features]' \
- '--path=[local filesystem path to crate to install]' \
+ '--path=[local filesystem path to crate to install]: :_files -/' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--rev=[specific commit to use when installing from git]' \
- '--root=[directory to install packages into]' \
+ '--root=[directory to install packages into]: :_files -/' \
'--tag=[tag to use when installing from git]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--vers=[version to install from crates.io]' \
@@ -291,7 +301,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to fetch dependencies for]' \
+ '--manifest-path=[path to the manifest to fetch dependencies for]: :_files -/' \
'--no-default-features[do not compile default features for the package]' \
'(-p, --package)'{-p,--package}'=[profile to compile for]' \
'--profile=[profile to build the selected target for]' \
@@ -309,7 +319,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to document]' \
+ '--manifest-path=[path to the manifest to document]: :_files -/' \
'--no-default-features[do not build the `default` feature]' \
'--open[open the docs in a browser after the operation]' \
'(-p, --package)'{-p,--package}'=[package to document]' \
@@ -365,7 +375,7 @@
'--color=:colorization option:(auto always never)' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-q, --quiet)'{-q,--quiet}'[less output printed to stdout]' \
- '--root=[directory to uninstall packages from]' \
+ '--root=[directory to uninstall packages from]: :_files -/' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
;;
@@ -531,5 +541,4 @@
'(--bench --bin --example --lib)--test=[test name]'
)
-
_cargo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/install.sh new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/install.sh
--- old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/install.sh 2017-10-09 23:53:47.000000000 +0200
+++ new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/install.sh 2017-11-23 00:10:25.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -319,62 +319,6 @@
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
-get_host_triple() {
- local _uname_value=$(uname -s)
- local _ostype
- case $_uname_value in
-
- Linux)
- _ostype=unknown-linux-gnu
- ;;
-
- FreeBSD)
- _ostype=unknown-freebsd
- ;;
-
- DragonFly)
- _ostype=unknown-dragonfly
- ;;
-
- Bitrig)
- _ostype=unknown-bitrig
- ;;
-
- NetBSD)
- _ostype=unknown-netbsd
- ;;
-
- OpenBSD)
- _ostype=unknown-openbsd
- ;;
-
- Darwin)
- _ostype=apple-darwin
- ;;
-
- MINGW*)
- _ostype=pc-windows-gnu
- ;;
-
- MSYS*)
- _ostype=pc-windows-gnu
- ;;
-
- CYGWIN*)
- _ostype=pc-windows-gnu
- ;;
- Haiku)
- _ostype=unknown-haiku
- ;;
-
- *)
- err "unknown value from uname -s: $_uname_value"
- ;;
- esac
-
- RETVAL="$_ostype"
-}
-
uninstall_legacy() {
local _abs_libdir="$1"
@@ -675,11 +619,13 @@
maybe_backup_path "$_file_install_path"
- if echo "$_file" | grep "^bin/" > /dev/null
+ if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
then
- run install -m755 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 755 "$_file_install_path"
else
- run install -m644 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 644 "$_file_install_path"
fi
critical_need_ok "file creation failed"
@@ -719,11 +665,10 @@
maybe_configure_ld() {
local _abs_libdir="$1"
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" = "unknown-linux-gnu" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
+ if [ "$_ostype" = "Linux" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
# Fedora-based systems do not configure the dynamic linker to look
# /usr/local/lib, which is our default installation directory. To
@@ -756,11 +701,10 @@
}
maybe_unconfigure_ld() {
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" != "unknown-linux-gnu" ]; then
+ if [ "$_ostype" != "Linux" ]; then
return 0
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/version new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/version
--- old/cargo-0.22.0-powerpc64le-unknown-linux-gnu/version 2017-10-09 23:53:47.000000000 +0200
+++ new/cargo-0.23.0-powerpc64le-unknown-linux-gnu/version 2017-11-23 00:10:25.000000000 +0100
@@ -1 +1 @@
-0.22.0 (3423351a5 2017-10-06)
\ No newline at end of file
+0.23.0 (61fa02415 2017-11-22)
\ No newline at end of file
++++++ cargo-0.22.0-s390x-unknown-linux-gnu.tar.gz -> cargo-0.23.0-s390x-unknown-linux-gnu.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-s390x-unknown-linux-gnu/README.md new/cargo-0.23.0-s390x-unknown-linux-gnu/README.md
--- old/cargo-0.22.0-s390x-unknown-linux-gnu/README.md 2017-10-09 23:49:45.000000000 +0200
+++ new/cargo-0.23.0-s390x-unknown-linux-gnu/README.md 2017-11-23 00:21:14.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
Binary files old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/bin/cargo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/doc/cargo/README.md
--- old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-10-09 23:49:45.000000000 +0200
+++ new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-11-23 00:21:14.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1
--- old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-10-09 23:49:45.000000000 +0200
+++ new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-11-23 00:21:14.000000000 +0100
@@ -43,7 +43,7 @@
.RE
.SH EXAMPLES
.PP
-Retrive package specification for foo package
+Retrieve package specification for foo package
.IP
.nf
\f[C]
@@ -59,7 +59,7 @@
\f[]
.fi
.PP
-Retrive package specification for foo from crates.io
+Retrieve package specification for foo from crates.io
.IP
.nf
\f[C]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo.1 new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo.1
--- old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-10-09 23:49:45.000000000 +0200
+++ new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-11-23 00:21:14.000000000 +0100
@@ -96,6 +96,11 @@
.RS
.RE
.TP
+.B cargo\-rustc(1)
+Compile the current project, and optionally pass additional rustc parameters
+.RS
+.RE
+.TP
.B cargo\-package(1)
Generate a source tarball for the current package.
.RS
@@ -121,6 +126,11 @@
.RS
.RE
.TP
+.B cargo\-help(1)
+Display help for a cargo command
+.RS
+.RE
+.TP
.B cargo\-version(1)
Print cargo\[aq]s version and exit.
.RS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo
--- old/cargo-0.22.0-s390x-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-10-09 23:49:45.000000000 +0200
+++ new/cargo-0.23.0-s390x-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-11-23 00:21:14.000000000 +0100
@@ -1,19 +1,29 @@
#compdef cargo
-typeset -A opt_args
autoload -U regexp-replace
zstyle -T ':completion:*:*:cargo:*' tag-order && \
zstyle ':completion:*:*:cargo:*' tag-order 'common-commands'
_cargo() {
+local context state state_descr line
+typeset -A opt_args
+# leading items in parentheses are an exclusion list for the arguments following that arg
+# See: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Fun...
+# - => exclude all other options
+# 1 => exclude positional arg 1
+# * => exclude all other args
+# +blah => exclude +blah
_arguments \
'(- 1 *)'{-h,--help}'[show help message]' \
- '(- 1 *)'--list'[list installed commands]' \
- '(- 1 *)'{-v,--verbose}'[use verbose output]' \
- '(- 1 *)'--color'[colorization option]' \
+ '(- 1 *)--list[list installed commands]' \
'(- 1 *)'{-V,--version}'[show version information]' \
+ {-v,--verbose}'[use verbose output]' \
+ --color'[colorization option]' \
+ '(+beta +nightly)+stable[use the stable toolchain]' \
+ '(+stable +nightly)+beta[use the beta toolchain]' \
+ '(+stable +beta)+nightly[use the nightly toolchain]' \
'1: :->command' \
'*:: :->args'
@@ -163,10 +173,10 @@
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
'--no-default-features[do not build the default features]' \
- '--path=[local filesystem path to crate to install]' \
+ '--path=[local filesystem path to crate to install]: :_files -/' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--rev=[specific commit to use when installing from git]' \
- '--root=[directory to install packages into]' \
+ '--root=[directory to install packages into]: :_files -/' \
'--tag=[tag to use when installing from git]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--vers=[version to install from crates.io]' \
@@ -291,7 +301,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to fetch dependencies for]' \
+ '--manifest-path=[path to the manifest to fetch dependencies for]: :_files -/' \
'--no-default-features[do not compile default features for the package]' \
'(-p, --package)'{-p,--package}'=[profile to compile for]' \
'--profile=[profile to build the selected target for]' \
@@ -309,7 +319,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to document]' \
+ '--manifest-path=[path to the manifest to document]: :_files -/' \
'--no-default-features[do not build the `default` feature]' \
'--open[open the docs in a browser after the operation]' \
'(-p, --package)'{-p,--package}'=[package to document]' \
@@ -365,7 +375,7 @@
'--color=:colorization option:(auto always never)' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-q, --quiet)'{-q,--quiet}'[less output printed to stdout]' \
- '--root=[directory to uninstall packages from]' \
+ '--root=[directory to uninstall packages from]: :_files -/' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
;;
@@ -531,5 +541,4 @@
'(--bench --bin --example --lib)--test=[test name]'
)
-
_cargo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-s390x-unknown-linux-gnu/install.sh new/cargo-0.23.0-s390x-unknown-linux-gnu/install.sh
--- old/cargo-0.22.0-s390x-unknown-linux-gnu/install.sh 2017-10-09 23:49:45.000000000 +0200
+++ new/cargo-0.23.0-s390x-unknown-linux-gnu/install.sh 2017-11-23 00:21:14.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -319,62 +319,6 @@
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
-get_host_triple() {
- local _uname_value=$(uname -s)
- local _ostype
- case $_uname_value in
-
- Linux)
- _ostype=unknown-linux-gnu
- ;;
-
- FreeBSD)
- _ostype=unknown-freebsd
- ;;
-
- DragonFly)
- _ostype=unknown-dragonfly
- ;;
-
- Bitrig)
- _ostype=unknown-bitrig
- ;;
-
- NetBSD)
- _ostype=unknown-netbsd
- ;;
-
- OpenBSD)
- _ostype=unknown-openbsd
- ;;
-
- Darwin)
- _ostype=apple-darwin
- ;;
-
- MINGW*)
- _ostype=pc-windows-gnu
- ;;
-
- MSYS*)
- _ostype=pc-windows-gnu
- ;;
-
- CYGWIN*)
- _ostype=pc-windows-gnu
- ;;
- Haiku)
- _ostype=unknown-haiku
- ;;
-
- *)
- err "unknown value from uname -s: $_uname_value"
- ;;
- esac
-
- RETVAL="$_ostype"
-}
-
uninstall_legacy() {
local _abs_libdir="$1"
@@ -675,11 +619,13 @@
maybe_backup_path "$_file_install_path"
- if echo "$_file" | grep "^bin/" > /dev/null
+ if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
then
- run install -m755 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 755 "$_file_install_path"
else
- run install -m644 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 644 "$_file_install_path"
fi
critical_need_ok "file creation failed"
@@ -719,11 +665,10 @@
maybe_configure_ld() {
local _abs_libdir="$1"
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" = "unknown-linux-gnu" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
+ if [ "$_ostype" = "Linux" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
# Fedora-based systems do not configure the dynamic linker to look
# /usr/local/lib, which is our default installation directory. To
@@ -756,11 +701,10 @@
}
maybe_unconfigure_ld() {
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" != "unknown-linux-gnu" ]; then
+ if [ "$_ostype" != "Linux" ]; then
return 0
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-s390x-unknown-linux-gnu/version new/cargo-0.23.0-s390x-unknown-linux-gnu/version
--- old/cargo-0.22.0-s390x-unknown-linux-gnu/version 2017-10-09 23:49:45.000000000 +0200
+++ new/cargo-0.23.0-s390x-unknown-linux-gnu/version 2017-11-23 00:21:14.000000000 +0100
@@ -1 +1 @@
-0.22.0 (3423351a5 2017-10-06)
\ No newline at end of file
+0.23.0 (61fa02415 2017-11-22)
\ No newline at end of file
++++++ cargo-0.22.0-x86_64-unknown-linux-gnu.tar.gz -> cargo-0.23.0-x86_64-unknown-linux-gnu.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-x86_64-unknown-linux-gnu/README.md new/cargo-0.23.0-x86_64-unknown-linux-gnu/README.md
--- old/cargo-0.22.0-x86_64-unknown-linux-gnu/README.md 2017-10-09 23:09:06.000000000 +0200
+++ new/cargo-0.23.0-x86_64-unknown-linux-gnu/README.md 2017-11-23 00:25:52.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
Binary files old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/bin/cargo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md
--- old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-10-09 23:09:06.000000000 +0200
+++ new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md 2017-11-23 00:25:52.000000000 +0100
@@ -34,12 +34,6 @@
cargo build --release
```
-## Running the tests
-
-To run cargo's tests, use `cargo test`. If you do not have the cross-compilers
-installed locally, ignore the cross-compile test failures, or disable them by
-using `CFG_DISABLE_CROSS_TESTS=1 cargo test`.
-
## Adding new subcommands to Cargo
Cargo is designed to be extensible with new subcommands without having to modify
@@ -48,16 +42,6 @@
[third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
-## Contributing to the Docs
-
-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:
-
-```sh
-sh src/ci/dox.sh
-open target/doc/index.html
-```
## Releases
@@ -66,28 +50,7 @@
[rel]: https://github.com/rust-lang/rust/blob/master/RELEASES.md
-<details>
- <summary>Table of Rust versions with their Cargo versions</summary>
-
-Rust version | Cargo version
--------------|--------------|
- 1.12.0 | 0.13.0 |
- 1.11.0 | 0.12.0 |
- 1.10.0 | 0.11.0 |
- 1.9.0 | 0.10.0 |
- 1.8.0 | 0.9.0 |
- 1.7.0 | 0.8.0 |
- 1.6.0 | 0.7.0 |
- 1.5.0 | 0.6.0 |
- 1.4.0 | 0.5.0 |
- 1.3.0 | 0.4.0 |
- 1.2.0 | 0.3.0 |
- 1.1.0 | 0.2.0 |
- 1.0.0 | 0.1.0 |
-
-</details>
-
-## Reporting Issues
+## Reporting issues
Found a bug? We'd love to know about it!
@@ -95,6 +58,12 @@
[issues]: https://github.com/rust-lang/cargo/issues
+
+## Contributing
+
+See [CONTRIBUTING.md](CONTRIBUTING.md)
+
+
## License
Cargo is primarily distributed under the terms of both the MIT license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1
--- old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-10-09 23:09:06.000000000 +0200
+++ new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1 2017-11-23 00:25:52.000000000 +0100
@@ -43,7 +43,7 @@
.RE
.SH EXAMPLES
.PP
-Retrive package specification for foo package
+Retrieve package specification for foo package
.IP
.nf
\f[C]
@@ -59,7 +59,7 @@
\f[]
.fi
.PP
-Retrive package specification for foo from crates.io
+Retrieve package specification for foo from crates.io
.IP
.nf
\f[C]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo.1
--- old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-10-09 23:09:06.000000000 +0200
+++ new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo.1 2017-11-23 00:25:52.000000000 +0100
@@ -96,6 +96,11 @@
.RS
.RE
.TP
+.B cargo\-rustc(1)
+Compile the current project, and optionally pass additional rustc parameters
+.RS
+.RE
+.TP
.B cargo\-package(1)
Generate a source tarball for the current package.
.RS
@@ -121,6 +126,11 @@
.RS
.RE
.TP
+.B cargo\-help(1)
+Display help for a cargo command
+.RS
+.RE
+.TP
.B cargo\-version(1)
Print cargo\[aq]s version and exit.
.RS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo
--- old/cargo-0.22.0-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-10-09 23:09:06.000000000 +0200
+++ new/cargo-0.23.0-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo 2017-11-23 00:25:52.000000000 +0100
@@ -1,19 +1,29 @@
#compdef cargo
-typeset -A opt_args
autoload -U regexp-replace
zstyle -T ':completion:*:*:cargo:*' tag-order && \
zstyle ':completion:*:*:cargo:*' tag-order 'common-commands'
_cargo() {
+local context state state_descr line
+typeset -A opt_args
+# leading items in parentheses are an exclusion list for the arguments following that arg
+# See: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Completion-Fun...
+# - => exclude all other options
+# 1 => exclude positional arg 1
+# * => exclude all other args
+# +blah => exclude +blah
_arguments \
'(- 1 *)'{-h,--help}'[show help message]' \
- '(- 1 *)'--list'[list installed commands]' \
- '(- 1 *)'{-v,--verbose}'[use verbose output]' \
- '(- 1 *)'--color'[colorization option]' \
+ '(- 1 *)--list[list installed commands]' \
'(- 1 *)'{-V,--version}'[show version information]' \
+ {-v,--verbose}'[use verbose output]' \
+ --color'[colorization option]' \
+ '(+beta +nightly)+stable[use the stable toolchain]' \
+ '(+stable +nightly)+beta[use the beta toolchain]' \
+ '(+stable +beta)+nightly[use the nightly toolchain]' \
'1: :->command' \
'*:: :->args'
@@ -163,10 +173,10 @@
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'[number of parallel jobs, defaults to # of CPUs]' \
'--no-default-features[do not build the default features]' \
- '--path=[local filesystem path to crate to install]' \
+ '--path=[local filesystem path to crate to install]: :_files -/' \
'(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
'--rev=[specific commit to use when installing from git]' \
- '--root=[directory to install packages into]' \
+ '--root=[directory to install packages into]: :_files -/' \
'--tag=[tag to use when installing from git]' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
'--vers=[version to install from crates.io]' \
@@ -291,7 +301,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to fetch dependencies for]' \
+ '--manifest-path=[path to the manifest to fetch dependencies for]: :_files -/' \
'--no-default-features[do not compile default features for the package]' \
'(-p, --package)'{-p,--package}'=[profile to compile for]' \
'--profile=[profile to build the selected target for]' \
@@ -309,7 +319,7 @@
'--all-features[enable all available features]' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-j, --jobs)'{-j,--jobs}'=[number of parallel jobs, defaults to # of CPUs]' \
- '--manifest-path=[path to the manifest to document]' \
+ '--manifest-path=[path to the manifest to document]: :_files -/' \
'--no-default-features[do not build the `default` feature]' \
'--open[open the docs in a browser after the operation]' \
'(-p, --package)'{-p,--package}'=[package to document]' \
@@ -365,7 +375,7 @@
'--color=:colorization option:(auto always never)' \
'(-h, --help)'{-h,--help}'[show help message]' \
'(-q, --quiet)'{-q,--quiet}'[less output printed to stdout]' \
- '--root=[directory to uninstall packages from]' \
+ '--root=[directory to uninstall packages from]: :_files -/' \
'(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
;;
@@ -531,5 +541,4 @@
'(--bench --bin --example --lib)--test=[test name]'
)
-
_cargo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-x86_64-unknown-linux-gnu/install.sh new/cargo-0.23.0-x86_64-unknown-linux-gnu/install.sh
--- old/cargo-0.22.0-x86_64-unknown-linux-gnu/install.sh 2017-10-09 23:09:06.000000000 +0200
+++ new/cargo-0.23.0-x86_64-unknown-linux-gnu/install.sh 2017-11-23 00:25:52.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 The Rust Project Developers. See the COPYRIGHT
# file at the top-level directory of this distribution and at
# http://rust-lang.org/COPYRIGHT.
@@ -319,62 +319,6 @@
(unset CDPATH && cd "$path" > /dev/null && pwd)
}
-get_host_triple() {
- local _uname_value=$(uname -s)
- local _ostype
- case $_uname_value in
-
- Linux)
- _ostype=unknown-linux-gnu
- ;;
-
- FreeBSD)
- _ostype=unknown-freebsd
- ;;
-
- DragonFly)
- _ostype=unknown-dragonfly
- ;;
-
- Bitrig)
- _ostype=unknown-bitrig
- ;;
-
- NetBSD)
- _ostype=unknown-netbsd
- ;;
-
- OpenBSD)
- _ostype=unknown-openbsd
- ;;
-
- Darwin)
- _ostype=apple-darwin
- ;;
-
- MINGW*)
- _ostype=pc-windows-gnu
- ;;
-
- MSYS*)
- _ostype=pc-windows-gnu
- ;;
-
- CYGWIN*)
- _ostype=pc-windows-gnu
- ;;
- Haiku)
- _ostype=unknown-haiku
- ;;
-
- *)
- err "unknown value from uname -s: $_uname_value"
- ;;
- esac
-
- RETVAL="$_ostype"
-}
-
uninstall_legacy() {
local _abs_libdir="$1"
@@ -675,11 +619,13 @@
maybe_backup_path "$_file_install_path"
- if echo "$_file" | grep "^bin/" > /dev/null
+ if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
then
- run install -m755 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 755 "$_file_install_path"
else
- run install -m644 "$_src_dir/$_component/$_file" "$_file_install_path"
+ run cp "$_src_dir/$_component/$_file" "$_file_install_path"
+ run chmod 644 "$_file_install_path"
fi
critical_need_ok "file creation failed"
@@ -719,11 +665,10 @@
maybe_configure_ld() {
local _abs_libdir="$1"
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" = "unknown-linux-gnu" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
+ if [ "$_ostype" = "Linux" -a ! -n "${CFG_DISABLE_LDCONFIG-}" ]; then
# Fedora-based systems do not configure the dynamic linker to look
# /usr/local/lib, which is our default installation directory. To
@@ -756,11 +701,10 @@
}
maybe_unconfigure_ld() {
- get_host_triple
- local _ostype="$RETVAL"
+ local _ostype="$(uname -s)"
assert_nz "$_ostype" "ostype"
- if [ "$_ostype" != "unknown-linux-gnu" ]; then
+ if [ "$_ostype" != "Linux" ]; then
return 0
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.22.0-x86_64-unknown-linux-gnu/version new/cargo-0.23.0-x86_64-unknown-linux-gnu/version
--- old/cargo-0.22.0-x86_64-unknown-linux-gnu/version 2017-10-09 23:09:06.000000000 +0200
+++ new/cargo-0.23.0-x86_64-unknown-linux-gnu/version 2017-11-23 00:25:52.000000000 +0100
@@ -1 +1 @@
-0.22.0 (3423351a5 2017-10-06)
\ No newline at end of file
+0.23.0 (61fa02415 2017-11-22)
\ No newline at end of file
++++++ config.toml ++++++
--- /var/tmp/diff_new_pack.LnHBIe/_old 2017-11-30 12:43:47.777398112 +0100
+++ /var/tmp/diff_new_pack.LnHBIe/_new 2017-11-30 12:43:47.777398112 +0100
@@ -122,7 +122,7 @@
#extended = false
# Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose
-verbose = 0
+verbose = 1
# Build the sanitizer runtimes
#sanitizers = false
++++++ rustc-1.21.0-src.tar.gz -> rustc-1.22.1-src.tar.gz ++++++
/work/SRC/openSUSE:Factory/rust/rustc-1.21.0-src.tar.gz /work/SRC/openSUSE:Factory/.rust.new/rustc-1.22.1-src.tar.gz differ: char 10, line 1