2019-02-04 16:31:48 +00:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-03-26 19:29:08 +00:00
|
|
|
version = 3
|
|
|
|
|
2018-12-08 11:06:54 +00:00
|
|
|
[[package]]
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
name = "addr2line"
|
2020-11-20 17:12:14 +00:00
|
|
|
version = "0.14.0"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-20 17:12:14 +00:00
|
|
|
checksum = "7c0929d69e78dd9bf5408269919fcbcaeb2e35e5d43e5815517cdc6a8e11a423"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"gimli",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
|
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
2018-12-08 11:06:54 +00:00
|
|
|
|
2019-05-16 05:27:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.7.13"
|
2019-05-16 05:27:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86"
|
2019-05-16 05:27:39 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"memchr",
|
2019-05-16 05:27:39 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "alloc"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2020-08-01 14:11:15 +00:00
|
|
|
"rand_xorshift",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ammonia"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "3.1.0"
|
2019-06-19 03:36:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "89eac85170f4b3fb3dc5e442c1cfb036cb8eecf9dbbd431a161ffad15d90ea3b"
|
2019-06-19 03:36:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"html5ever",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"maplit",
|
2020-08-01 14:11:15 +00:00
|
|
|
"markup5ever_rcdom",
|
2019-08-15 00:45:09 +00:00
|
|
|
"matches",
|
|
|
|
"tendril",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-06-19 03:36:47 +00:00
|
|
|
]
|
|
|
|
|
2020-05-08 20:48:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "annotate-snippets"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d78ea013094e5ea606b1c05fe35f1dd7ea1eb1ea259908d040b25bd5ec677ee5"
|
2021-05-03 20:59:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"yansi-term",
|
|
|
|
]
|
2020-05-08 20:48:26 +00:00
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
2018-03-16 10:37:14 +00:00
|
|
|
version = "0.11.0"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
|
2018-03-16 10:37:14 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-03-16 10:37:14 +00:00
|
|
|
]
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
|
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2020-07-24 18:42:00 +00:00
|
|
|
]
|
|
|
|
|
2020-01-14 17:47:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2020-11-05 00:15:18 +00:00
|
|
|
version = "1.0.34"
|
2020-01-14 17:47:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-05 00:15:18 +00:00
|
|
|
checksum = "bf8dcb5b4bbaa28653b647d8c77bd4ed40183b48882e130c1f1ffb73de069fd7"
|
2020-01-14 17:47:04 +00:00
|
|
|
|
2021-01-16 01:34:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "array_tool"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8f8cb5d814eb646a863c4f24978cff2880c4be96ad8cde2c0f0678732902e271"
|
|
|
|
|
2021-04-22 04:40:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5a2f58b0bb10c380af2b26e57212856b8c9a59e0925b4c20f4a174a49734eaf7"
|
2020-07-14 00:31:54 +00:00
|
|
|
|
2017-06-15 02:33:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2020-05-26 04:35:21 +00:00
|
|
|
version = "0.2.14"
|
2017-06-15 02:33:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 04:35:21 +00:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2017-06-15 02:33:06 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:35:21 +00:00
|
|
|
"hermit-abi",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2017-06-15 02:33:06 +00:00
|
|
|
]
|
|
|
|
|
2020-03-26 13:10:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
|
|
|
|
|
2017-09-08 19:08:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2019-10-13 23:37:55 +00:00
|
|
|
version = "1.2.1"
|
2017-09-08 19:08:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-10-13 23:37:55 +00:00
|
|
|
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
2017-09-08 19:08:01 +00:00
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitmaps"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.1.0"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
|
2019-11-25 16:14:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.7.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
|
|
|
|
dependencies = [
|
|
|
|
"block-padding",
|
|
|
|
"byte-tools",
|
|
|
|
"byteorder",
|
2021-03-12 13:33:02 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-10-01 15:15:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.4",
|
2020-03-31 05:17:15 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-padding"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"byte-tools",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bootstrap"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"build_helper",
|
|
|
|
"cc",
|
|
|
|
"cmake",
|
|
|
|
"filetime",
|
|
|
|
"getopts",
|
2019-12-18 15:52:10 +00:00
|
|
|
"ignore",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2020-09-12 04:42:52 +00:00
|
|
|
"merge",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num_cpus",
|
2020-05-22 02:48:44 +00:00
|
|
|
"opener",
|
2019-08-15 00:45:09 +00:00
|
|
|
"pretty_assertions",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"time",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2017-01-24 22:37:04 +00:00
|
|
|
]
|
|
|
|
|
2019-05-16 05:27:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.2.13"
|
2019-05-16 05:27:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931"
|
2019-05-16 05:27:39 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"memchr",
|
2019-05-16 05:27:39 +00:00
|
|
|
]
|
|
|
|
|
2017-01-24 22:37:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "build-manifest"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-09-18 12:40:01 +00:00
|
|
|
"anyhow",
|
2020-09-24 12:13:40 +00:00
|
|
|
"flate2",
|
2020-10-01 15:15:12 +00:00
|
|
|
"hex 0.4.2",
|
2020-10-12 15:47:37 +00:00
|
|
|
"num_cpus",
|
2020-10-01 15:15:12 +00:00
|
|
|
"rayon",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-11-03 10:47:07 +00:00
|
|
|
"serde_json",
|
2020-10-01 15:15:12 +00:00
|
|
|
"sha2",
|
2020-09-24 12:13:40 +00:00
|
|
|
"tar",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "build_helper"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "byte-tools"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.3.1"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
|
2019-01-19 02:39:37 +00:00
|
|
|
|
2018-10-08 17:39:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytecount"
|
2021-03-17 20:34:05 +00:00
|
|
|
version = "0.6.2"
|
2018-10-08 17:39:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 20:34:05 +00:00
|
|
|
checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e"
|
2018-10-08 17:39:09 +00:00
|
|
|
dependencies = [
|
2021-03-17 20:34:05 +00:00
|
|
|
"packed_simd_2",
|
2018-10-08 17:39:09 +00:00
|
|
|
]
|
|
|
|
|
2017-09-18 14:18:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.3.4"
|
2017-09-18 14:18:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
|
2017-09-18 14:18:23 +00:00
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "0.5.6"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38"
|
2019-01-21 15:32:43 +00:00
|
|
|
|
2018-09-20 21:37:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytesize"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.1"
|
2018-09-20 21:37:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "81a18687293a1546b67c246452202bbbf143d239cb43494cc163da14979082da"
|
2018-09-20 21:37:53 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo"
|
2021-05-07 23:51:52 +00:00
|
|
|
version = "0.55.0"
|
2017-07-19 01:32:12 +00:00
|
|
|
dependencies = [
|
2020-01-14 17:47:04 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
|
|
|
"bytesize",
|
2019-09-24 18:06:56 +00:00
|
|
|
"cargo-platform",
|
2019-08-15 00:45:09 +00:00
|
|
|
"cargo-test-macro",
|
2019-09-16 18:45:40 +00:00
|
|
|
"cargo-test-support",
|
2021-03-26 19:29:08 +00:00
|
|
|
"cargo-util",
|
2019-08-15 00:45:09 +00:00
|
|
|
"clap",
|
|
|
|
"crates-io",
|
2021-04-23 23:09:40 +00:00
|
|
|
"crossbeam-utils 0.8.3",
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl",
|
|
|
|
"curl-sys",
|
2020-10-20 23:36:46 +00:00
|
|
|
"env_logger 0.8.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"filetime",
|
|
|
|
"flate2",
|
|
|
|
"fwdansi",
|
|
|
|
"git2",
|
|
|
|
"git2-curl",
|
|
|
|
"glob",
|
2020-08-17 15:21:44 +00:00
|
|
|
"hex 0.4.2",
|
2019-09-08 08:28:11 +00:00
|
|
|
"home",
|
2020-08-17 15:21:44 +00:00
|
|
|
"humantime 2.0.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"ignore",
|
|
|
|
"im-rc",
|
2021-06-02 03:38:39 +00:00
|
|
|
"itertools 0.10.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"jobserver",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"lazycell",
|
|
|
|
"libc",
|
|
|
|
"libgit2-sys",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"num_cpus",
|
|
|
|
"opener",
|
|
|
|
"openssl",
|
2019-11-12 18:14:48 +00:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"pretty_env_logger",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.8.3",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-workspace-hack",
|
2020-04-15 16:32:41 +00:00
|
|
|
"rustfix",
|
2021-06-04 04:12:25 +00:00
|
|
|
"semver 1.0.3",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde_ignored",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_json",
|
2021-04-01 00:45:03 +00:00
|
|
|
"shell-escape",
|
2019-08-15 00:45:09 +00:00
|
|
|
"strip-ansi-escapes",
|
|
|
|
"tar",
|
|
|
|
"tempfile",
|
|
|
|
"termcolor",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2020-08-01 14:11:15 +00:00
|
|
|
"unicode-xid",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2020-12-16 17:03:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential-1password"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"cargo-credential",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential-macos-keychain"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"cargo-credential",
|
|
|
|
"security-framework",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential-wincred"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"cargo-credential",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2020-06-01 18:17:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-miri"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"directories",
|
|
|
|
"rustc-workspace-hack",
|
|
|
|
"rustc_version",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"vergen",
|
|
|
|
]
|
|
|
|
|
2019-09-24 18:06:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-platform"
|
2019-12-10 19:54:10 +00:00
|
|
|
version = "0.1.1"
|
2019-09-24 18:06:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-06-12 14:37:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-test-macro"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2019-09-16 18:45:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-test-support"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-03-26 19:29:08 +00:00
|
|
|
"anyhow",
|
2019-09-16 18:45:40 +00:00
|
|
|
"cargo-test-macro",
|
2021-03-26 19:29:08 +00:00
|
|
|
"cargo-util",
|
2019-09-16 18:45:40 +00:00
|
|
|
"filetime",
|
|
|
|
"flate2",
|
|
|
|
"git2",
|
|
|
|
"glob",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-09-16 18:45:40 +00:00
|
|
|
"remove_dir_all",
|
|
|
|
"serde_json",
|
|
|
|
"tar",
|
2021-01-21 18:16:42 +00:00
|
|
|
"toml",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-09-16 18:45:40 +00:00
|
|
|
]
|
|
|
|
|
2021-03-26 19:29:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-util"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"core-foundation",
|
|
|
|
"crypto-hash",
|
|
|
|
"filetime",
|
|
|
|
"hex 0.4.2",
|
|
|
|
"jobserver",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"miow 0.3.6",
|
|
|
|
"same-file",
|
|
|
|
"shell-escape",
|
|
|
|
"tempfile",
|
|
|
|
"walkdir",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2019-06-03 23:00:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.8.2"
|
2019-06-03 23:00:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "700b3731fd7d357223d0000f4dbf1808401b694609035c3c411fbc0cd375c426"
|
2019-06-03 23:00:38 +00:00
|
|
|
dependencies = [
|
2020-05-26 00:56:32 +00:00
|
|
|
"semver 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2019-06-03 23:00:38 +00:00
|
|
|
]
|
|
|
|
|
2020-08-21 08:24:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
|
|
|
version = "0.11.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "89fec17b16f1ac67908af82e47d0a90a7afd0e1827b181cd77504323d3263d35"
|
|
|
|
dependencies = [
|
|
|
|
"semver 0.10.0",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2020-10-23 21:47:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d5a5f7b42f606b7f23674f6f4d877628350682bc40687d3fae65679a58d55345"
|
|
|
|
dependencies = [
|
|
|
|
"semver 0.11.0",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2017-02-15 22:55:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargotest2"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2017-09-22 01:58:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2021-05-24 22:34:12 +00:00
|
|
|
version = "1.0.68"
|
2017-09-22 01:58:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-24 22:34:12 +00:00
|
|
|
checksum = "4a72c244c1ff497a746a7e1fb3d14bd08420ecda70c8f25c7112f2781652d787"
|
2019-11-09 19:59:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"jobserver",
|
|
|
|
]
|
2017-09-22 01:58:35 +00:00
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "0.1.10"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
2019-05-15 14:30:15 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2019-05-15 14:30:15 +00:00
|
|
|
]
|
2017-05-08 22:01:13 +00:00
|
|
|
|
2020-10-11 17:51:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2020-03-03 16:25:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chalk-derive"
|
2021-01-31 06:05:25 +00:00
|
|
|
version = "0.55.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-31 06:05:25 +00:00
|
|
|
checksum = "3983193cacd81f0f924acb666b7fe5e1a0d81db9f113fa69203eda7ea8ce8b6c"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-05 11:26:16 +00:00
|
|
|
"synstructure",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-engine"
|
2021-01-31 06:05:25 +00:00
|
|
|
version = "0.55.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-31 06:05:25 +00:00
|
|
|
checksum = "05a171ce5abbf0fbd06f221ab80ab182c7ef78603d23b858bc44e7ce8a86a396"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
2020-05-27 00:19:19 +00:00
|
|
|
"chalk-derive",
|
|
|
|
"chalk-ir",
|
2020-08-04 22:35:37 +00:00
|
|
|
"chalk-solve",
|
2020-03-03 16:25:03 +00:00
|
|
|
"rustc-hash",
|
2020-05-27 05:05:09 +00:00
|
|
|
"tracing",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-ir"
|
2021-01-31 06:05:25 +00:00
|
|
|
version = "0.55.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-31 06:05:25 +00:00
|
|
|
checksum = "a522f53af971e7678f472d687e053120157b3ae26e2ebd5ecbc0f5ab124f2cb6"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
2021-01-01 18:44:31 +00:00
|
|
|
"bitflags",
|
2020-03-03 16:25:03 +00:00
|
|
|
"chalk-derive",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-solve"
|
2021-01-31 06:05:25 +00:00
|
|
|
version = "0.55.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-31 06:05:25 +00:00
|
|
|
checksum = "cdf79fb77a567e456a170f7ec84ea6584163d4ba3f13660cd182013d34ca667c"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"chalk-derive",
|
|
|
|
"chalk-ir",
|
2020-05-27 05:05:09 +00:00
|
|
|
"ena",
|
2020-03-03 16:25:03 +00:00
|
|
|
"itertools 0.9.0",
|
|
|
|
"petgraph",
|
|
|
|
"rustc-hash",
|
2020-05-27 05:05:09 +00:00
|
|
|
"tracing",
|
2020-08-04 22:35:37 +00:00
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
2018-01-25 04:01:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.4.19"
|
2018-01-25 04:01:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
|
2018-01-25 04:01:42 +00:00
|
|
|
dependencies = [
|
2021-02-28 00:00:00 +00:00
|
|
|
"libc",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
"time",
|
2021-02-28 00:00:00 +00:00
|
|
|
"winapi 0.3.9",
|
2018-01-25 04:01:42 +00:00
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.33.3"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
|
2017-02-07 23:13:57 +00:00
|
|
|
dependencies = [
|
2020-07-24 18:42:00 +00:00
|
|
|
"ansi_term 0.11.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
|
|
|
"bitflags",
|
|
|
|
"strsim",
|
|
|
|
"textwrap",
|
|
|
|
"unicode-width",
|
|
|
|
"vec_map",
|
2019-11-26 11:06:30 +00:00
|
|
|
"yaml-rust 0.3.5",
|
2017-02-07 23:13:57 +00:00
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy"
|
2021-05-06 10:21:46 +00:00
|
|
|
version = "0.1.54"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2020-10-23 21:47:58 +00:00
|
|
|
"cargo_metadata 0.12.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"clippy_lints",
|
2021-04-06 11:20:48 +00:00
|
|
|
"compiletest_rs",
|
2019-08-15 00:45:09 +00:00
|
|
|
"derive-new",
|
2021-06-03 07:06:49 +00:00
|
|
|
"filetime",
|
2021-03-25 18:29:39 +00:00
|
|
|
"quote",
|
2021-03-12 14:31:11 +00:00
|
|
|
"regex",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-workspace-hack",
|
2019-05-26 17:21:54 +00:00
|
|
|
"rustc_tools_util 0.2.0",
|
2020-10-23 21:47:58 +00:00
|
|
|
"semver 0.11.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2021-03-25 18:29:39 +00:00
|
|
|
"syn",
|
2019-12-02 22:09:48 +00:00
|
|
|
"tempfile",
|
2021-04-06 11:20:48 +00:00
|
|
|
"tester",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
2021-04-14 13:20:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_dev"
|
|
|
|
version = "0.0.1"
|
|
|
|
dependencies = [
|
|
|
|
"bytecount",
|
|
|
|
"clap",
|
|
|
|
"itertools 0.9.0",
|
|
|
|
"opener",
|
|
|
|
"regex",
|
|
|
|
"shell-escape",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2018-05-19 11:18:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_lints"
|
2021-05-06 10:21:46 +00:00
|
|
|
version = "0.1.54"
|
2018-05-11 12:11:06 +00:00
|
|
|
dependencies = [
|
2020-10-23 21:47:58 +00:00
|
|
|
"cargo_metadata 0.12.0",
|
2021-02-25 10:26:23 +00:00
|
|
|
"clippy_utils",
|
2019-08-15 00:45:09 +00:00
|
|
|
"if_chain",
|
2020-03-12 20:47:47 +00:00
|
|
|
"itertools 0.9.0",
|
2020-09-24 12:51:13 +00:00
|
|
|
"pulldown-cmark 0.8.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"quine-mc_cluskey",
|
|
|
|
"regex-syntax",
|
2020-12-06 14:07:59 +00:00
|
|
|
"rustc-semver",
|
2020-10-23 21:47:58 +00:00
|
|
|
"semver 0.11.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2021-05-06 10:21:46 +00:00
|
|
|
"serde_json",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-normalization",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2018-05-11 12:11:06 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_utils"
|
2021-05-06 10:21:46 +00:00
|
|
|
version = "0.1.54"
|
2021-02-25 10:26:23 +00:00
|
|
|
dependencies = [
|
|
|
|
"if_chain",
|
|
|
|
"itertools 0.9.0",
|
|
|
|
"regex-syntax",
|
|
|
|
"rustc-semver",
|
|
|
|
"serde",
|
|
|
|
"unicode-normalization",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cmake"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.44"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "0e56268c17a6248366d66d4a47a3381369d068cce8409bb1716ed77ea32163bb"
|
2016-09-02 08:55:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2018-04-25 22:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "colored"
|
2020-09-17 18:04:20 +00:00
|
|
|
version = "2.0.0"
|
2018-04-25 22:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-17 18:04:20 +00:00
|
|
|
checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd"
|
2018-04-25 22:11:28 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"atty",
|
|
|
|
"lazy_static",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-04-25 22:11:28 +00:00
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "commoncrypto"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "d056a8586ba25a1e4d61cb090900e495952c7886786fc55f909ab2f819b69007"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"commoncrypto-sys",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "commoncrypto-sys"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "1fed34f46747aa73dfaa578069fd8279d2818ade2b55f38f22a9401c7f4083e2"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-06-17 19:01:18 +00:00
|
|
|
]
|
|
|
|
|
2016-10-07 06:30:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "compiler_builtins"
|
2021-06-04 13:34:34 +00:00
|
|
|
version = "0.1.45"
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 13:34:34 +00:00
|
|
|
checksum = "787187ae221adfcda34b03006f1617099e4ae26b50e5a4db282496014ab75837"
|
2016-10-07 06:30:38 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"rustc-std-workspace-core",
|
2016-10-07 06:30:38 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "compiletest"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-02-24 06:42:42 +00:00
|
|
|
"colored",
|
2019-08-15 00:45:09 +00:00
|
|
|
"diff",
|
|
|
|
"getopts",
|
2020-07-28 13:22:21 +00:00
|
|
|
"glob",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2020-11-27 23:56:12 +00:00
|
|
|
"miow 0.3.6",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
2020-04-15 16:32:41 +00:00
|
|
|
"rustfix",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-10-20 00:00:00 +00:00
|
|
|
"tracing-subscriber",
|
2021-02-24 06:42:42 +00:00
|
|
|
"unified-diff",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "compiletest_rs"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0086d6ad78cf409c3061618cd98e2789d5c9ce598fc9651611cf62eae0a599cb"
|
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
"filetime",
|
|
|
|
"getopts",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"miow 0.3.6",
|
|
|
|
"regex",
|
|
|
|
"rustfix",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
2021-04-06 11:20:48 +00:00
|
|
|
"tester",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2020-04-15 18:54:39 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core"
|
|
|
|
version = "0.0.0"
|
2018-02-26 17:07:16 +00:00
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2018-02-26 17:07:16 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
2020-06-30 17:39:05 +00:00
|
|
|
version = "0.9.0"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-30 17:39:05 +00:00
|
|
|
checksum = "3b5ed8e7e76c45974e15e41bfa8d5b0483cd90191639e01d8f5f1e606299d3fb"
|
2019-11-25 16:14:07 +00:00
|
|
|
dependencies = [
|
2020-06-23 22:00:48 +00:00
|
|
|
"core-foundation-sys",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-08-24 05:52:28 +00:00
|
|
|
]
|
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2020-06-30 17:39:05 +00:00
|
|
|
version = "0.8.0"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-30 17:39:05 +00:00
|
|
|
checksum = "9a21fa21941700a3cd8fcb4091f361a6a712fac632f85d9f487cc892045d55c6"
|
2019-11-25 16:14:07 +00:00
|
|
|
|
2020-11-03 05:32:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "coverage_test_macros"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2020-10-01 15:15:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cpuid-bool"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634"
|
|
|
|
|
2017-07-19 01:32:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crates-io"
|
2021-01-27 17:56:34 +00:00
|
|
|
version = "0.33.0"
|
2017-07-19 01:32:12 +00:00
|
|
|
dependencies = [
|
2020-01-14 17:47:04 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl",
|
2019-11-12 18:14:48 +00:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 11:06:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
version = "1.2.0"
|
2018-12-08 11:06:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"
|
2018-12-08 11:06:54 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2018-12-08 11:06:54 +00:00
|
|
|
]
|
2017-09-02 03:46:51 +00:00
|
|
|
|
2020-02-10 19:47:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "0.5.0"
|
2020-02-10 19:47:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775"
|
2020-02-10 19:47:38 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"cfg-if 1.0.0",
|
2021-04-23 23:09:40 +00:00
|
|
|
"crossbeam-utils 0.8.3",
|
2020-02-10 19:47:38 +00:00
|
|
|
]
|
|
|
|
|
2019-09-10 17:13:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.7.3"
|
2019-09-10 17:13:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285"
|
2019-09-10 17:13:07 +00:00
|
|
|
dependencies = [
|
2019-12-10 15:01:01 +00:00
|
|
|
"crossbeam-epoch",
|
2020-08-17 15:21:44 +00:00
|
|
|
"crossbeam-utils 0.7.2",
|
|
|
|
"maybe-uninit",
|
2019-09-10 17:13:07 +00:00
|
|
|
]
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.8.2"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"autocfg",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-08-17 15:21:44 +00:00
|
|
|
"crossbeam-utils 0.7.2",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2020-08-17 15:21:44 +00:00
|
|
|
"maybe-uninit",
|
2019-12-10 15:01:01 +00:00
|
|
|
"memoffset",
|
2019-12-04 17:40:16 +00:00
|
|
|
"scopeguard",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-queue"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"
|
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-08-17 15:21:44 +00:00
|
|
|
"crossbeam-utils 0.7.2",
|
|
|
|
"maybe-uninit",
|
2019-04-07 12:59:33 +00:00
|
|
|
]
|
|
|
|
|
2019-11-12 17:57:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2020-03-26 13:10:35 +00:00
|
|
|
version = "0.7.2"
|
2019-11-12 17:57:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-26 13:10:35 +00:00
|
|
|
checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
|
2019-11-12 17:57:41 +00:00
|
|
|
dependencies = [
|
2020-03-16 18:37:15 +00:00
|
|
|
"autocfg",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-11-12 17:57:41 +00:00
|
|
|
]
|
|
|
|
|
2020-10-14 22:16:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2021-04-23 23:09:40 +00:00
|
|
|
version = "0.8.3"
|
2020-10-14 22:16:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 23:09:40 +00:00
|
|
|
checksum = "e7e9d99fa91428effe99c5c6d4634cdeba32b8cf784fc428a2a687f61a952c49"
|
2020-10-14 22:16:47 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crypto-hash"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.4"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "8a77162240fd97248d19a564a565eb563a3f592b386e4136fb300909e67dddca"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"commoncrypto",
|
2019-09-16 18:45:40 +00:00
|
|
|
"hex 0.3.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"openssl",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
2021-02-13 11:17:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cstr"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c11a39d776a3b35896711da8a04dc1835169dcd36f710878187637314e47941b"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
]
|
|
|
|
|
2020-03-26 13:10:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctor"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.15"
|
2020-03-26 13:10:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "39858aa5bac06462d4dd4b9164848eb81ffc4aa5c479746393598fd193afa227"
|
2020-03-26 13:10:35 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-03-26 13:10:35 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "curl"
|
2021-05-01 11:50:03 +00:00
|
|
|
version = "0.4.36"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 11:50:03 +00:00
|
|
|
checksum = "d0bac9f84ca0977c4d9b8db998689de55b9e976656a6bc87fada2ca710d504c7"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl-sys",
|
|
|
|
"libc",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
2021-05-01 11:50:03 +00:00
|
|
|
"socket2 0.4.0",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "curl-sys"
|
2021-05-01 11:50:03 +00:00
|
|
|
version = "0.4.42+curl-7.76.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 11:50:03 +00:00
|
|
|
checksum = "4636d8d6109c842707018a104051436bffb8991ea20b2d1293db70b6e0ee4c7c"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libnghttp2-sys",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2018-05-29 11:52:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "datafrog"
|
2019-01-02 19:45:22 +00:00
|
|
|
version = "2.0.1"
|
2018-05-29 11:52:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "a0afaad2b26fa326569eb264b1363e8ae3357618c43982b3f285f0774ce76b69"
|
2018-05-29 11:52:51 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "derive-new"
|
2020-05-05 11:30:49 +00:00
|
|
|
version = "0.5.8"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 11:30:49 +00:00
|
|
|
checksum = "71f31892cd5c62e414316f2963c5689242c43d8e7bbcaaeca97e5e28c95d91d9"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2018-07-26 21:58:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "derive_more"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.99.9"
|
2018-07-26 21:58:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "298998b1cf6b5b2c8a7b023dfd45821825ce3ba8a8af55c921a0e734e4653f76"
|
2018-07-26 21:58:55 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2018-07-26 21:58:55 +00:00
|
|
|
]
|
|
|
|
|
2017-04-27 19:41:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.12"
|
2017-04-27 19:41:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
|
2017-04-27 19:41:18 +00:00
|
|
|
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "difference"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.8.1"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2021-03-12 13:33:02 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-10-01 15:15:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.4",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2018-11-28 20:22:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "directories"
|
2021-04-23 22:49:47 +00:00
|
|
|
version = "3.0.2"
|
2018-11-28 20:22:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 22:49:47 +00:00
|
|
|
checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7"
|
2018-11-28 20:22:45 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"dirs-sys",
|
2018-11-28 20:22:45 +00:00
|
|
|
]
|
|
|
|
|
2019-02-18 09:32:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.0.2"
|
2019-02-18 09:32:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
|
2019-02-18 09:32:58 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"dirs-sys",
|
2019-02-18 09:32:58 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-next"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"dirs-sys-next",
|
|
|
|
]
|
|
|
|
|
2019-06-13 07:58:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
2021-04-23 22:49:47 +00:00
|
|
|
version = "0.3.6"
|
2019-06-13 07:58:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 22:49:47 +00:00
|
|
|
checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
|
2019-06-13 07:58:32 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-04-23 22:49:47 +00:00
|
|
|
"redox_users",
|
2021-02-25 10:26:23 +00:00
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys-next"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-04-23 22:49:47 +00:00
|
|
|
"redox_users",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-06-13 07:58:32 +00:00
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dlmalloc"
|
2020-11-09 17:20:49 +00:00
|
|
|
version = "0.2.1"
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-09 17:20:49 +00:00
|
|
|
checksum = "332570860c2edf2d57914987bf9e24835425f75825086b6ba7d1e6a3e4f1f254"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-core",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "either"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.6.0"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
|
2017-12-06 08:25:29 +00:00
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "elasticlunr-rs"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "2.3.9"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "35622eb004c8f0c5e7e2032815f3314a93df0db30a1ce5c94e62c1ecc81e22b9"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2020-02-25 08:47:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ena"
|
|
|
|
version = "0.14.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
|
2019-03-19 21:30:07 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2019-03-19 21:30:07 +00:00
|
|
|
]
|
|
|
|
|
2021-04-06 11:20:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "enum-iterator"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c79a6321a1197d7730510c7e3f6cb80432dfefecb32426de8cea0aa19b4bb8d7"
|
|
|
|
dependencies = [
|
|
|
|
"enum-iterator-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enum-iterator-derive"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1e94aa31f7c0dc764f57896dc615ddd76fc13b0d5dca7eb6cc5e018a5a09ec06"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2018-01-25 04:01:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2019-08-29 11:22:21 +00:00
|
|
|
version = "0.6.2"
|
2018-11-16 11:08:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-29 11:22:21 +00:00
|
|
|
checksum = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3"
|
2018-11-16 11:08:23 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
2020-01-21 17:55:43 +00:00
|
|
|
"humantime 1.3.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"termcolor",
|
2018-11-16 11:08:23 +00:00
|
|
|
]
|
|
|
|
|
2019-09-24 18:06:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2019-10-30 20:03:19 +00:00
|
|
|
version = "0.7.1"
|
2019-09-24 18:06:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-10-30 20:03:19 +00:00
|
|
|
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
|
2019-09-24 18:06:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
2020-01-21 17:55:43 +00:00
|
|
|
"humantime 1.3.0",
|
2019-09-24 18:06:56 +00:00
|
|
|
"log",
|
|
|
|
"regex",
|
2020-10-20 23:36:46 +00:00
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "54532e3223c5af90a6a757c90b5c5521564b07e5e7a958681bcd2afad421cdcd"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"humantime 2.0.1",
|
|
|
|
"log",
|
|
|
|
"regex",
|
2019-09-24 18:06:56 +00:00
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "error_index_generator"
|
|
|
|
version = "0.0.0"
|
2017-07-23 02:01:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustdoc",
|
2019-08-19 22:04:25 +00:00
|
|
|
"walkdir",
|
2017-07-23 02:01:58 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "expand-yaml-anchors"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"yaml-merge-keys",
|
2020-08-17 15:21:44 +00:00
|
|
|
"yaml-rust 0.4.4",
|
2019-11-26 11:06:30 +00:00
|
|
|
]
|
|
|
|
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "expect-test"
|
2020-08-31 19:04:09 +00:00
|
|
|
version = "1.0.1"
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-31 19:04:09 +00:00
|
|
|
checksum = "ceb96f3eaa0d4e8769c52dacfd4eb60183b817ed2f176171b3c691d5022b0f2e"
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
dependencies = [
|
|
|
|
"difference",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fake-simd"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
|
2019-01-19 02:39:37 +00:00
|
|
|
|
2018-04-18 15:43:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2021-05-11 19:03:59 +00:00
|
|
|
version = "0.2.14"
|
2018-04-18 15:43:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 19:03:59 +00:00
|
|
|
checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8"
|
2018-04-18 15:43:59 +00:00
|
|
|
dependencies = [
|
2021-05-11 19:03:59 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-04-18 15:43:59 +00:00
|
|
|
]
|
|
|
|
|
2020-03-03 16:25:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fixedbitset"
|
2020-05-27 00:19:19 +00:00
|
|
|
version = "0.2.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-27 00:19:19 +00:00
|
|
|
checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d"
|
2020-03-03 16:25:03 +00:00
|
|
|
|
2017-12-31 14:34:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
version = "1.0.16"
|
2017-12-31 14:34:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e"
|
2017-12-31 14:34:29 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"crc32fast",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
2019-11-12 18:14:48 +00:00
|
|
|
"miniz_oxide",
|
2017-12-31 14:34:29 +00:00
|
|
|
]
|
|
|
|
|
2017-07-18 21:26:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.7"
|
2017-07-18 21:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
2017-07-18 21:26:55 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "foreign-types"
|
2017-12-06 08:25:29 +00:00
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"foreign-types-shared",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types-shared"
|
|
|
|
version = "0.1.1"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2021-05-12 00:39:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
|
|
|
|
dependencies = [
|
|
|
|
"matches",
|
|
|
|
"percent-encoding 2.1.0",
|
|
|
|
]
|
|
|
|
|
2018-08-28 04:33:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fortanix-sgx-abi"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.3"
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "c56c422ef86062869b2d57ae87270608dc5929969dd130a6e248979cf4fb6ca6"
|
2018-08-28 04:33:26 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2018-08-28 04:33:26 +00:00
|
|
|
]
|
|
|
|
|
2021-03-24 15:52:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fs-err"
|
|
|
|
version = "2.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bcd1163ae48bda72a20ae26d66a04d3094135cadab911cff418ae5e33f253431"
|
|
|
|
|
2018-10-21 02:15:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fs_extra"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674"
|
2018-10-21 02:15:06 +00:00
|
|
|
|
2018-07-06 00:34:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fst"
|
2021-04-22 22:47:10 +00:00
|
|
|
version = "0.4.5"
|
2018-07-06 00:34:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-22 22:47:10 +00:00
|
|
|
checksum = "d79238883cf0307100b90aba4a755d8051a3182305dfe7f649a1e9dc0517006f"
|
2018-07-06 00:34:00 +00:00
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fuchsia-zircon"
|
2018-01-08 21:56:22 +00:00
|
|
|
version = "0.3.3"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"fuchsia-zircon-sys",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fuchsia-zircon-sys"
|
2018-01-08 21:56:22 +00:00
|
|
|
version = "0.3.3"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
|
2017-12-06 08:25:29 +00:00
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futf"
|
2018-07-02 16:33:16 +00:00
|
|
|
version = "0.1.4"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "7c9c1ce3fa9336301af935ab852c437817d14cd33690446569392e65170aac3b"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"mac",
|
|
|
|
"new_debug_unreachable",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2017-07-19 01:32:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.29"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef"
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2021-02-10 01:52:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da9052a1a50244d8d5aa9bf55cbc2fb6f357c86cc52e46c62ed390a7180cf150"
|
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f2d31b7ec7efab6eefc7c57233bb10b847986139d88cc2f5a02a1ae6871a1846"
|
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "79e5145dde8da7d1b3892dad07a9c98fc04bc39892b1ecc9692cf53e2b780a65"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e9e59fdc009a4b3096bf94f740a0f2424c082521f20a9b08c5c07c48d90fd9b9"
|
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "28be053525281ad8259d47e4de5de657b25e7bac113458555bb4b70bc6870500"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c287d25add322d9f9abdcdc5927ca398917996600182178774032e9f8258fedd"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "caf5c69029bda2e743fddd0582d1083951d65cc9539aebf8812f36c3491342d6"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "13de07eb8ea81ae445aca7b69f5f7bf15d7bf4912d8ca37d6645c77ae8a58d86"
|
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
|
|
|
version = "0.3.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "632a8cd0f2a4b3fdea1657f08bde063848c3bd00f9bbf6e256b8be78802e624b"
|
|
|
|
dependencies = [
|
|
|
|
"futures 0.1.29",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-macro",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"memchr",
|
|
|
|
"pin-project-lite 0.2.4",
|
|
|
|
"pin-utils",
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro-nested",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
2018-08-14 21:27:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fwdansi"
|
2020-07-29 18:02:05 +00:00
|
|
|
version = "1.1.0"
|
2018-08-14 21:27:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-29 18:02:05 +00:00
|
|
|
checksum = "08c1f5787fe85505d1f7777268db5103d80a7a374d2316a7ce262e57baf8f208"
|
2018-08-14 21:27:26 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"memchr",
|
|
|
|
"termcolor",
|
2018-08-14 21:27:26 +00:00
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
2021-03-12 13:33:02 +00:00
|
|
|
version = "0.12.4"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 13:33:02 +00:00
|
|
|
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"typenum",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-10-01 15:15:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
|
|
|
version = "0.14.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
|
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getopts"
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
version = "0.2.21"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
|
2019-04-30 19:37:36 +00:00
|
|
|
dependencies = [
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
"rustc-std-workspace-core",
|
|
|
|
"rustc-std-workspace-std",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2019-04-30 19:37:36 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "0.1.14"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2020-01-08 15:33:57 +00:00
|
|
|
"wasi",
|
2019-08-01 15:02:26 +00:00
|
|
|
]
|
|
|
|
|
2020-09-17 18:04:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4"
|
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-09-17 18:04:20 +00:00
|
|
|
"libc",
|
|
|
|
"wasi",
|
|
|
|
]
|
|
|
|
|
2021-04-06 11:20:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getset"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "24b328c01a4d71d2d8173daa93562a73ab0fe85616876f02500f53d82948c504"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2020-11-20 17:12:14 +00:00
|
|
|
version = "0.23.0"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-20 17:12:14 +00:00
|
|
|
checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "git2"
|
2021-01-27 17:56:34 +00:00
|
|
|
version = "0.13.17"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-27 17:56:34 +00:00
|
|
|
checksum = "1d250f5f82326884bd39c2853577e70a121775db76818ffa452ed1e80de12986"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"libc",
|
|
|
|
"libgit2-sys",
|
|
|
|
"log",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "git2-curl"
|
2020-12-23 03:42:03 +00:00
|
|
|
version = "0.14.1"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-23 03:42:03 +00:00
|
|
|
checksum = "883539cb0ea94bab3f8371a98cd8e937bbe9ee7c044499184aa4c17deb643a50"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl",
|
|
|
|
"git2",
|
|
|
|
"log",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
2019-03-12 20:34:47 +00:00
|
|
|
version = "0.3.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2017-07-18 21:26:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "globset"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.5"
|
2017-07-18 21:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "7ad1da430bd7281dde2576f44c84cc3f0f7b475e7202cd503042dff01a8c8120"
|
2017-07-18 21:26:55 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"aho-corasick",
|
|
|
|
"bstr",
|
|
|
|
"fnv",
|
|
|
|
"log",
|
|
|
|
"regex",
|
2017-07-18 21:26:55 +00:00
|
|
|
]
|
|
|
|
|
2020-10-26 13:34:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gsgdt"
|
2020-10-27 14:44:38 +00:00
|
|
|
version = "0.1.2"
|
2020-10-26 13:34:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-27 14:44:38 +00:00
|
|
|
checksum = "a0d876ce7262df96262a2a19531da6ff9a86048224d49580a585fc5c04617825"
|
2020-10-26 13:34:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "handlebars"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "3.4.0"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "5deefd4816fb852b1ff3cb48f6c41da67be2d0e1d20b26a7a3b076da11f064b1"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"pest",
|
|
|
|
"pest_derive",
|
2020-08-17 15:21:44 +00:00
|
|
|
"quick-error 2.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2019-09-21 10:56:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2020-10-05 08:50:51 +00:00
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
|
|
|
version = "0.11.0"
|
2019-09-21 10:56:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 08:50:51 +00:00
|
|
|
checksum = "362385356d610bd1e5a408ddf8d022041774b683f345a1d2cfcb4f60f8ae2db5"
|
2019-09-21 10:56:05 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2019-07-08 21:52:07 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 14:11:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.1"
|
2018-12-08 14:11:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
|
2018-12-08 14:11:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-segmentation",
|
2018-12-08 14:11:47 +00:00
|
|
|
]
|
|
|
|
|
2019-10-20 07:55:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2020-10-06 09:42:57 +00:00
|
|
|
version = "0.1.17"
|
2019-10-20 07:55:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-06 09:42:57 +00:00
|
|
|
checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
|
2019-10-20 07:55:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2018-07-02 16:33:16 +00:00
|
|
|
version = "0.3.2"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
|
2018-01-08 21:56:22 +00:00
|
|
|
|
2019-09-16 18:45:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.2"
|
2019-09-16 18:45:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
|
2019-09-16 18:45:40 +00:00
|
|
|
|
2019-08-20 07:32:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "home"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.3"
|
2019-08-20 07:32:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "2456aef2e6b6a9784192ae780c0f15bc57df0e918585282325e8c8ac27737654"
|
2019-08-20 07:32:53 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-08-20 07:32:53 +00:00
|
|
|
]
|
|
|
|
|
2019-06-19 03:36:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "html5ever"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.25.1"
|
2019-06-19 03:36:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "aafcf38a1a36118242d29b92e1b08ef84e67e4a5ed06e0a80be20e6a32bfed6b"
|
2019-06-19 03:36:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"mac",
|
|
|
|
"markup5ever",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-06-19 03:36:47 +00:00
|
|
|
]
|
|
|
|
|
2018-03-01 19:08:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2019-09-24 18:06:56 +00:00
|
|
|
version = "1.3.0"
|
2018-03-01 19:08:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-24 18:06:56 +00:00
|
|
|
checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
|
2018-03-01 19:08:48 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"quick-error 1.2.3",
|
2018-03-01 19:08:48 +00:00
|
|
|
]
|
|
|
|
|
2020-01-21 17:55:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.0.1"
|
2020-01-21 17:55:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
|
2020-01-21 17:55:43 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2018-07-17 16:04:22 +00:00
|
|
|
version = "0.1.5"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2017-02-15 22:55:26 +00:00
|
|
|
]
|
|
|
|
|
2019-08-01 00:44:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
|
2019-08-01 00:44:39 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2019-08-01 00:44:39 +00:00
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "if_chain"
|
2019-05-26 17:21:54 +00:00
|
|
|
version = "1.0.0"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "c3360c7b59e5ffa2653671fb74b4741a5d343c03f331c0a4aeda42b5c2b0ec7d"
|
2017-12-06 08:25:29 +00:00
|
|
|
|
2017-07-18 21:26:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ignore"
|
2021-04-23 23:09:40 +00:00
|
|
|
version = "0.4.17"
|
2017-07-18 21:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 23:09:40 +00:00
|
|
|
checksum = "b287fb45c60bb826a0dc68ff08742b9d88a2fea13d6e0c286b3172065aaf878c"
|
2017-07-18 21:26:55 +00:00
|
|
|
dependencies = [
|
2021-04-23 23:09:40 +00:00
|
|
|
"crossbeam-utils 0.8.3",
|
2019-08-15 00:45:09 +00:00
|
|
|
"globset",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"regex",
|
|
|
|
"same-file",
|
2020-05-26 04:04:59 +00:00
|
|
|
"thread_local",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
|
|
|
"winapi-util",
|
2017-07-18 21:26:55 +00:00
|
|
|
]
|
|
|
|
|
2018-12-03 01:33:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "im-rc"
|
2020-05-18 22:41:57 +00:00
|
|
|
version = "15.0.0"
|
2018-12-03 01:33:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-18 22:41:57 +00:00
|
|
|
checksum = "3ca8957e71f04a205cb162508f9326aea04676c8dfd0711220190d6b83664f3f"
|
2018-12-03 01:33:20 +00:00
|
|
|
dependencies = [
|
2019-11-25 16:14:07 +00:00
|
|
|
"bitmaps",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-11-25 16:14:07 +00:00
|
|
|
"rand_xoshiro",
|
2019-08-15 00:45:09 +00:00
|
|
|
"sized-chunks",
|
|
|
|
"typenum",
|
2020-02-13 17:39:40 +00:00
|
|
|
"version_check",
|
2018-12-03 01:33:20 +00:00
|
|
|
]
|
|
|
|
|
2019-05-14 16:42:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2020-09-03 20:32:53 +00:00
|
|
|
version = "1.6.0"
|
2019-05-14 16:42:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-03 20:32:53 +00:00
|
|
|
checksum = "55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2"
|
2020-08-08 00:03:47 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
2020-10-05 08:50:51 +00:00
|
|
|
"hashbrown 0.9.1",
|
2020-08-08 00:03:47 +00:00
|
|
|
]
|
2019-05-14 16:42:57 +00:00
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "installer"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-05-25 00:08:45 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"clap",
|
|
|
|
"flate2",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num_cpus",
|
|
|
|
"rayon",
|
|
|
|
"remove_dir_all",
|
|
|
|
"tar",
|
|
|
|
"walkdir",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-08-15 00:45:09 +00:00
|
|
|
"xz2",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485"
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "iovec"
|
2020-01-14 19:52:46 +00:00
|
|
|
version = "0.1.4"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-14 19:52:46 +00:00
|
|
|
checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.8.2"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "f56a2d0bc861f9165be4eb3442afd3c236d8a98afd426f65d92324ae1091a484"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"either",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2020-03-12 20:47:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2021-06-02 03:38:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
2017-06-05 16:36:48 +00:00
|
|
|
name = "itoa"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.6"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2017-02-20 00:20:57 +00:00
|
|
|
[[package]]
|
2017-06-05 16:36:48 +00:00
|
|
|
name = "jobserver"
|
2021-04-21 20:02:54 +00:00
|
|
|
version = "0.1.22"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-21 20:02:54 +00:00
|
|
|
checksum = "972f5ae5d1cb9c6ae417789196c803205313edde988685da5e3aae0827b9e7fd"
|
2017-06-05 16:36:48 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-06-05 16:36:48 +00:00
|
|
|
]
|
2017-02-20 00:20:57 +00:00
|
|
|
|
2018-08-25 16:17:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "json"
|
2021-04-22 22:47:10 +00:00
|
|
|
version = "0.12.4"
|
2018-08-25 16:17:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-22 22:47:10 +00:00
|
|
|
checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd"
|
2018-08-25 16:17:55 +00:00
|
|
|
|
2021-01-16 01:34:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsondocck"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-03-24 15:52:47 +00:00
|
|
|
"fs-err",
|
2021-01-16 01:34:15 +00:00
|
|
|
"getopts",
|
|
|
|
"jsonpath_lib",
|
2021-06-01 16:44:10 +00:00
|
|
|
"once_cell",
|
2021-01-16 01:34:15 +00:00
|
|
|
"regex",
|
|
|
|
"serde_json",
|
2021-06-01 15:25:36 +00:00
|
|
|
"shlex",
|
2021-01-16 01:34:15 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonpath_lib"
|
|
|
|
version = "0.2.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "61352ec23883402b7d30b3313c16cbabefb8907361c4eb669d990cbb87ceee5a"
|
|
|
|
dependencies = [
|
|
|
|
"array_tool",
|
|
|
|
"env_logger 0.7.1",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-client-transports"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "17.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "15b6c6ad01c7354d60de493148c30ac8a82b759e22ae678c8705e9b8e0c566a4"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"derive_more",
|
|
|
|
"futures 0.3.12",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-core",
|
|
|
|
"jsonrpc-pubsub",
|
|
|
|
"jsonrpc-server-utils",
|
|
|
|
"log",
|
|
|
|
"parity-tokio-ipc",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tokio",
|
|
|
|
"url 1.7.2",
|
|
|
|
]
|
|
|
|
|
2017-07-19 01:32:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-core"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "17.0.0"
|
2017-07-19 01:32:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "07569945133257ff557eb37b015497104cea61a2c9edaf126c1cbd6e8332397f"
|
2017-07-19 01:32:12 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2017-07-19 01:32:12 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-core-client"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "17.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "7ac9d56dc729912796637c30f475bbf834594607b27740dfea6e5fa7ba40d1f1"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-client-transports",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-derive"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "17.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "b68ba7e76e5c7796cfa4d2a30e83986550c34404c6d40551c902ca6f7bd4a137"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-crate",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-ipc-server"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "17.0.1"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "14c4cd89e5ea7e7f0884e828fc35bb83591a371b92439675eae28efa66c24a97"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-core",
|
|
|
|
"jsonrpc-server-utils",
|
|
|
|
"log",
|
|
|
|
"parity-tokio-ipc",
|
2021-02-10 01:52:54 +00:00
|
|
|
"parking_lot",
|
|
|
|
"tower-service",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-pubsub"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "17.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "0c48dbebce7a9c88ab272a4db7d6478aa4c6d9596e6c086366e89efc4e9ed89e"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-core",
|
2021-02-10 01:52:54 +00:00
|
|
|
"lazy_static",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
2021-02-10 01:52:54 +00:00
|
|
|
"parking_lot",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-server-utils"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "17.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "f4207cce738bf713a82525065b750a008f28351324f438f56b33d698ada95bb4"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
2019-09-08 08:28:11 +00:00
|
|
|
"globset",
|
|
|
|
"jsonrpc-core",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
|
|
|
"tokio",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio-util",
|
2019-11-12 18:14:48 +00:00
|
|
|
"unicase",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "kernel32-sys"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
|
2017-02-07 23:13:57 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi 0.2.8",
|
|
|
|
"winapi-build",
|
2017-02-07 23:13:57 +00:00
|
|
|
]
|
|
|
|
|
2017-12-10 17:42:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "1.4.0"
|
2017-12-10 17:42:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2017-12-10 17:42:49 +00:00
|
|
|
|
2018-02-26 17:07:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazycell"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.3.0"
|
2018-02-26 17:07:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
2018-02-26 17:07:16 +00:00
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2021-04-10 14:12:46 +00:00
|
|
|
version = "0.2.93"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-10 14:12:46 +00:00
|
|
|
checksum = "9385f66bf6105b241aa65a61cb923ef20efc665cb9f9bb50ac2f0c4b7f378d41"
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-std-workspace-core",
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libgit2-sys"
|
2021-01-27 17:56:34 +00:00
|
|
|
version = "0.12.18+1.1.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-27 17:56:34 +00:00
|
|
|
checksum = "3da6a42da88fc37ee1ecda212ffa254c25713532980005d5f7c0b0fbe7e6e885"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libssh2-sys",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2021-03-17 20:34:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
|
|
|
|
|
2018-09-20 21:37:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libnghttp2-sys"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.4+1.41.0"
|
2018-09-20 21:37:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "03624ec6df166e79e139a2310ca213283d6b3c30810c54844f307086d4488df1"
|
2018-09-20 21:37:53 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2018-09-20 21:37:53 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libssh2-sys"
|
2020-10-14 22:16:47 +00:00
|
|
|
version = "0.2.19"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 22:16:47 +00:00
|
|
|
checksum = "ca46220853ba1c512fc82826d0834d87b06bcd3c2a42241b7de72f3d2fe17056"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
2020-09-18 00:14:09 +00:00
|
|
|
version = "1.1.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-18 00:14:09 +00:00
|
|
|
checksum = "602113192b08db8f38796c4e85c39e960c145965140e918018bcde1952429655"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linkchecker"
|
|
|
|
version = "0.1.0"
|
2020-10-15 13:25:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"regex",
|
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.3"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a"
|
2019-11-26 11:06:30 +00:00
|
|
|
|
2020-09-08 22:09:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lint-docs"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c"
|
|
|
|
dependencies = [
|
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
2017-12-29 10:24:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2021-05-02 20:56:25 +00:00
|
|
|
version = "0.4.14"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-02 20:56:25 +00:00
|
|
|
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
|
2017-12-29 10:24:38 +00:00
|
|
|
dependencies = [
|
2021-05-02 20:56:25 +00:00
|
|
|
"cfg-if 1.0.0",
|
2017-12-29 10:24:38 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lsp-codec"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "0.2.0"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "d33c83e320715a1e7e0466a53db2238becb2e5c446deff5506abc81aeacc5ec4"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytes",
|
|
|
|
"serde_json",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio-util",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lsp-types"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.60.0"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 08:28:11 +00:00
|
|
|
checksum = "fe3edefcd66dde1f7f1df706f46520a3c93adc5ca4bc5747da6621195e894efd"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde_repr",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lzma-sys"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.16"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "f24f76ec44a8ac23a31915d6e326bca17ce88da03096f1ff194925dc714dac99"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mac"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
2018-08-15 13:07:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "macro-utils"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.3"
|
2018-08-15 13:07:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "0e72f7deb758fea9ea7d290aebfa788763d0bffae12caa6406a25baaf8fa68a8"
|
2018-08-15 13:07:07 +00:00
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "maplit"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.2"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
2019-06-19 03:36:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "markup5ever"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.10.0"
|
2019-06-19 03:36:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "aae38d669396ca9b707bfc3db254bc382ddb94f57cc5c235f34623a669a01dab"
|
2019-06-19 03:36:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"phf",
|
|
|
|
"phf_codegen",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"string_cache",
|
|
|
|
"string_cache_codegen",
|
|
|
|
"tendril",
|
2019-06-19 03:36:47 +00:00
|
|
|
]
|
|
|
|
|
2020-08-01 14:11:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "markup5ever_rcdom"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f015da43bcd8d4f144559a3423f4591d69b8ce0652c905374da7205df336ae2b"
|
|
|
|
dependencies = [
|
|
|
|
"html5ever",
|
|
|
|
"markup5ever",
|
|
|
|
"tendril",
|
|
|
|
"xml5ever",
|
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "matchers"
|
|
|
|
version = "0.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1"
|
|
|
|
dependencies = [
|
|
|
|
"regex-automata",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "matches"
|
2018-08-21 17:23:47 +00:00
|
|
|
version = "0.1.8"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "maybe-uninit"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
|
|
|
|
|
2020-10-13 15:41:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "md-5"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.9.0",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mdbook"
|
2021-02-23 01:05:21 +00:00
|
|
|
version = "0.4.7"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-23 01:05:21 +00:00
|
|
|
checksum = "28f6a882f3880ec68e96f60d6b543c34941e2f307ad10e2992e4db9acfe96529"
|
2019-08-15 00:45:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"ammonia",
|
2020-06-23 22:23:46 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"chrono",
|
|
|
|
"clap",
|
|
|
|
"elasticlunr-rs",
|
2020-06-23 22:23:46 +00:00
|
|
|
"env_logger 0.7.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"handlebars",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"open",
|
2020-09-14 00:15:01 +00:00
|
|
|
"pulldown-cmark 0.7.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2021-06-01 15:25:36 +00:00
|
|
|
"shlex",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tempfile",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-10-01 12:34:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "measureme"
|
2021-05-31 16:53:46 +00:00
|
|
|
version = "9.1.2"
|
2020-10-01 12:34:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-31 16:53:46 +00:00
|
|
|
checksum = "78f7a41bc6f856a2cf0e95094ad5121f82500e2d9a0f3c0171d98f6566d8117d"
|
2020-10-01 12:34:48 +00:00
|
|
|
dependencies = [
|
2021-02-25 23:25:38 +00:00
|
|
|
"log",
|
2021-05-11 19:03:59 +00:00
|
|
|
"memmap2",
|
2021-02-10 01:52:54 +00:00
|
|
|
"parking_lot",
|
2021-02-25 23:25:38 +00:00
|
|
|
"perf-event-open-sys",
|
2020-10-01 12:34:48 +00:00
|
|
|
"rustc-hash",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-10-01 12:34:48 +00:00
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2021-04-22 18:53:33 +00:00
|
|
|
version = "2.4.0"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-22 18:53:33 +00:00
|
|
|
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2021-03-17 16:29:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memmap2"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "04e3e85b970d650e2ae6d70592474087051c11c54da7f7b4949725c5735fbcc6"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-07-25 13:57:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.5"
|
2019-07-25 13:57:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f"
|
2019-07-25 13:57:25 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"autocfg",
|
2019-07-25 13:57:25 +00:00
|
|
|
]
|
|
|
|
|
2020-09-12 04:42:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "merge"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "10bbef93abb1da61525bbc45eeaff6473a41907d19f8f9aa5168d214e10693e9"
|
|
|
|
dependencies = [
|
|
|
|
"merge_derive",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "merge_derive"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "209d075476da2e63b4b29e72a2ef627b840589588e71400a25e3565c4f849d07"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2018-05-10 22:02:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "minifier"
|
2021-05-20 14:51:44 +00:00
|
|
|
version = "0.0.41"
|
2018-05-10 22:02:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-20 14:51:44 +00:00
|
|
|
checksum = "5594542d20834f2b974f5e5fb8e0cf1c67a2119dcadc29ef5d93a081fb30cc08"
|
2018-05-10 22:02:05 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"macro-utils",
|
2018-05-10 22:02:05 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 11:06:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
version = "0.4.0"
|
2018-12-08 11:06:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
checksum = "be0f75932c1f6cfae3c04000e40114adf955636e19040f9c0a2c380702aa1c7f"
|
2018-12-08 11:06:54 +00:00
|
|
|
dependencies = [
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"adler",
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2018-12-08 11:06:54 +00:00
|
|
|
]
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.6.22"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"fuchsia-zircon",
|
|
|
|
"fuchsia-zircon-sys",
|
|
|
|
"iovec",
|
|
|
|
"kernel32-sys",
|
|
|
|
"libc",
|
|
|
|
"log",
|
2020-11-27 23:56:12 +00:00
|
|
|
"miow 0.2.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"net2",
|
|
|
|
"slab",
|
|
|
|
"winapi 0.2.8",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mio-named-pipes"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.7"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"mio",
|
2020-11-27 23:56:12 +00:00
|
|
|
"miow 0.3.6",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "mio-uds"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.6.8"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"iovec",
|
|
|
|
"libc",
|
|
|
|
"mio",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
2020-11-27 23:56:12 +00:00
|
|
|
version = "0.2.2"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-27 23:56:12 +00:00
|
|
|
checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"kernel32-sys",
|
|
|
|
"net2",
|
|
|
|
"winapi 0.2.8",
|
|
|
|
"ws2_32-sys",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2018-03-07 07:39:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
2020-11-27 23:56:12 +00:00
|
|
|
version = "0.3.6"
|
2018-03-07 07:39:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-27 23:56:12 +00:00
|
|
|
checksum = "5a33c1b55807fbed163481b5ba66db4b2fa6cde694a5027be10fb724206c5897"
|
2018-03-07 07:39:55 +00:00
|
|
|
dependencies = [
|
2021-05-11 19:03:59 +00:00
|
|
|
"socket2 0.3.19",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-03-07 07:39:55 +00:00
|
|
|
]
|
|
|
|
|
2017-12-15 19:41:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miri"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"colored",
|
2021-04-06 11:20:48 +00:00
|
|
|
"compiletest_rs",
|
|
|
|
"env_logger 0.8.1",
|
2020-09-17 18:04:20 +00:00
|
|
|
"getrandom 0.2.0",
|
2020-08-17 15:21:44 +00:00
|
|
|
"hex 0.4.2",
|
2020-06-01 18:17:20 +00:00
|
|
|
"libc",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2021-05-31 16:53:46 +00:00
|
|
|
"measureme",
|
2021-04-06 11:20:48 +00:00
|
|
|
"rand 0.8.3",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-workspace-hack",
|
|
|
|
"rustc_version",
|
|
|
|
"shell-escape",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2017-12-15 19:41:58 +00:00
|
|
|
]
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "net2"
|
2020-11-27 23:56:12 +00:00
|
|
|
version = "0.2.36"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-27 23:56:12 +00:00
|
|
|
checksum = "d7cf75f38f16cb05ea017784dc6dbfd354f76c223dba37701734c4f5a9337d02"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2018-07-02 16:33:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "new_debug_unreachable"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.4"
|
2018-02-26 03:15:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
2018-02-26 03:15:45 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
2018-07-14 22:01:24 +00:00
|
|
|
name = "num-integer"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.43"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"autocfg",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num-traits",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2017-02-20 00:20:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.2.12"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
2017-02-20 00:20:57 +00:00
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.13.0"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
|
2016-09-02 08:55:29 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"hermit-abi",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2020-11-20 17:12:14 +00:00
|
|
|
version = "0.22.0"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-20 17:12:14 +00:00
|
|
|
checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2021-04-22 18:53:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
|
|
|
version = "0.25.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f8bc1d42047cf336f0f939c99e97183cf31551bf0f2865a2ec9c8d91fd4ffb5e"
|
|
|
|
dependencies = [
|
|
|
|
"crc32fast",
|
|
|
|
"indexmap",
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2019-09-10 01:01:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2020-10-05 08:50:51 +00:00
|
|
|
version = "1.7.2"
|
2019-09-10 01:01:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 08:50:51 +00:00
|
|
|
checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
|
2019-09-10 01:01:41 +00:00
|
|
|
|
2020-03-31 05:17:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
|
|
|
|
2020-10-01 15:15:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
|
|
|
|
|
2017-02-20 00:20:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "open"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.4.0"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "7c283bf0114efea9e42f1a60edea9859e8c47528eae09d01df4b29c1e489cc48"
|
|
|
|
dependencies = [
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
2017-02-20 00:20:57 +00:00
|
|
|
|
2018-08-21 17:23:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "opener"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.1"
|
2018-08-21 17:23:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "13117407ca9d0caf3a0e74f97b490a7e64c0ae3aa90a8b7085544d0c37b6f3ae"
|
2018-08-21 17:23:47 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-08-21 17:23:47 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl"
|
2021-05-01 11:50:03 +00:00
|
|
|
version = "0.10.33"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 11:50:03 +00:00
|
|
|
checksum = "a61075b62a23fef5a29815de7536d940aa35ce96d18ce0cc5076272db678a577"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2021-05-01 11:50:03 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"foreign-types",
|
|
|
|
"libc",
|
2021-05-01 11:50:03 +00:00
|
|
|
"once_cell",
|
2019-08-15 00:45:09 +00:00
|
|
|
"openssl-sys",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
2017-12-10 17:42:49 +00:00
|
|
|
version = "0.1.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2018-08-14 21:27:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-src"
|
2021-05-01 11:50:03 +00:00
|
|
|
version = "111.15.0+1.1.1k"
|
2018-08-14 21:27:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 11:50:03 +00:00
|
|
|
checksum = "b1a5f6ae2ac04393b217ea9f700cd04fa9bf3d93fae2872069f3d15d908af70a"
|
2018-08-14 21:27:26 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
2018-08-14 21:27:26 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2021-05-01 11:50:03 +00:00
|
|
|
version = "0.9.61"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 11:50:03 +00:00
|
|
|
checksum = "313752393519e876837e09e1fa183ddef0be7735868dced3196f4472d536277f"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-03-16 18:37:15 +00:00
|
|
|
"autocfg",
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"openssl-src",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2018-07-06 00:34:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ordslice"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "dd20eec3dbe4376829cb7d80ae6ac45e0a766831dca50202ff2d40db46a8a024"
|
2018-07-06 00:34:00 +00:00
|
|
|
|
2020-03-26 13:10:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "output_vt100"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "53cdc5b785b7a58c5aad8216b3dfa114df64b0b06ae6e1501cef91df2fbdf8f9"
|
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2020-03-26 13:10:35 +00:00
|
|
|
]
|
|
|
|
|
2018-12-01 10:36:32 +00:00
|
|
|
[[package]]
|
2021-03-17 20:34:05 +00:00
|
|
|
name = "packed_simd_2"
|
|
|
|
version = "0.3.4"
|
2018-12-01 10:36:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 20:34:05 +00:00
|
|
|
checksum = "3278e0492f961fd4ae70909f56b2723a7e8d01a228427294e19cdfdebda89a17"
|
2018-12-01 10:36:32 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2021-03-17 20:34:05 +00:00
|
|
|
"libm",
|
2018-12-01 10:36:32 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "panic_abort"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-03-15 10:21:39 +00:00
|
|
|
"alloc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "panic_unwind"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"alloc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
|
|
|
"unwind",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parity-tokio-ipc"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "0.8.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "fd7f6c69d7687501b2205fe51ade1d7b8797bb3aa141fe5bf13dd78c0483bc89"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
|
|
|
"libc",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
|
|
|
"mio-named-pipes",
|
2020-11-27 23:56:12 +00:00
|
|
|
"miow 0.3.6",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2019-09-08 08:28:11 +00:00
|
|
|
"tokio",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
2021-03-17 20:25:47 +00:00
|
|
|
version = "0.11.1"
|
2020-08-17 15:21:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 20:25:47 +00:00
|
|
|
checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
|
2020-08-17 15:21:44 +00:00
|
|
|
dependencies = [
|
|
|
|
"instant",
|
2021-02-10 01:52:54 +00:00
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core",
|
2020-08-17 15:21:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2021-03-17 20:25:47 +00:00
|
|
|
version = "0.8.3"
|
2020-02-12 14:47:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 20:25:47 +00:00
|
|
|
checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
|
2020-02-12 14:47:31 +00:00
|
|
|
dependencies = [
|
2021-03-17 20:25:47 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-08-17 15:21:44 +00:00
|
|
|
"instant",
|
2020-02-12 14:47:31 +00:00
|
|
|
"libc",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2020-02-12 14:47:31 +00:00
|
|
|
]
|
|
|
|
|
2020-07-17 22:01:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pathdiff"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34"
|
|
|
|
|
2017-06-15 02:33:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2017-12-06 08:25:29 +00:00
|
|
|
version = "1.0.1"
|
2017-06-15 02:33:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
|
2017-06-15 02:33:06 +00:00
|
|
|
|
2019-08-01 00:44:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2019-11-12 18:14:48 +00:00
|
|
|
version = "2.1.0"
|
2019-08-01 00:44:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-12 18:14:48 +00:00
|
|
|
checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
|
2019-08-01 00:44:39 +00:00
|
|
|
|
2021-02-25 23:25:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "perf-event-open-sys"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ce9bedf5da2c234fdf2391ede2b90fabf585355f33100689bc364a3ea558561a"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
2019-08-01 00:44:39 +00:00
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pest"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"ucd-trie",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_derive"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"pest",
|
|
|
|
"pest_generator",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_generator"
|
2020-05-05 11:26:29 +00:00
|
|
|
version = "2.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 11:26:29 +00:00
|
|
|
checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"pest",
|
|
|
|
"pest_meta",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_meta"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "2.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"maplit",
|
|
|
|
"pest",
|
2020-10-13 15:41:06 +00:00
|
|
|
"sha-1 0.8.2",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-03-03 16:25:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "petgraph"
|
2020-05-27 00:19:19 +00:00
|
|
|
version = "0.5.1"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-27 00:19:19 +00:00
|
|
|
checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"fixedbitset",
|
2020-05-27 00:19:19 +00:00
|
|
|
"indexmap",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.8.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_shared",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_codegen"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.8.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_generator"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.8.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_shared",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.8.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"siphasher",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 01:52:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
|
|
|
version = "0.1.11"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c917123afa01924fc84bb20c4c03f004d9c38e5127e3c039bbf7f4b9c76a2f6b"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.18"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2018-05-24 21:52:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "polonius-engine"
|
2020-03-29 23:11:44 +00:00
|
|
|
version = "0.12.1"
|
2018-05-24 21:52:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-29 23:11:44 +00:00
|
|
|
checksum = "ef2558a4b464e185b36ee08a2937ebb62ea5464c38856cfb1465c97cb38db52d"
|
2018-05-29 11:52:51 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"datafrog",
|
|
|
|
"log",
|
|
|
|
"rustc-hash",
|
2018-05-29 11:52:51 +00:00
|
|
|
]
|
2018-05-24 21:52:01 +00:00
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2020-05-26 04:35:21 +00:00
|
|
|
version = "0.2.8"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 04:35:21 +00:00
|
|
|
checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea"
|
2019-08-01 15:02:26 +00:00
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "precomputed-hash"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_assertions"
|
2020-03-26 13:10:35 +00:00
|
|
|
version = "0.6.1"
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-26 13:10:35 +00:00
|
|
|
checksum = "3f81e1644e1b54f5a68959a29aa86cde704219254669da328ecfdf6a1f09d427"
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
dependencies = [
|
2020-07-24 18:42:00 +00:00
|
|
|
"ansi_term 0.11.0",
|
2020-03-26 13:10:35 +00:00
|
|
|
"ctor",
|
2019-08-15 00:45:09 +00:00
|
|
|
"difference",
|
2020-03-26 13:10:35 +00:00
|
|
|
"output_vt100",
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
]
|
|
|
|
|
2018-12-03 01:33:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_env_logger"
|
2020-02-10 19:47:38 +00:00
|
|
|
version = "0.4.0"
|
2018-12-03 01:33:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-10 19:47:38 +00:00
|
|
|
checksum = "926d36b9553851b8b0005f1275891b392ee4d2d833852c417ed025477350fb9d"
|
2018-12-03 01:33:20 +00:00
|
|
|
dependencies = [
|
2020-02-10 19:47:38 +00:00
|
|
|
"env_logger 0.7.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2018-12-03 01:33:20 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-crate"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.5"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.4"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"proc-macro-error-attr",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-08-17 15:21:44 +00:00
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error-attr"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"version_check",
|
2018-04-02 15:43:55 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 01:52:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-hack"
|
|
|
|
version = "0.5.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-nested"
|
|
|
|
version = "0.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2021-03-26 19:29:08 +00:00
|
|
|
version = "1.0.24"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 19:29:08 +00:00
|
|
|
checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"unicode-xid",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc_macro"
|
|
|
|
version = "0.0.0"
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"std",
|
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2017-02-13 09:57:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "profiler_builtins"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
2017-06-04 14:54:39 +00:00
|
|
|
]
|
|
|
|
|
2018-11-02 15:14:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "psm"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.11"
|
2018-11-02 15:14:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "96e0536f6528466dbbbbe6b986c34175a8d0ff25b794c4bacda22e068cd2f2c5"
|
2018-11-02 15:14:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2019-09-19 08:32:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pulldown-cmark"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.7.2"
|
2019-09-19 08:32:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "ca36dea94d187597e104a5c8e4b07576a8a45aa5db48a65e12940d3eb7461f55"
|
2019-09-19 08:32:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2020-06-23 22:23:46 +00:00
|
|
|
"getopts",
|
2019-09-19 08:32:31 +00:00
|
|
|
"memchr",
|
2019-11-12 18:14:48 +00:00
|
|
|
"unicase",
|
2019-04-20 17:03:59 +00:00
|
|
|
]
|
|
|
|
|
2020-09-14 00:15:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pulldown-cmark"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffade02495f22453cd593159ea2f59827aae7f53fa8323f756799b670881dcf8"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"memchr",
|
|
|
|
"unicase",
|
|
|
|
]
|
|
|
|
|
2019-01-29 05:24:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "punycode"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.1"
|
2019-01-29 05:24:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "e9e1dcb320d6839f6edb64f7a4a59d39b30480d4d1765b56873f7c858538a5fe"
|
2019-01-29 05:24:32 +00:00
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
2020-05-05 12:05:06 +00:00
|
|
|
version = "1.2.3"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 12:05:06 +00:00
|
|
|
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3ac73b1112776fc109b2e61909bc46c7e1bf0d7f690ffb1676553acce16d5cda"
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
2017-12-06 08:25:29 +00:00
|
|
|
name = "quine-mc_cluskey"
|
|
|
|
version = "0.2.4"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "07589615d719a60c8dd8a4622e7946465dfef20d1a428f969e3443e7386d5f45"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.7"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
2018-04-02 15:43:55 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "racer"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "2.1.48"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "7fec2e85e7a30f8fd31b7cf288ad363b5e51fd2cb6f53b416b0cfaabd84e1ccb"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"clap",
|
|
|
|
"derive_more",
|
2020-02-12 14:47:31 +00:00
|
|
|
"env_logger 0.7.1",
|
2020-08-17 15:21:44 +00:00
|
|
|
"humantime 2.0.1",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"rls-span",
|
2020-03-31 12:31:52 +00:00
|
|
|
"rustc-ap-rustc_ast",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_ast_pretty",
|
|
|
|
"rustc-ap-rustc_data_structures",
|
|
|
|
"rustc-ap-rustc_errors",
|
|
|
|
"rustc-ap-rustc_parse",
|
|
|
|
"rustc-ap-rustc_session",
|
|
|
|
"rustc-ap-rustc_span",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "0.7.3"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-09-17 18:04:20 +00:00
|
|
|
"getrandom 0.1.14",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_chacha 0.2.2",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"rand_hc 0.2.0",
|
2020-08-01 14:11:15 +00:00
|
|
|
"rand_pcg",
|
2018-12-08 11:06:54 +00:00
|
|
|
]
|
|
|
|
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
|
|
|
version = "0.8.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"rand_chacha 0.3.0",
|
|
|
|
"rand_core 0.6.2",
|
|
|
|
"rand_hc 0.3.0",
|
|
|
|
]
|
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
2020-05-26 04:35:21 +00:00
|
|
|
version = "0.2.2"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 04:35:21 +00:00
|
|
|
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:35:21 +00:00
|
|
|
"ppv-lite86",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d"
|
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
|
|
|
"rand_core 0.6.2",
|
2019-08-01 15:02:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2019-11-25 16:14:07 +00:00
|
|
|
version = "0.5.1"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-25 16:14:07 +00:00
|
|
|
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-09-17 18:04:20 +00:00
|
|
|
"getrandom 0.1.14",
|
2019-08-01 15:02:26 +00:00
|
|
|
]
|
|
|
|
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.0",
|
|
|
|
]
|
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.6.2",
|
2019-06-10 18:22:31 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 11:06:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_pcg"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.2.1"
|
2018-12-08 11:06:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
|
2018-12-08 11:06:54 +00:00
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
2018-12-08 11:06:54 +00:00
|
|
|
]
|
2018-07-26 21:58:55 +00:00
|
|
|
|
2019-04-19 07:37:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_xorshift"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "77d416b86801d23dde1aa643023b775c3a462efc0ed96443add11546cdf1dca8"
|
2019-04-19 07:37:33 +00:00
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-11-25 16:14:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_xoshiro"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a9fcdd2e881d02f1d9390ae47ad8e5696a9e4be7b547a1da2afbc61973217004"
|
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-04-19 07:37:33 +00:00
|
|
|
]
|
|
|
|
|
2018-02-26 03:15:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.3.1"
|
2018-02-26 03:15:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080"
|
2018-02-26 03:15:45 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"autocfg",
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2019-08-15 00:45:09 +00:00
|
|
|
"either",
|
|
|
|
"rayon-core",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.7.1"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2021-03-11 01:53:35 +00:00
|
|
|
"crossbeam-queue",
|
2020-08-17 15:21:44 +00:00
|
|
|
"crossbeam-utils 0.7.2",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num_cpus",
|
2019-06-10 18:22:31 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "94341e4e44e24f6b591b59e47a8a027df12e008d73fd5672dbea9cc22f4507d9"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.0",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2021-02-25 10:26:23 +00:00
|
|
|
]
|
|
|
|
|
2018-05-11 12:11:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2021-01-16 01:34:15 +00:00
|
|
|
version = "1.4.3"
|
2018-05-11 12:11:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-16 01:34:15 +00:00
|
|
|
checksum = "d9251239e129e16308e70d853559389de218ac275b515068abc96829d05b948a"
|
2018-05-11 12:11:06 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
2020-05-26 04:04:59 +00:00
|
|
|
"thread_local",
|
2018-05-11 12:11:06 +00:00
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
|
|
|
version = "0.1.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"regex-syntax",
|
|
|
|
]
|
|
|
|
|
2018-05-11 12:11:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2021-01-16 01:34:15 +00:00
|
|
|
version = "0.6.22"
|
2018-05-11 12:11:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-16 01:34:15 +00:00
|
|
|
checksum = "b5eb417147ba9860a96cfe72a0b93bf88fee1744b5636ec99ab20c1aa9376581"
|
2018-05-11 12:11:06 +00:00
|
|
|
|
travis: Parallelize tests on Android
Currently our slowest test suite on android, run-pass, takes over 5 times longer
than the x86_64 component (~400 -> ~2200s). Typically QEMU emulation does indeed
add overhead, but not 5x for this kind of workload. One of the slowest parts of
the Android process is that *compilation* happens serially. Tests themselves
need to run single-threaded on the emulator (due to how the test harness works)
and this forces the compiles themselves to be single threaded.
Now Travis gives us more than one core per machine, so it'd be much better if we
could take advantage of them! The emulator itself is still fundamentally
single-threaded, but we should see a nice speedup by sending binaries for it to
run much more quickly.
It turns out that we've already got all the tools to do this in-tree. The
qemu-test-{server,client} that are in use for the ARM Linux testing are a
perfect match for the Android emulator. This commit migrates the custom adb
management code in compiletest/rustbuild to the same qemu-test-{server,client}
implementation that ARM Linux uses.
This allows us to lift the parallelism restriction on the compiletest test
suites, namely run-pass. Consequently although we'll still basically run the
tests themselves in single threaded mode we'll be able to compile all of them in
parallel, keeping the pipeline much more full and using more cores for the work
at hand. Additionally the architecture here should be a bit speedier as it
should have less overhead than adb which is a whole new process on both the host
and the emulator!
Locally on an 8 core machine I've seen the run-pass test suite speed up from
taking nearly an hour to only taking 6 minutes. I don't think we'll see quite a
drastic speedup on Travis but I'm hoping this change can place the Android tests
well below 2 hours instead of just above 2 hours.
Because the client/server here are now repurposed for more than just QEMU,
they've been renamed to `remote-test-{server,client}`.
Note that this PR does not currently modify how debuginfo tests are executed on
Android. While parallelizable it wouldn't be quite as easy, so that's left to
another day. Thankfully that test suite is much smaller than the run-pass test
suite.
As a final fix I discovered that the ARM and Android test suites were actually
running all library unit tests (e.g. stdtest, coretest, etc) twice. I've
corrected that to only run tests once which should also give a nice boost in
overall cycle time here.
2017-04-26 15:52:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remote-test-client"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "remote-test-server"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2018-02-26 17:07:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remove_dir_all"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.3"
|
2018-02-26 17:07:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
|
2018-02-26 17:07:16 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-02-26 17:07:16 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls"
|
2019-12-10 15:01:01 +00:00
|
|
|
version = "1.41.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-01-14 17:47:04 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"cargo",
|
2021-04-11 16:42:01 +00:00
|
|
|
"cargo-util",
|
2021-06-07 20:12:24 +00:00
|
|
|
"cargo_metadata 0.12.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"clippy_lints",
|
2020-02-12 14:47:31 +00:00
|
|
|
"crossbeam-channel",
|
2019-08-15 00:45:09 +00:00
|
|
|
"difference",
|
2019-10-31 06:50:54 +00:00
|
|
|
"env_logger 0.7.1",
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
2019-08-15 00:45:09 +00:00
|
|
|
"heck",
|
2019-09-08 08:28:11 +00:00
|
|
|
"home",
|
2021-04-22 22:47:10 +00:00
|
|
|
"itertools 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"jsonrpc-core",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"lsp-codec",
|
|
|
|
"lsp-types",
|
|
|
|
"num_cpus",
|
|
|
|
"ordslice",
|
|
|
|
"racer",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rayon",
|
|
|
|
"regex",
|
|
|
|
"rls-analysis",
|
|
|
|
"rls-data",
|
2019-09-08 08:28:11 +00:00
|
|
|
"rls-ipc",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rls-rustc",
|
|
|
|
"rls-span",
|
|
|
|
"rls-vfs",
|
|
|
|
"rustc-workspace-hack",
|
2019-06-08 20:15:22 +00:00
|
|
|
"rustc_tools_util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustfmt-nightly",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde_ignored",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"tokio",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio-util",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rls-analysis"
|
2021-04-22 22:47:10 +00:00
|
|
|
version = "0.18.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"derive-new",
|
2021-04-22 22:47:10 +00:00
|
|
|
"env_logger 0.7.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"fst",
|
2021-04-22 22:47:10 +00:00
|
|
|
"itertools 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"json",
|
2021-04-22 22:47:10 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"rls-data",
|
|
|
|
"rls-span",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2017-06-05 16:36:48 +00:00
|
|
|
]
|
|
|
|
|
2018-02-02 07:29:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls-data"
|
2021-01-15 00:50:59 +00:00
|
|
|
version = "0.19.1"
|
2021-01-15 01:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a58135eb039f3a3279a33779192f0ee78b56f57ae636e25cec83530e41debb99"
|
2018-02-02 07:29:59 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rls-span",
|
|
|
|
"serde",
|
2018-02-02 07:29:59 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls-ipc"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"jsonrpc-core",
|
|
|
|
"jsonrpc-core-client",
|
|
|
|
"jsonrpc-derive",
|
|
|
|
"jsonrpc-ipc-server",
|
|
|
|
"rls-data",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-08-30 05:09:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls-rustc"
|
2019-03-10 16:03:32 +00:00
|
|
|
version = "0.6.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"clippy_lints",
|
2019-10-31 06:50:54 +00:00
|
|
|
"env_logger 0.7.1",
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures 0.3.12",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2019-09-08 08:28:11 +00:00
|
|
|
"rls-data",
|
|
|
|
"rls-ipc",
|
|
|
|
"serde",
|
|
|
|
"tokio",
|
|
|
|
]
|
2017-08-30 05:09:36 +00:00
|
|
|
|
2017-03-14 02:16:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls-span"
|
2021-01-15 00:50:59 +00:00
|
|
|
version = "0.5.3"
|
2021-01-15 01:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f0eea58478fc06e15f71b03236612173a1b81e9770314edecfa664375e3e4c86"
|
2017-03-14 02:16:44 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rls-vfs"
|
2019-04-21 10:52:07 +00:00
|
|
|
version = "0.8.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ce4b57b25b4330ed5ec14028fc02141e083ddafda327e7eb598dc0569c8c83c9"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"rls-span",
|
2017-03-14 02:16:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-02 18:27:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rust-demangler"
|
Updates to experimental coverage counter injection
This is a combination of 18 commits.
Commit #2:
Additional examples and some small improvements.
Commit #3:
fixed mir-opt non-mir extensions and spanview title elements
Corrected a fairly recent assumption in runtest.rs that all MIR dump
files end in .mir. (It was appending .mir to the graphviz .dot and
spanview .html file names when generating blessed output files. That
also left outdated files in the baseline alongside the files with the
incorrect names, which I've now removed.)
Updated spanview HTML title elements to match their content, replacing a
hardcoded and incorrect name that was left in accidentally when
originally submitted.
Commit #4:
added more test examples
also improved Makefiles with support for non-zero exit status and to
force validation of tests unless a specific test overrides it with a
specific comment.
Commit #5:
Fixed rare issues after testing on real-world crate
Commit #6:
Addressed PR feedback, and removed temporary -Zexperimental-coverage
-Zinstrument-coverage once again supports the latest capabilities of
LLVM instrprof coverage instrumentation.
Also fixed a bug in spanview.
Commit #7:
Fix closure handling, add tests for closures and inner items
And cleaned up other tests for consistency, and to make it more clear
where spans start/end by breaking up lines.
Commit #8:
renamed "typical" test results "expected"
Now that the `llvm-cov show` tests are improved to normally expect
matching actuals, and to allow individual tests to override that
expectation.
Commit #9:
test coverage of inline generic struct function
Commit #10:
Addressed review feedback
* Removed unnecessary Unreachable filter.
* Replaced a match wildcard with remining variants.
* Added more comments to help clarify the role of successors() in the
CFG traversal
Commit #11:
refactoring based on feedback
* refactored `fn coverage_spans()`.
* changed the way I expand an empty coverage span to improve performance
* fixed a typo that I had accidently left in, in visit.rs
Commit #12:
Optimized use of SourceMap and SourceFile
Commit #13:
Fixed a regression, and synched with upstream
Some generated test file names changed due to some new change upstream.
Commit #14:
Stripping out crate disambiguators from demangled names
These can vary depending on the test platform.
Commit #15:
Ignore llvm-cov show diff on test with generics, expand IO error message
Tests with generics produce llvm-cov show results with demangled names
that can include an unstable "crate disambiguator" (hex value). The
value changes when run in the Rust CI Windows environment. I added a sed
filter to strip them out (in a prior commit), but sed also appears to
fail in the same environment. Until I can figure out a workaround, I'm
just going to ignore this specific test result. I added a FIXME to
follow up later, but it's not that critical.
I also saw an error with Windows GNU, but the IO error did not
specify a path for the directory or file that triggered the error. I
updated the error messages to provide more info for next, time but also
noticed some other tests with similar steps did not fail. Looks
spurious.
Commit #16:
Modify rust-demangler to strip disambiguators by default
Commit #17:
Remove std::process::exit from coverage tests
Due to Issue #77553, programs that call std::process::exit() do not
generate coverage results on Windows MSVC.
Commit #18:
fix: test file paths exceeding Windows max path len
2020-09-01 23:15:17 +00:00
|
|
|
version = "0.0.1"
|
2020-07-02 18:27:15 +00:00
|
|
|
dependencies = [
|
Updates to experimental coverage counter injection
This is a combination of 18 commits.
Commit #2:
Additional examples and some small improvements.
Commit #3:
fixed mir-opt non-mir extensions and spanview title elements
Corrected a fairly recent assumption in runtest.rs that all MIR dump
files end in .mir. (It was appending .mir to the graphviz .dot and
spanview .html file names when generating blessed output files. That
also left outdated files in the baseline alongside the files with the
incorrect names, which I've now removed.)
Updated spanview HTML title elements to match their content, replacing a
hardcoded and incorrect name that was left in accidentally when
originally submitted.
Commit #4:
added more test examples
also improved Makefiles with support for non-zero exit status and to
force validation of tests unless a specific test overrides it with a
specific comment.
Commit #5:
Fixed rare issues after testing on real-world crate
Commit #6:
Addressed PR feedback, and removed temporary -Zexperimental-coverage
-Zinstrument-coverage once again supports the latest capabilities of
LLVM instrprof coverage instrumentation.
Also fixed a bug in spanview.
Commit #7:
Fix closure handling, add tests for closures and inner items
And cleaned up other tests for consistency, and to make it more clear
where spans start/end by breaking up lines.
Commit #8:
renamed "typical" test results "expected"
Now that the `llvm-cov show` tests are improved to normally expect
matching actuals, and to allow individual tests to override that
expectation.
Commit #9:
test coverage of inline generic struct function
Commit #10:
Addressed review feedback
* Removed unnecessary Unreachable filter.
* Replaced a match wildcard with remining variants.
* Added more comments to help clarify the role of successors() in the
CFG traversal
Commit #11:
refactoring based on feedback
* refactored `fn coverage_spans()`.
* changed the way I expand an empty coverage span to improve performance
* fixed a typo that I had accidently left in, in visit.rs
Commit #12:
Optimized use of SourceMap and SourceFile
Commit #13:
Fixed a regression, and synched with upstream
Some generated test file names changed due to some new change upstream.
Commit #14:
Stripping out crate disambiguators from demangled names
These can vary depending on the test platform.
Commit #15:
Ignore llvm-cov show diff on test with generics, expand IO error message
Tests with generics produce llvm-cov show results with demangled names
that can include an unstable "crate disambiguator" (hex value). The
value changes when run in the Rust CI Windows environment. I added a sed
filter to strip them out (in a prior commit), but sed also appears to
fail in the same environment. Until I can figure out a workaround, I'm
just going to ignore this specific test result. I added a FIXME to
follow up later, but it's not that critical.
I also saw an error with Windows GNU, but the IO error did not
specify a path for the directory or file that triggered the error. I
updated the error messages to provide more info for next, time but also
noticed some other tests with similar steps did not fail. Looks
spurious.
Commit #16:
Modify rust-demangler to strip disambiguators by default
Commit #17:
Remove std::process::exit from coverage tests
Due to Issue #77553, programs that call std::process::exit() do not
generate coverage results on Windows MSVC.
Commit #18:
fix: test file paths exceeding Windows max path len
2020-09-01 23:15:17 +00:00
|
|
|
"regex",
|
2020-07-02 18:27:15 +00:00
|
|
|
"rustc-demangle",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustbook"
|
2017-02-07 23:13:57 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"clap",
|
2020-11-15 01:37:02 +00:00
|
|
|
"env_logger 0.7.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"mdbook",
|
2017-02-07 23:13:57 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
2020-06-15 09:43:39 +00:00
|
|
|
name = "rustc-ap-rustc_arena"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "550ca1a0925d31a0af089b18c89f5adf3b286e319e3e1f1a5204c21bd2f17371"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2021-04-11 16:42:01 +00:00
|
|
|
"rustc-ap-rustc_data_structures",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
2020-03-31 12:31:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_ast"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-03-31 12:31:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "4aa53b68080df17994a54747f7c37b0686288a670efb9ba3b382ce62e744aed2"
|
2020-03-31 12:31:52 +00:00
|
|
|
dependencies = [
|
2020-06-15 09:43:39 +00:00
|
|
|
"bitflags",
|
2020-03-31 12:31:52 +00:00
|
|
|
"rustc-ap-rustc_data_structures",
|
|
|
|
"rustc-ap-rustc_index",
|
|
|
|
"rustc-ap-rustc_lexer",
|
|
|
|
"rustc-ap-rustc_macros",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_serialize",
|
2020-03-31 12:31:52 +00:00
|
|
|
"rustc-ap-rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tracing",
|
2020-03-31 12:31:52 +00:00
|
|
|
]
|
|
|
|
|
2020-02-12 14:47:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_ast_pretty"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-02-12 14:47:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "0ae71e68fada466a4b2c39c79ca6aee3226587abe6787170d2f6c92237569565"
|
2020-02-12 14:47:31 +00:00
|
|
|
dependencies = [
|
2020-03-31 12:31:52 +00:00
|
|
|
"rustc-ap-rustc_ast",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_span",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tracing",
|
2020-02-12 14:47:31 +00:00
|
|
|
]
|
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_data_structures"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "faa484d6e0ca32d1d82303647275c696f745599b3d97e686f396ceef5b99d7ae"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2020-02-12 14:47:31 +00:00
|
|
|
"bitflags",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2021-05-03 20:59:35 +00:00
|
|
|
"crossbeam-utils 0.8.3",
|
2020-05-27 05:05:09 +00:00
|
|
|
"ena",
|
2019-08-15 00:45:09 +00:00
|
|
|
"indexmap",
|
|
|
|
"jobserver",
|
2020-04-15 02:07:33 +00:00
|
|
|
"libc",
|
2020-11-05 15:58:23 +00:00
|
|
|
"measureme",
|
2021-05-03 20:59:35 +00:00
|
|
|
"memmap2",
|
2021-02-10 01:52:54 +00:00
|
|
|
"parking_lot",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_graphviz",
|
2019-10-11 14:28:02 +00:00
|
|
|
"rustc-ap-rustc_index",
|
2020-09-05 19:03:27 +00:00
|
|
|
"rustc-ap-rustc_macros",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_serialize",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-hash",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon",
|
|
|
|
"rustc-rayon-core",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-08-15 00:45:09 +00:00
|
|
|
"stable_deref_trait",
|
2020-05-21 13:39:52 +00:00
|
|
|
"stacker",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tempfile",
|
|
|
|
"tracing",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_errors"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "5f85ba19cca320ad797e3a29c35cab9bddfff0e7adbde336a436249e54cee7b1"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"annotate-snippets",
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
|
|
|
"rustc-ap-rustc_data_structures",
|
2020-12-05 15:40:24 +00:00
|
|
|
"rustc-ap-rustc_lint_defs",
|
2020-09-05 19:03:27 +00:00
|
|
|
"rustc-ap-rustc_macros",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_serialize",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"termcolor",
|
2020-02-12 14:47:31 +00:00
|
|
|
"termize",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tracing",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
2020-02-12 14:47:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_feature"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-02-12 14:47:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "97d538adab96b8b2b1ca9fcd4c8c47d4e23e862a23d1a38b6c15cd8fd52b34b1"
|
2020-02-12 14:47:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"rustc-ap-rustc_data_structures",
|
|
|
|
"rustc-ap-rustc_span",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_fs_util"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-06-15 09:43:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "8ad6f13d240944fa8f360d2f3b849a7cadaec75e477829e7dde61e838deda83d"
|
2020-06-15 09:43:39 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_graphviz"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-02-12 14:47:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "08b3451153cc5828c02cc4f1a0df146d25ac4b3382a112e25fd9d3f5bff15cdc"
|
2020-02-12 14:47:31 +00:00
|
|
|
|
2019-10-11 14:28:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_index"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-10-11 14:28:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "cd39a9f01b442c629bdff5778cb3dd29b7c2ea4afe62d5ab61d216bd1b556692"
|
2019-10-11 14:28:02 +00:00
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2020-09-05 19:03:27 +00:00
|
|
|
"rustc-ap-rustc_macros",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_serialize",
|
2019-10-11 14:28:02 +00:00
|
|
|
]
|
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_lexer"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "a5de290c44a90e671d2cd730062b9ef73d11155da7e44e7741d633e1e51e616e"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"unicode-xid",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
2019-07-30 11:00:27 +00:00
|
|
|
|
2020-12-05 15:40:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_lint_defs"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-12-05 15:40:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "69570b4beb61088926b131579865bbe70d124d30778c46307a62ec8b310ae462"
|
2020-12-05 15:40:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"rustc-ap-rustc_ast",
|
|
|
|
"rustc-ap-rustc_data_structures",
|
|
|
|
"rustc-ap-rustc_macros",
|
|
|
|
"rustc-ap-rustc_serialize",
|
|
|
|
"rustc-ap-rustc_span",
|
2021-02-10 01:52:54 +00:00
|
|
|
"rustc-ap-rustc_target",
|
2020-12-05 15:40:24 +00:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_macros"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "86bd877df37f15c5a44d9679d1b5207ebc95f3943fbc336eeac670195ac58610"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-05 11:26:16 +00:00
|
|
|
"synstructure",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2020-02-12 14:47:31 +00:00
|
|
|
name = "rustc-ap-rustc_parse"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "02502d8522ba31d0bcad28a78822b68c1b6ba947a2b4aa6a2341b30594379b80"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2020-03-31 12:31:52 +00:00
|
|
|
"rustc-ap-rustc_ast",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_ast_pretty",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-ap-rustc_data_structures",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_errors",
|
|
|
|
"rustc-ap-rustc_feature",
|
|
|
|
"rustc-ap-rustc_lexer",
|
|
|
|
"rustc-ap-rustc_session",
|
|
|
|
"rustc-ap-rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tracing",
|
2020-02-12 14:47:31 +00:00
|
|
|
"unicode-normalization",
|
|
|
|
]
|
|
|
|
|
2020-06-15 09:43:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_serialize"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-06-15 09:43:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "5f741f8e9aee6323fbe127329490608a5a250cc0072ac91e684ef62518cdb1ff"
|
2020-06-15 09:43:39 +00:00
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-06-15 09:43:39 +00:00
|
|
|
]
|
|
|
|
|
2020-02-12 14:47:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-ap-rustc_session"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2020-02-12 14:47:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "dba61eca749f4fced4427ad1cc7f23342cfc6527c3bcc624e3aa56abc1f81298"
|
2020-02-12 14:47:31 +00:00
|
|
|
dependencies = [
|
2020-07-25 21:25:16 +00:00
|
|
|
"bitflags",
|
2020-04-15 02:07:33 +00:00
|
|
|
"getopts",
|
2020-02-12 14:47:31 +00:00
|
|
|
"num_cpus",
|
2020-03-31 12:31:52 +00:00
|
|
|
"rustc-ap-rustc_ast",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_data_structures",
|
|
|
|
"rustc-ap-rustc_errors",
|
|
|
|
"rustc-ap-rustc_feature",
|
|
|
|
"rustc-ap-rustc_fs_util",
|
2020-12-05 15:40:24 +00:00
|
|
|
"rustc-ap-rustc_lint_defs",
|
2020-09-05 19:03:27 +00:00
|
|
|
"rustc-ap-rustc_macros",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_serialize",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_span",
|
|
|
|
"rustc-ap-rustc_target",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tracing",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2020-02-12 14:47:31 +00:00
|
|
|
name = "rustc-ap-rustc_span"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "a642e8d6fc883f34e0778e079f8242ac40c6614a6b7a0ef61681333e847f5e62"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-12-05 15:40:24 +00:00
|
|
|
"md-5",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_arena",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_data_structures",
|
|
|
|
"rustc-ap-rustc_index",
|
|
|
|
"rustc-ap-rustc_macros",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_serialize",
|
2020-02-12 14:47:31 +00:00
|
|
|
"scoped-tls",
|
2020-12-05 15:40:24 +00:00
|
|
|
"sha-1 0.9.1",
|
|
|
|
"sha2",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tracing",
|
2020-02-12 14:47:31 +00:00
|
|
|
"unicode-width",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2020-02-12 14:47:31 +00:00
|
|
|
name = "rustc-ap-rustc_target"
|
2021-06-07 20:12:24 +00:00
|
|
|
version = "722.0.0"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-07 20:12:24 +00:00
|
|
|
checksum = "80feebd8c323b80dd73a395fa7fabba9e2098b6277670ff89c473f618ffa07de"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"rustc-ap-rustc_data_structures",
|
2019-10-11 14:28:02 +00:00
|
|
|
"rustc-ap-rustc_index",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_macros",
|
2020-06-15 09:43:39 +00:00
|
|
|
"rustc-ap-rustc_serialize",
|
2020-02-12 14:47:31 +00:00
|
|
|
"rustc-ap-rustc_span",
|
2020-09-05 19:03:27 +00:00
|
|
|
"tracing",
|
2020-02-12 14:47:31 +00:00
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
2020-10-21 20:11:11 +00:00
|
|
|
version = "0.1.18"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-21 20:11:11 +00:00
|
|
|
checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232"
|
2018-12-14 22:37:51 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2018-12-14 22:37:51 +00:00
|
|
|
]
|
2017-05-08 22:01:13 +00:00
|
|
|
|
2018-05-24 12:48:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
2020-05-27 00:19:19 +00:00
|
|
|
version = "1.1.0"
|
2018-05-24 12:48:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-27 00:19:19 +00:00
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
2018-05-24 12:48:02 +00:00
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-main"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_codegen_ssa",
|
|
|
|
"rustc_driver",
|
2021-04-04 21:07:56 +00:00
|
|
|
"tikv-jemalloc-sys",
|
|
|
|
"tikv-jemallocator",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-09-10 17:13:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-rayon"
|
2021-03-11 01:53:35 +00:00
|
|
|
version = "0.3.1"
|
2019-09-10 17:13:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-11 01:53:35 +00:00
|
|
|
checksum = "ed7d6a39f8bfd4421ce720918234d1e672b83824c91345b47c93746839cf1629"
|
2019-09-10 17:13:07 +00:00
|
|
|
dependencies = [
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2019-09-10 17:13:07 +00:00
|
|
|
"either",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon-core",
|
2019-04-25 20:50:41 +00:00
|
|
|
]
|
|
|
|
|
2019-09-10 17:13:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-rayon-core"
|
2021-03-11 01:53:35 +00:00
|
|
|
version = "0.3.1"
|
2019-09-10 17:13:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-11 01:53:35 +00:00
|
|
|
checksum = "e94187d9ea3e8c38fafdbc38acb94eafa7ce155867f6ccb13830466a0d0db8c6"
|
2019-09-10 17:13:07 +00:00
|
|
|
dependencies = [
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2021-03-11 01:53:35 +00:00
|
|
|
"crossbeam-queue",
|
|
|
|
"crossbeam-utils 0.7.2",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-09-10 17:13:07 +00:00
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
2020-12-06 14:07:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-semver"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5be1bdc7edf596692617627bbfeaba522131b18e06ca4df2b6b689e3c5d5ce84"
|
|
|
|
|
2019-02-07 11:08:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-alloc"
|
2019-09-09 20:01:05 +00:00
|
|
|
version = "1.99.0"
|
2019-02-07 11:08:05 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"alloc",
|
2019-02-07 11:08:05 +00:00
|
|
|
]
|
|
|
|
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-core"
|
2019-09-09 20:01:05 +00:00
|
|
|
version = "1.99.0"
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"core",
|
std: Depend directly on crates.io crates
Ever since we added a Cargo-based build system for the compiler the
standard library has always been a little special, it's never been able
to depend on crates.io crates for runtime dependencies. This has been a
result of various limitations, namely that Cargo doesn't understand that
crates from crates.io depend on libcore, so Cargo tries to build crates
before libcore is finished.
I had an idea this afternoon, however, which lifts the strategy
from #52919 to directly depend on crates.io crates from the standard
library. After all is said and done this removes a whopping three
submodules that we need to manage!
The basic idea here is that for any crate `std` depends on it adds an
*optional* dependency on an empty crate on crates.io, in this case named
`rustc-std-workspace-core`. This crate is overridden via `[patch]` in
this repository to point to a local crate we write, and *that* has a
`path` dependency on libcore.
Note that all `no_std` crates also depend on `compiler_builtins`, but if
we're not using submodules we can publish `compiler_builtins` to
crates.io and all crates can depend on it anyway! The basic strategy
then looks like:
* The standard library (or some transitive dep) decides to depend on a
crate `foo`.
* The standard library adds
```toml
[dependencies]
foo = { version = "0.1", features = ['rustc-dep-of-std'] }
```
* The crate `foo` has an optional dependency on `rustc-std-workspace-core`
* The crate `foo` has an optional dependency on `compiler_builtins`
* The crate `foo` has a feature `rustc-dep-of-std` which activates these
crates and any other necessary infrastructure in the crate.
A sample commit for `dlmalloc` [turns out to be quite simple][commit].
After that all `no_std` crates should largely build "as is" and still be
publishable on crates.io! Notably they should be able to continue to use
stable Rust if necessary, since the `rename-dependency` feature of Cargo
is soon stabilizing.
As a proof of concept, this commit removes the `dlmalloc`,
`libcompiler_builtins`, and `libc` submodules from this repository. Long
thorns in our side these are now gone for good and we can directly
depend on crates.io! It's hoped that in the long term we can bring in
other crates as necessary, but for now this is largely intended to
simply make it easier to manage these crates and remove submodules.
This should be a transparent non-breaking change for all users, but one
possible stickler is that this almost for sure breaks out-of-tree
`std`-building tools like `xargo` and `cargo-xbuild`. I think it should
be relatively easy to get them working, however, as all that's needed is
an entry in the `[patch]` section used to build the standard library.
Hopefully we can work with these tools to solve this problem!
[commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-20 05:52:50 +00:00
|
|
|
]
|
|
|
|
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-std"
|
2019-09-09 20:01:05 +00:00
|
|
|
version = "1.99.0"
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
|
2018-07-31 21:16:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-workspace-hack"
|
|
|
|
version = "1.0.0"
|
|
|
|
dependencies = [
|
2020-11-05 15:58:23 +00:00
|
|
|
"byteorder",
|
2021-04-23 23:09:40 +00:00
|
|
|
"crossbeam-utils 0.8.3",
|
2020-12-05 17:08:33 +00:00
|
|
|
"libc",
|
2020-12-23 20:18:15 +00:00
|
|
|
"libz-sys",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2021-04-24 01:00:46 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-01 14:11:15 +00:00
|
|
|
"syn",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-07-31 21:16:55 +00:00
|
|
|
]
|
|
|
|
|
2017-07-08 17:46:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_apfloat"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2017-07-08 17:46:43 +00:00
|
|
|
]
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_arena"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-03-11 01:53:35 +00:00
|
|
|
"rustc_data_structures",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-06-02 17:03:40 +00:00
|
|
|
]
|
|
|
|
|
2020-02-29 17:16:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-05-06 13:46:01 +00:00
|
|
|
"bitflags",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_lexer",
|
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-02-29 17:16:26 +00:00
|
|
|
]
|
|
|
|
|
2019-12-22 17:12:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_lowering"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_index",
|
2019-12-24 21:42:56 +00:00
|
|
|
"rustc_session",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-22 17:12:56 +00:00
|
|
|
]
|
|
|
|
|
2020-01-05 09:58:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_passes"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-09-12 06:24:09 +00:00
|
|
|
"itertools 0.9.0",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2020-01-05 09:58:44 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 10:11:39 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 09:58:44 +00:00
|
|
|
"rustc_parse",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-05 09:58:44 +00:00
|
|
|
]
|
|
|
|
|
2020-01-11 16:02:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_pretty"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_span",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-11 16:02:46 +00:00
|
|
|
]
|
|
|
|
|
2020-01-11 12:15:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_attr"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
2020-08-10 19:27:48 +00:00
|
|
|
"rustc_lexer",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2019-12-29 13:53:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_builtin_macros"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_expand",
|
|
|
|
"rustc_feature",
|
2020-11-14 11:47:14 +00:00
|
|
|
"rustc_lexer",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_parse",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_parse_format",
|
2020-01-05 09:47:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
]
|
|
|
|
|
2018-05-08 13:10:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_codegen_llvm"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-10-22 15:51:35 +00:00
|
|
|
"bitflags",
|
2021-02-13 11:17:15 +00:00
|
|
|
"cstr",
|
2019-10-22 15:51:35 +00:00
|
|
|
"libc",
|
2020-11-05 15:58:23 +00:00
|
|
|
"measureme",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc-demangle",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_codegen_ssa",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-06 03:04:35 +00:00
|
|
|
"rustc_feature",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_fs_util",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_incremental",
|
|
|
|
"rustc_index",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_llvm",
|
2021-05-29 20:49:59 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-06 03:04:35 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-20 23:16:30 +00:00
|
|
|
"snap",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2018-05-08 13:10:16 +00:00
|
|
|
]
|
|
|
|
|
2018-10-01 16:07:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_codegen_ssa"
|
|
|
|
version = "0.0.0"
|
2018-10-23 15:01:35 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"cc",
|
2021-02-04 02:41:30 +00:00
|
|
|
"itertools 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"jobserver",
|
|
|
|
"libc",
|
2021-04-22 18:53:33 +00:00
|
|
|
"object 0.25.2",
|
2020-07-17 22:01:27 +00:00
|
|
|
"pathdiff",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_apfloat",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_fs_util",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_incremental",
|
2019-09-26 05:30:10 +00:00
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-11-12 13:22:16 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-03-12 23:07:58 +00:00
|
|
|
"rustc_symbol_mangling",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
|
|
|
"tempfile",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2018-10-23 15:01:35 +00:00
|
|
|
]
|
2018-10-01 16:07:04 +00:00
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_data_structures"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2019-11-11 22:15:36 +00:00
|
|
|
"bitflags",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2021-04-23 23:09:40 +00:00
|
|
|
"crossbeam-utils 0.8.3",
|
2020-05-27 05:05:09 +00:00
|
|
|
"ena",
|
2019-08-15 00:45:09 +00:00
|
|
|
"indexmap",
|
|
|
|
"jobserver",
|
2020-04-10 20:42:19 +00:00
|
|
|
"libc",
|
2020-11-05 15:58:23 +00:00
|
|
|
"measureme",
|
2021-03-29 09:18:52 +00:00
|
|
|
"memmap2",
|
2021-02-10 01:52:54 +00:00
|
|
|
"parking_lot",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-hash",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon",
|
|
|
|
"rustc-rayon-core",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_graphviz",
|
2019-09-25 19:09:51 +00:00
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-08-15 00:45:09 +00:00
|
|
|
"stable_deref_trait",
|
2020-03-14 18:13:55 +00:00
|
|
|
"stacker",
|
2020-08-09 01:05:50 +00:00
|
|
|
"tempfile",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_driver"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-01-11 02:07:05 +00:00
|
|
|
"atty",
|
2020-04-10 20:42:19 +00:00
|
|
|
"libc",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-23 10:48:48 +00:00
|
|
|
"rustc_codegen_ssa",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2019-11-15 18:41:50 +00:00
|
|
|
"rustc_error_codes",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_errors",
|
2019-11-30 01:34:18 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-23 19:59:19 +00:00
|
|
|
"rustc_hir_pretty",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_interface",
|
2019-10-09 13:53:13 +00:00
|
|
|
"rustc_lint",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_mir",
|
2021-03-07 14:09:39 +00:00
|
|
|
"rustc_mir_build",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_parse",
|
2019-07-16 17:08:32 +00:00
|
|
|
"rustc_plugin_impl",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_save_analysis",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2021-03-07 14:09:39 +00:00
|
|
|
"rustc_typeck",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
2020-08-04 11:48:05 +00:00
|
|
|
"tracing-tree",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-11-11 21:47:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_error_codes"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_errors"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"annotate-snippets",
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
|
|
|
"rustc_data_structures",
|
2020-08-13 19:41:52 +00:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"termcolor",
|
2020-01-29 00:13:48 +00:00
|
|
|
"termize",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-12-29 13:53:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_expand"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-05 10:11:39 +00:00
|
|
|
"rustc_ast_passes",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
|
|
|
"rustc_lexer",
|
2020-12-07 23:55:00 +00:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_parse",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-05 09:47:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
]
|
|
|
|
|
2019-11-29 23:23:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_feature"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-11-30 01:34:18 +00:00
|
|
|
"rustc_data_structures",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-11-29 23:23:38 +00:00
|
|
|
]
|
|
|
|
|
2018-08-03 21:31:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_fs_util"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_graphviz"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2019-12-25 02:51:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_hir"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_data_structures",
|
2020-12-30 23:07:41 +00:00
|
|
|
"rustc_feature",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-25 02:51:27 +00:00
|
|
|
]
|
|
|
|
|
2020-03-23 19:59:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_hir_pretty"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_ast_pretty",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_incremental"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2021-05-25 18:48:59 +00:00
|
|
|
"rustc_errors",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_fs_util",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_graphviz",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-11-12 13:22:16 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-09-25 19:09:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_index"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-09-25 19:09:51 +00:00
|
|
|
]
|
|
|
|
|
2020-01-06 19:13:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_infer"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_graphviz",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-06 19:13:24 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 19:30:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_interface"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 20:42:19 +00:00
|
|
|
"libc",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon",
|
2020-11-18 18:02:31 +00:00
|
|
|
"rustc-rayon-core",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_ast_lowering",
|
2020-01-05 09:58:44 +00:00
|
|
|
"rustc_ast_passes",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_builtin_macros",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_codegen_llvm",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_codegen_ssa",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_expand",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_hir",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_incremental",
|
2020-10-11 08:34:13 +00:00
|
|
|
"rustc_index",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_lint",
|
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_mir",
|
2020-01-05 15:46:44 +00:00
|
|
|
"rustc_mir_build",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_parse",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_passes",
|
2019-07-16 17:08:32 +00:00
|
|
|
"rustc_plugin_impl",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_privacy",
|
2021-01-19 19:40:16 +00:00
|
|
|
"rustc_query_impl",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_resolve",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-05 08:40:16 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-03-12 23:07:58 +00:00
|
|
|
"rustc_symbol_mangling",
|
2019-10-11 21:48:16 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_traits",
|
2020-11-19 20:32:37 +00:00
|
|
|
"rustc_ty_utils",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_typeck",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tempfile",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-12-08 19:30:23 +00:00
|
|
|
]
|
|
|
|
|
2019-05-06 08:53:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_lexer"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
"expect-test",
|
2020-08-01 14:11:15 +00:00
|
|
|
"unicode-xid",
|
2019-05-06 08:53:40 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_lint"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2020-01-09 10:18:47 +00:00
|
|
|
"rustc_errors",
|
2019-11-29 23:23:38 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-09-26 05:38:33 +00:00
|
|
|
"rustc_index",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-10-20 20:25:42 +00:00
|
|
|
"rustc_parse_format",
|
2020-05-25 23:21:25 +00:00
|
|
|
"rustc_serialize",
|
2019-11-12 17:09:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-02 12:02:22 +00:00
|
|
|
"unicode-security",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-08-13 19:41:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_lint_defs"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_macros",
|
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_span",
|
2020-09-01 21:12:38 +00:00
|
|
|
"rustc_target",
|
2020-08-13 19:41:52 +00:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_llvm"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"build_helper",
|
|
|
|
"cc",
|
2019-12-12 15:51:19 +00:00
|
|
|
"libc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-03-01 00:22:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-05 11:26:16 +00:00
|
|
|
"synstructure",
|
2019-03-01 00:22:10 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_metadata"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 20:42:19 +00:00
|
|
|
"libc",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_expand",
|
2020-09-12 23:58:17 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-23 19:59:19 +00:00
|
|
|
"rustc_hir_pretty",
|
2019-09-26 05:30:10 +00:00
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-20 23:16:30 +00:00
|
|
|
"snap",
|
2019-08-15 00:45:09 +00:00
|
|
|
"stable_deref_trait",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-03-29 13:24:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_middle"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2020-03-03 16:25:03 +00:00
|
|
|
"chalk-ir",
|
2020-11-05 15:58:23 +00:00
|
|
|
"measureme",
|
2020-03-29 13:24:45 +00:00
|
|
|
"polonius-engine",
|
|
|
|
"rustc-rayon-core",
|
|
|
|
"rustc_apfloat",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
|
|
|
"rustc_query_system",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-11-18 15:37:10 +00:00
|
|
|
"rustc_type_ir",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-03-29 13:24:45 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_mir"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-11-03 05:32:48 +00:00
|
|
|
"coverage_test_macros",
|
2019-08-15 00:45:09 +00:00
|
|
|
"either",
|
2020-10-26 13:34:29 +00:00
|
|
|
"gsgdt",
|
2020-09-12 06:24:09 +00:00
|
|
|
"itertools 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"polonius-engine",
|
2020-08-28 01:10:57 +00:00
|
|
|
"regex",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_apfloat",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_graphviz",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-09-26 05:30:10 +00:00
|
|
|
"rustc_index",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2019-07-21 11:50:39 +00:00
|
|
|
"rustc_lexer",
|
2019-11-10 18:30:19 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-01-05 15:46:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_mir_build"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_apfloat",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2020-01-05 15:46:44 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-20 21:23:07 +00:00
|
|
|
"rustc_session",
|
2020-01-05 15:46:44 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-05 15:46:44 +00:00
|
|
|
]
|
|
|
|
|
2019-10-15 20:48:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_parse"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-11-29 23:23:38 +00:00
|
|
|
"rustc_feature",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_lexer",
|
2020-01-05 09:47:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-11-23 14:33:40 +00:00
|
|
|
"unicode-normalization",
|
2019-10-15 20:48:13 +00:00
|
|
|
]
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_parse_format"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_lexer",
|
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_passes"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2021-03-14 21:39:13 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-10-04 14:46:57 +00:00
|
|
|
"rustc_index",
|
2020-12-01 22:41:12 +00:00
|
|
|
"rustc_lexer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-09-26 00:00:00 +00:00
|
|
|
"rustc_serialize",
|
2020-01-02 11:54:43 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-10-04 14:46:57 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2019-07-16 17:08:32 +00:00
|
|
|
name = "rustc_plugin_impl"
|
2016-09-02 08:55:29 +00:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-31 20:25:16 +00:00
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-01-09 06:52:01 +00:00
|
|
|
"rustc_lint",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_privacy"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2019-12-31 20:25:16 +00:00
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-11-22 09:37:37 +00:00
|
|
|
"rustc_trait_selection",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_typeck",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-01-19 19:40:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_query_impl"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"measureme",
|
|
|
|
"rustc-rayon-core",
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
|
|
|
"rustc_middle",
|
|
|
|
"rustc_query_system",
|
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2020-03-18 09:25:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_query_system"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"parking_lot",
|
2020-03-19 13:13:31 +00:00
|
|
|
"rustc-rayon-core",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-03-18 09:25:22 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-11-12 19:48:37 +00:00
|
|
|
"rustc_session",
|
2020-03-19 13:13:31 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-03-18 09:25:22 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_resolve"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_ast_lowering",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_expand",
|
2019-11-30 01:34:18 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-06-20 18:59:29 +00:00
|
|
|
"rustc_index",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2019-12-24 21:42:56 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_save_analysis"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rls-data",
|
|
|
|
"rls-span",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-24 01:44:41 +00:00
|
|
|
"rustc_hir_pretty",
|
2020-08-29 09:38:15 +00:00
|
|
|
"rustc_lexer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_json",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_serialize"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
2020-07-18 19:14:50 +00:00
|
|
|
"rustc_macros",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-06-02 17:03:40 +00:00
|
|
|
]
|
|
|
|
|
2019-11-12 13:17:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_session"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-06-14 00:00:00 +00:00
|
|
|
"bitflags",
|
2020-04-10 20:42:19 +00:00
|
|
|
"getopts",
|
2019-11-29 21:05:28 +00:00
|
|
|
"num_cpus",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-11-12 13:17:33 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-11-29 21:05:28 +00:00
|
|
|
"rustc_feature",
|
|
|
|
"rustc_fs_util",
|
2020-08-13 19:41:52 +00:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-11-29 21:05:28 +00:00
|
|
|
"rustc_target",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_span"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-12-05 15:40:24 +00:00
|
|
|
"md-5",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"scoped-tls",
|
2020-10-13 15:41:06 +00:00
|
|
|
"sha-1 0.9.1",
|
|
|
|
"sha2",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
"unicode-width",
|
2019-11-12 13:17:33 +00:00
|
|
|
]
|
|
|
|
|
2020-03-12 23:07:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_symbol_mangling"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"punycode",
|
|
|
|
"rustc-demangle",
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_hir",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-12 23:07:58 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-03-12 23:07:58 +00:00
|
|
|
]
|
|
|
|
|
2017-12-08 19:18:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_target"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"rustc_data_structures",
|
2019-09-26 05:38:33 +00:00
|
|
|
"rustc_index",
|
2019-11-09 21:27:52 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2017-12-08 19:18:21 +00:00
|
|
|
]
|
|
|
|
|
2018-09-07 07:12:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_tools_util"
|
2019-06-08 20:15:22 +00:00
|
|
|
version = "0.2.0"
|
2019-01-05 14:40:10 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_tools_util"
|
2019-05-26 17:21:54 +00:00
|
|
|
version = "0.2.0"
|
2019-06-08 20:15:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "b725dadae9fabc488df69a287f5a99c5eaf5d10853842a8a3dfac52476f544ee"
|
2018-09-07 07:12:06 +00:00
|
|
|
|
2020-02-11 18:53:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_trait_selection"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_infer",
|
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_parse_format",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-02-11 18:53:40 +00:00
|
|
|
]
|
|
|
|
|
2018-02-25 15:58:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_traits"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-08-04 22:35:37 +00:00
|
|
|
"chalk-engine",
|
2020-03-03 16:25:03 +00:00
|
|
|
"chalk-ir",
|
|
|
|
"chalk-solve",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2021-01-01 18:44:31 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-03 16:25:03 +00:00
|
|
|
"rustc_index",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2018-02-25 15:58:54 +00:00
|
|
|
]
|
|
|
|
|
2020-01-13 12:40:30 +00:00
|
|
|
[[package]]
|
2020-11-19 20:32:37 +00:00
|
|
|
name = "rustc_ty_utils"
|
2020-01-13 12:40:30 +00:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_data_structures",
|
2020-04-10 02:13:29 +00:00
|
|
|
"rustc_errors",
|
2020-01-13 12:40:30 +00:00
|
|
|
"rustc_hir",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2020-01-13 12:40:30 +00:00
|
|
|
"rustc_span",
|
2020-02-12 16:24:32 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-13 12:40:30 +00:00
|
|
|
]
|
2018-02-25 15:58:54 +00:00
|
|
|
|
2020-11-18 15:37:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_type_ir"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
2020-12-12 14:25:55 +00:00
|
|
|
"rustc_macros",
|
2020-11-18 15:37:10 +00:00
|
|
|
"rustc_serialize",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_typeck"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-07-09 02:39:26 +00:00
|
|
|
"rustc_hir_pretty",
|
2019-09-26 05:38:33 +00:00
|
|
|
"rustc_index",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2020-08-27 10:00:21 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-27 13:01:37 +00:00
|
|
|
"rustc_ty_utils",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2018-05-11 12:11:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
2021-04-06 11:20:48 +00:00
|
|
|
version = "0.3.3"
|
2018-05-11 12:11:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-06 11:20:48 +00:00
|
|
|
checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee"
|
2018-05-11 12:11:06 +00:00
|
|
|
dependencies = [
|
2021-04-06 11:20:48 +00:00
|
|
|
"semver 0.11.0",
|
2018-05-11 12:11:06 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2020-08-27 10:50:28 +00:00
|
|
|
"expect-test",
|
2020-09-12 06:24:09 +00:00
|
|
|
"itertools 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"minifier",
|
2020-09-14 00:15:01 +00:00
|
|
|
"pulldown-cmark 0.8.0",
|
2020-10-13 13:46:34 +00:00
|
|
|
"regex",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon",
|
2021-01-25 21:23:43 +00:00
|
|
|
"rustdoc-json-types",
|
2019-06-29 17:30:45 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tempfile",
|
2020-12-28 18:28:29 +00:00
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
2017-07-23 02:01:58 +00:00
|
|
|
]
|
|
|
|
|
2021-01-25 21:23:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-json-types"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
2021-03-04 23:45:57 +00:00
|
|
|
"serde_json",
|
2021-01-25 21:23:43 +00:00
|
|
|
]
|
|
|
|
|
2018-02-05 22:43:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-themes"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2017-07-23 02:01:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-tool"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustdoc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-01-14 17:47:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustfix"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.1"
|
2020-01-14 17:47:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "f2c50b74badcddeb8f7652fa8323ce440b95286f8e4b64ebfd871c609672704e"
|
2020-01-14 17:47:04 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2019-06-18 12:15:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustfmt-config_proc_macro"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.2.0"
|
2019-06-18 12:15:19 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2020-08-01 14:11:15 +00:00
|
|
|
"syn",
|
2019-06-18 12:15:19 +00:00
|
|
|
]
|
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustfmt-nightly"
|
2021-04-11 16:42:01 +00:00
|
|
|
version = "1.4.37"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"annotate-snippets",
|
2020-06-15 09:43:39 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytecount",
|
2020-08-17 15:21:44 +00:00
|
|
|
"cargo_metadata 0.8.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"derive-new",
|
|
|
|
"diff",
|
|
|
|
"dirs",
|
2019-09-24 18:06:56 +00:00
|
|
|
"env_logger 0.6.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"getopts",
|
|
|
|
"ignore",
|
2020-08-17 15:21:44 +00:00
|
|
|
"itertools 0.8.2",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"rustc-workspace-hack",
|
|
|
|
"rustfmt-config_proc_macro",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-11-12 18:14:48 +00:00
|
|
|
"structopt",
|
2020-08-17 15:21:44 +00:00
|
|
|
"term 0.6.1",
|
2020-06-15 09:43:39 +00:00
|
|
|
"thiserror",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-segmentation",
|
|
|
|
"unicode-width",
|
|
|
|
"unicode_categories",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cb5d2a036dc6d2d8fd16fde3498b04306e29bd193bf306a57427019b823d5acd"
|
|
|
|
|
2018-08-21 17:23:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.5"
|
2018-08-21 17:23:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
2018-08-21 17:23:47 +00:00
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.6"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi-util",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.19"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
2019-02-26 10:15:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scoped-tls"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
|
2019-02-26 10:15:52 +00:00
|
|
|
|
2019-07-25 13:57:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.1.0"
|
2019-07-25 13:57:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
2019-07-25 13:57:25 +00:00
|
|
|
|
2020-12-16 17:03:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c1759c2e3c8580017a484a7ac56d3abc5a6c1feadf88db2f3633f12ae4268c69"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"security-framework-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f99b9d5e26d2a71633cc4f2ebae7cc9f874044e0c351a27e17892d76dce5678b"
|
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2020-10-23 21:47:58 +00:00
|
|
|
"semver-parser 0.7.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2020-05-26 00:56:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "394cec28fa623e00903caf7ba4fa6fb9a0e260280bb8cdbbba029611108a0190"
|
|
|
|
dependencies = [
|
2020-10-23 21:47:58 +00:00
|
|
|
"semver-parser 0.7.0",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6"
|
|
|
|
dependencies = [
|
2021-02-21 13:32:38 +00:00
|
|
|
"semver-parser 0.10.2",
|
2020-05-26 00:56:32 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-06-02 03:38:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2021-06-04 04:12:25 +00:00
|
|
|
version = "1.0.3"
|
2021-06-02 03:38:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 04:12:25 +00:00
|
|
|
checksum = "5f3aac57ee7f3272d8395c6e4f502f434f0e289fcd62876f70daa008c20dcabe"
|
2021-06-02 03:38:39 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver-parser"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2020-10-23 21:47:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver-parser"
|
2021-02-21 13:32:38 +00:00
|
|
|
version = "0.10.2"
|
2020-10-23 21:47:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-21 13:32:38 +00:00
|
|
|
checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7"
|
2020-10-23 21:47:58 +00:00
|
|
|
dependencies = [
|
|
|
|
"pest",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2021-03-26 19:29:08 +00:00
|
|
|
version = "1.0.125"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 19:29:08 +00:00
|
|
|
checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171"
|
2018-12-17 18:23:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_derive",
|
2018-12-17 18:23:04 +00:00
|
|
|
]
|
2017-04-29 23:11:58 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2021-03-26 19:29:08 +00:00
|
|
|
version = "1.0.125"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 19:29:08 +00:00
|
|
|
checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
2017-02-20 00:20:57 +00:00
|
|
|
|
2019-08-20 07:32:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_ignored"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.2"
|
2019-08-20 07:32:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "1c2c7d39d14f2f2ea82239de71594782f186fd03501ac81f0ce08e674819ff2f"
|
2019-08-20 07:32:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-02-20 00:20:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2020-10-23 21:47:58 +00:00
|
|
|
version = "1.0.59"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 21:47:58 +00:00
|
|
|
checksum = "dcac07dbffa1c65e7f816ab9eba78eb142c6d44410f4eeba1e26e4f5dfa56b95"
|
2017-02-20 00:20:57 +00:00
|
|
|
dependencies = [
|
2021-01-16 01:34:15 +00:00
|
|
|
"indexmap",
|
2019-08-15 00:45:09 +00:00
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2017-02-20 00:20:57 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_repr"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.6"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "2dc6b7951b17b051f3210b063f12cc17320e2fe30ae05b0fe2a3abb068551c76"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.8.2"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2020-10-01 15:15:12 +00:00
|
|
|
"block-buffer 0.7.3",
|
|
|
|
"digest 0.8.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"fake-simd",
|
2020-10-01 15:15:12 +00:00
|
|
|
"opaque-debug 0.2.3",
|
|
|
|
]
|
|
|
|
|
2020-10-13 15:41:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "170a36ea86c864a3f16dd2687712dd6646f7019f301e57537c7f4dc9f5916770"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.9.0",
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"cpuid-bool",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
|
|
|
]
|
|
|
|
|
2020-10-01 15:15:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
|
|
|
version = "0.9.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2933378ddfeda7ea26f48c555bdad8bb446bf8a3d17832dc83e380d444cfb8c1"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.9.0",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-10-01 15:15:12 +00:00
|
|
|
"cpuid-bool",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sharded-slab"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.1.1"
|
2020-07-24 18:42:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3"
|
2020-07-24 18:42:00 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "shell-escape"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.5"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2021-02-23 01:05:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "shlex"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d"
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
2020-08-17 15:21:44 +00:00
|
|
|
name = "signal-hook-registry"
|
2021-03-12 13:33:02 +00:00
|
|
|
version = "1.2.2"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 13:33:02 +00:00
|
|
|
checksum = "ce32ea0c6c56d5eacaeb814fbed9960547021d3edd010ded1425f180536b20ab"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.3.3"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sized-chunks"
|
2021-03-12 13:33:02 +00:00
|
|
|
version = "0.6.4"
|
2019-05-23 20:27:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 13:33:02 +00:00
|
|
|
checksum = "65e65d6a9f13cd78f361ea5a2cf53a45d67cdda421ba0316b9be101560f3d207"
|
2019-05-23 20:27:49 +00:00
|
|
|
dependencies = [
|
2019-11-25 16:14:07 +00:00
|
|
|
"bitmaps",
|
2019-08-15 00:45:09 +00:00
|
|
|
"typenum",
|
2019-05-23 20:27:49 +00:00
|
|
|
]
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
|
2019-01-21 15:32:43 +00:00
|
|
|
|
2019-11-04 14:59:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2021-02-14 14:37:30 +00:00
|
|
|
version = "1.6.1"
|
2019-11-04 14:59:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-14 14:37:30 +00:00
|
|
|
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
|
2019-11-04 14:59:09 +00:00
|
|
|
|
2020-08-20 23:16:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "snap"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da73c8f77aebc0e40c300b93f0a5f1bece7a248a36eee287d4e095f35c7b7d6e"
|
|
|
|
|
2017-06-26 16:26:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2021-05-11 19:03:59 +00:00
|
|
|
version = "0.3.19"
|
2017-06-26 16:26:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 19:03:59 +00:00
|
|
|
checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e"
|
2017-06-26 16:26:15 +00:00
|
|
|
dependencies = [
|
2021-05-11 19:03:59 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2017-06-26 16:26:15 +00:00
|
|
|
]
|
|
|
|
|
2021-05-01 11:50:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9e3dfc207c526015c632472a77be09cf1b6e46866581aecae5cc38fb4235dea2"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2017-04-26 21:22:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "stable_deref_trait"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.2.0"
|
2017-04-26 21:22:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
2017-04-26 21:22:45 +00:00
|
|
|
|
2018-11-02 15:14:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "stacker"
|
2020-09-20 17:07:52 +00:00
|
|
|
version = "0.1.12"
|
2018-11-02 15:14:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-20 17:07:52 +00:00
|
|
|
checksum = "21ccb4c06ec57bc82d0f610f1a2963d7648700e43a6f513e564b9c89f7991786"
|
2018-11-02 15:14:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2018-11-02 15:14:24 +00:00
|
|
|
"libc",
|
|
|
|
"psm",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-11-02 15:14:24 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "std"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"addr2line",
|
2019-08-15 00:45:09 +00:00
|
|
|
"alloc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"dlmalloc",
|
|
|
|
"fortanix-sgx-abi",
|
2020-10-05 08:50:51 +00:00
|
|
|
"hashbrown 0.11.0",
|
2019-10-20 07:55:10 +00:00
|
|
|
"hermit-abi",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"miniz_oxide",
|
2021-04-22 18:53:33 +00:00
|
|
|
"object 0.22.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"panic_abort",
|
|
|
|
"panic_unwind",
|
|
|
|
"profiler_builtins",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"rustc-demangle",
|
2021-04-02 08:11:46 +00:00
|
|
|
"std_detect",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unwind",
|
2020-01-08 15:33:57 +00:00
|
|
|
"wasi",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-04-02 08:11:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "std_detect"
|
|
|
|
version = "0.1.5"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "string_cache"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.8.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "2940c75beb4e3bf3a494cef919a747a2cb81e52571e212bfbd185074add7208a"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"new_debug_unreachable",
|
|
|
|
"phf_shared",
|
|
|
|
"precomputed-hash",
|
|
|
|
"serde",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "string_cache_codegen"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.5.1"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "f24c8e5e19d22a726626f1a5e16fe15b132dcf21d10177fa5a45ce7962996b97"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strip-ansi-escapes"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "9d63676e2abafa709460982ddc02a3bb586b6d15a49b75c212e06edd3933acee"
|
2019-05-23 20:27:49 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"vte",
|
2019-05-23 20:27:49 +00:00
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.8.0"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 08:28:11 +00:00
|
|
|
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "structopt"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.16"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "de5472fb24d7e80ae84a7801b7978f95a19ec32cb1876faea59ab711eb901976"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"clap",
|
2020-08-17 15:21:44 +00:00
|
|
|
"lazy_static",
|
2019-11-12 18:14:48 +00:00
|
|
|
"structopt-derive",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "structopt-derive"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.9"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "1e0eb37335aeeebe51be42e2dc07f031163fbabfa6ac67d7ea68b5c2f68d5f99"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"heck",
|
|
|
|
"proc-macro-error",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-06-18 12:15:19 +00:00
|
|
|
]
|
|
|
|
|
2018-04-21 21:06:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strum"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.18.0"
|
2018-04-21 21:06:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "57bd81eb48f4c437cadc685403cad539345bf703d78e63707418431cecd4522b"
|
2018-04-21 21:06:13 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.18.0"
|
2018-04-21 21:06:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c"
|
2018-04-21 21:06:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"heck",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2018-04-02 15:43:55 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2021-03-26 19:29:08 +00:00
|
|
|
version = "1.0.65"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 19:29:08 +00:00
|
|
|
checksum = "f3a1d708c221c5a612956ef9f75b37e454e88d1f7b899fbd3a18d4252012d663"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-xid",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2019-10-04 12:43:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "synstructure"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.12.4"
|
2019-10-04 12:43:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"
|
2019-10-04 12:43:23 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"unicode-xid",
|
2019-10-04 12:43:23 +00:00
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tar"
|
2021-06-02 03:38:39 +00:00
|
|
|
version = "0.4.35"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 03:38:39 +00:00
|
|
|
checksum = "7d779dc6aeff029314570f666ec83f19df7280bb36ef338442cfa8c604021b80"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"filetime",
|
|
|
|
"libc",
|
|
|
|
"xattr",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2018-03-29 07:34:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2021-04-23 22:49:47 +00:00
|
|
|
version = "3.2.0"
|
2018-03-29 07:34:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 22:49:47 +00:00
|
|
|
checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
|
2018-03-29 07:34:55 +00:00
|
|
|
dependencies = [
|
2021-04-23 22:49:47 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-04-23 22:49:47 +00:00
|
|
|
"rand 0.8.3",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2019-08-15 00:45:09 +00:00
|
|
|
"remove_dir_all",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-03-29 07:34:55 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tendril"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.1"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "707feda9f2582d5d680d733e38755547a3e8fb471e7ba11452ecfd9ce93a5d3b"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"futf",
|
|
|
|
"mac",
|
|
|
|
"utf-8",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2019-04-07 05:48:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
|
|
|
version = "0.0.0"
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"core",
|
|
|
|
"std",
|
|
|
|
]
|
2019-04-07 05:48:59 +00:00
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.6.1"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"dirs",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
|
|
|
|
dependencies = [
|
|
|
|
"dirs-next",
|
|
|
|
"rustversion",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
2018-07-26 00:25:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2020-07-29 18:02:05 +00:00
|
|
|
version = "1.1.0"
|
2018-07-26 00:25:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-29 18:02:05 +00:00
|
|
|
checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f"
|
2018-07-26 00:25:12 +00:00
|
|
|
dependencies = [
|
2020-07-29 18:02:05 +00:00
|
|
|
"winapi-util",
|
2018-07-26 00:25:12 +00:00
|
|
|
]
|
|
|
|
|
2020-01-29 00:13:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termize"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1706be6b564323ce7092f5f7e6b118a14c8ef7ed0e69c8c5329c914a9f101295"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2020-01-29 00:13:48 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "test"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
"core",
|
2019-08-15 00:45:09 +00:00
|
|
|
"getopts",
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
"libc",
|
|
|
|
"panic_abort",
|
|
|
|
"panic_unwind",
|
2019-08-15 00:45:09 +00:00
|
|
|
"proc_macro",
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
"std",
|
2019-04-07 05:48:59 +00:00
|
|
|
"term 0.0.0",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tester"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0639d10d8f4615f223a57275cf40f9bdb7cfbb806bcb7f7cc56e3beb55a576eb"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"getopts",
|
|
|
|
"libc",
|
|
|
|
"num_cpus",
|
|
|
|
"term 0.7.0",
|
|
|
|
]
|
|
|
|
|
2017-06-27 17:33:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.11.0"
|
2017-06-27 17:33:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 08:28:11 +00:00
|
|
|
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
|
2017-06-27 17:33:32 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2017-06-27 17:33:32 +00:00
|
|
|
]
|
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.20"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.20"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-11-26 11:06:30 +00:00
|
|
|
]
|
|
|
|
|
2020-02-12 14:47:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14"
|
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2020-02-12 14:47:31 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tidy"
|
|
|
|
version = "0.1.0"
|
2018-02-23 01:52:56 +00:00
|
|
|
dependencies = [
|
2020-08-21 08:24:58 +00:00
|
|
|
"cargo_metadata 0.11.1",
|
2021-04-23 23:09:40 +00:00
|
|
|
"crossbeam-utils 0.8.3",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
|
|
|
"walkdir",
|
2018-02-23 01:52:56 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2020-08-11 23:49:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tier-check"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2021-04-04 21:07:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tikv-jemalloc-sys"
|
|
|
|
version = "0.4.1+5.2.1-patched"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8a26331b05179d4cb505c8d6814a7e18d298972f0a551b0e3cefccff927f86d3"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"fs_extra",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tikv-jemallocator"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3c14a5a604eb8715bc5785018a37d00739b180bcf609916ddf4393d33d49ccdf"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"tikv-jemalloc-sys",
|
|
|
|
]
|
|
|
|
|
2018-01-25 04:01:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.43"
|
2018-01-25 04:01:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
|
2018-01-25 04:01:42 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-01-25 04:01:42 +00:00
|
|
|
]
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
2020-08-17 23:07:09 +00:00
|
|
|
version = "0.3.4"
|
2020-08-17 15:21:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 23:07:09 +00:00
|
|
|
checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117"
|
2020-08-17 15:21:44 +00:00
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2021-02-10 01:52:54 +00:00
|
|
|
version = "0.2.24"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "099837d3464c16a808060bb3f02263b412f6fafcb5d01c533d309985fbeebe48"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytes",
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures-core",
|
|
|
|
"iovec",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-02-10 01:52:54 +00:00
|
|
|
"memchr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"mio",
|
|
|
|
"mio-named-pipes",
|
|
|
|
"mio-uds",
|
|
|
|
"num_cpus",
|
2021-02-10 01:52:54 +00:00
|
|
|
"pin-project-lite 0.1.11",
|
|
|
|
"signal-hook-registry",
|
2019-12-04 17:40:16 +00:00
|
|
|
"slab",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio-macros",
|
|
|
|
"winapi 0.3.9",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-02-10 01:52:54 +00:00
|
|
|
name = "tokio-macros"
|
|
|
|
version = "0.2.6"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-02-10 01:52:54 +00:00
|
|
|
name = "tokio-util"
|
|
|
|
version = "0.3.1"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-10 01:52:54 +00:00
|
|
|
checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytes",
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2021-02-10 01:52:54 +00:00
|
|
|
"pin-project-lite 0.1.11",
|
|
|
|
"tokio",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2019-03-29 03:13:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
2020-10-14 22:16:47 +00:00
|
|
|
version = "0.5.7"
|
2019-03-29 03:13:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 22:16:47 +00:00
|
|
|
checksum = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645"
|
2019-03-29 03:13:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-03-29 03:13:13 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 01:52:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
|
|
|
|
|
2020-05-27 05:05:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.1.25"
|
2020-05-27 05:05:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "01ebdc2bb4498ab1ab5f5b73c5803825e60199229ccba0698170e3be0e7f959f"
|
2020-05-27 05:05:09 +00:00
|
|
|
dependencies = [
|
2021-02-28 00:00:00 +00:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"pin-project-lite 0.2.4",
|
2020-05-27 05:05:09 +00:00
|
|
|
"tracing-attributes",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.1.13"
|
2020-05-27 05:05:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "a8a9bd1db7706f2373a190b0d067146caa39350c486f3d455b0e33b431f94c07"
|
2020-05-27 05:05:09 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-27 05:05:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2020-10-07 22:45:59 +00:00
|
|
|
version = "0.1.17"
|
2020-05-27 05:05:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-07 22:45:59 +00:00
|
|
|
checksum = "f50de3927f93d202783f4513cda820ab47ef17f624b03c096e86ef00c67e6b5f"
|
2020-05-27 05:05:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2020-08-04 22:35:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-log"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.1.2"
|
2020-08-04 22:35:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3"
|
2020-08-04 22:35:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-serde"
|
2020-10-04 00:45:12 +00:00
|
|
|
version = "0.1.2"
|
2020-08-04 22:35:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-04 00:45:12 +00:00
|
|
|
checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b"
|
2020-08-04 22:35:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-subscriber"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.2.16"
|
2020-07-24 18:42:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "8ab8966ac3ca27126141f7999361cc97dd6fb4b71da04c02044fa9045d98bb96"
|
2020-07-24 18:42:00 +00:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term 0.12.1",
|
2020-08-04 22:35:37 +00:00
|
|
|
"chrono",
|
2020-07-24 18:42:00 +00:00
|
|
|
"lazy_static",
|
|
|
|
"matchers",
|
2021-02-10 01:52:54 +00:00
|
|
|
"parking_lot",
|
2020-07-24 18:42:00 +00:00
|
|
|
"regex",
|
2020-08-04 22:35:37 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-07-24 18:42:00 +00:00
|
|
|
"sharded-slab",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-17 15:21:44 +00:00
|
|
|
"thread_local",
|
2020-10-07 22:45:59 +00:00
|
|
|
"tracing",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing-core",
|
2020-08-04 22:35:37 +00:00
|
|
|
"tracing-log",
|
|
|
|
"tracing-serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-tree"
|
2021-03-09 16:44:51 +00:00
|
|
|
version = "0.1.9"
|
2020-08-04 22:35:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-09 16:44:51 +00:00
|
|
|
checksum = "1712b40907f8d9bc2bc66763ab61dec914b7123d7149e59feb0d4e2a95fc4967"
|
2020-08-04 22:35:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term 0.12.1",
|
|
|
|
"atty",
|
|
|
|
"termcolor",
|
|
|
|
"tracing",
|
2021-02-28 00:00:00 +00:00
|
|
|
"tracing-log",
|
2020-08-04 22:35:37 +00:00
|
|
|
"tracing-subscriber",
|
2020-07-24 18:42:00 +00:00
|
|
|
]
|
|
|
|
|
2018-12-03 01:33:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2020-05-18 22:41:57 +00:00
|
|
|
version = "1.12.0"
|
2018-12-03 01:33:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-18 22:41:57 +00:00
|
|
|
checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
|
2018-12-03 01:33:20 +00:00
|
|
|
|
2020-01-13 21:40:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ucd-parse"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.8"
|
2020-01-13 21:40:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "5269f8d35df6b8b60758343a6d742ecf09e4bca13faee32af5503aebd1e11b7c"
|
2020-01-13 21:40:19 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2020-01-13 21:40:19 +00:00
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ucd-trie"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
|
2019-01-19 02:39:37 +00:00
|
|
|
|
2019-04-20 17:03:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicase"
|
2020-02-13 17:39:40 +00:00
|
|
|
version = "2.6.0"
|
2019-04-20 17:03:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-13 17:39:40 +00:00
|
|
|
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
|
2019-04-20 17:03:59 +00:00
|
|
|
dependencies = [
|
2020-02-13 17:39:40 +00:00
|
|
|
"version_check",
|
2019-04-20 17:03:59 +00:00
|
|
|
]
|
|
|
|
|
2020-01-13 21:40:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bdd"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"ucd-parse",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
2017-06-27 17:33:32 +00:00
|
|
|
version = "0.3.4"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
|
2017-02-20 00:20:57 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"matches",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.13"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977"
|
2019-11-23 14:33:40 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"tinyvec",
|
2019-11-23 14:33:40 +00:00
|
|
|
]
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2020-01-02 12:02:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-script"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.2"
|
2020-01-02 12:02:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "79bf4d5fc96546fdb73f9827097810bbda93b11a6770ff3a54e1f445d4135787"
|
2020-01-02 12:02:22 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-security"
|
2020-06-23 11:45:13 +00:00
|
|
|
version = "0.0.5"
|
2020-01-02 12:02:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-23 11:45:13 +00:00
|
|
|
checksum = "5d87c28edc5b263377e448d6cdcb935c06b95413d8013ba6fae470558ccab18f"
|
2020-01-02 12:02:22 +00:00
|
|
|
dependencies = [
|
2020-04-25 01:38:31 +00:00
|
|
|
"unicode-normalization",
|
2020-01-02 12:02:22 +00:00
|
|
|
"unicode-script",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
2019-11-12 18:14:48 +00:00
|
|
|
version = "1.6.0"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-12 18:14:48 +00:00
|
|
|
checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.8"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
|
bootstrap: Merge the libtest build step with libstd
Since its inception rustbuild has always worked in three stages: one for
libstd, one for libtest, and one for rustc. These three stages were
architected around crates.io dependencies, where rustc wants to depend
on crates.io crates but said crates don't explicitly depend on libstd,
requiring a sysroot assembly step in the middle. This same logic was
applied for libtest where libtest wants to depend on crates.io crates
(`getopts`) but `getopts` didn't say that it depended on std, so it
needed `std` built ahead of time.
Lots of time has passed since the inception of rustbuild, however,
and we've since gotten to the point where even `std` itself is depending
on crates.io crates (albeit with some wonky configuration). This
commit applies the same logic to the two dependencies that the `test`
crate pulls in from crates.io, `getopts` and `unicode-width`. Over the
many years since rustbuild's inception `unicode-width` was the only
dependency picked up by the `test` crate, so the extra configuration
necessary to get crates building in this crate graph is unlikely to be
too much of a burden on developers.
After this patch it means that there are now only two build phasese of
rustbuild, one for libstd and one for rustc. The libtest/libproc_macro
build phase is all lumped into one now with `std`.
This was originally motivated by rust-lang/cargo#7216 where Cargo was
having to deal with synthesizing dependency edges but this commit makes
them explicit in this repository.
2019-08-16 15:29:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
"rustc-std-workspace-std",
|
|
|
|
]
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2019-07-21 11:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-xid"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.2.1"
|
2019-07-21 11:50:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
|
2019-07-21 11:50:39 +00:00
|
|
|
|
2019-02-18 09:32:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode_categories"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
|
2019-02-18 09:32:58 +00:00
|
|
|
|
2021-02-24 06:42:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unified-diff"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "496a3d395ed0c30f411ceace4a91f7d93b148fb5a9b383d5d4cff7850f048d5f"
|
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
]
|
|
|
|
|
2017-06-12 19:35:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unstable-book-gen"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"num-traits",
|
|
|
|
"tidy",
|
2017-06-12 19:35:47 +00:00
|
|
|
]
|
|
|
|
|
2017-09-25 04:13:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unwind"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
2017-09-25 04:13:29 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2018-12-08 11:06:54 +00:00
|
|
|
version = "1.7.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"idna 0.1.5",
|
|
|
|
"matches",
|
|
|
|
"percent-encoding 1.0.1",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2019-08-01 00:44:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2021-05-12 00:39:51 +00:00
|
|
|
version = "2.2.2"
|
2019-08-01 00:44:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-12 00:39:51 +00:00
|
|
|
checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
|
2019-08-01 00:44:39 +00:00
|
|
|
dependencies = [
|
2021-05-12 00:39:51 +00:00
|
|
|
"form_urlencoded",
|
2019-08-15 00:45:09 +00:00
|
|
|
"idna 0.2.0",
|
|
|
|
"matches",
|
2019-11-12 18:14:48 +00:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-08-01 00:44:39 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf-8"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.7.5"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf8parse"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d"
|
2019-05-23 20:27:49 +00:00
|
|
|
|
2017-06-15 02:33:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.2.10"
|
2017-06-15 02:33:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c"
|
2017-06-15 02:33:06 +00:00
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vec_map"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.8.2"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2018-09-17 07:20:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vergen"
|
2021-04-06 11:20:48 +00:00
|
|
|
version = "5.1.0"
|
2018-09-17 07:20:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-06 11:20:48 +00:00
|
|
|
checksum = "dfbc87f9a7a9d61b15d51d1d3547284f67b6b4f1494ce3fc5814c101f35a5183"
|
2018-09-17 07:20:03 +00:00
|
|
|
dependencies = [
|
2021-04-06 11:20:48 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"chrono",
|
2021-04-06 11:20:48 +00:00
|
|
|
"enum-iterator",
|
|
|
|
"getset",
|
|
|
|
"git2",
|
|
|
|
"rustversion",
|
|
|
|
"thiserror",
|
2018-09-17 07:20:03 +00:00
|
|
|
]
|
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
2021-05-11 19:03:59 +00:00
|
|
|
version = "0.9.3"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 19:03:59 +00:00
|
|
|
checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
|
2019-11-25 16:14:07 +00:00
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vte"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "4f42f536e22f7fcbb407639765c8fd78707a33109301f834a594758bedd6e8cf"
|
2019-05-23 20:27:49 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"utf8parse",
|
2019-05-23 20:27:49 +00:00
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.3.1"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"same-file",
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi-util",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
2019-11-25 17:27:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
2019-08-29 17:13:15 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.9"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-build"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2018-01-08 21:56:22 +00:00
|
|
|
|
2018-08-21 17:23:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2020-07-29 18:02:05 +00:00
|
|
|
version = "0.1.5"
|
2018-08-21 17:23:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-29 18:02:05 +00:00
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
2018-08-21 17:23:47 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"winapi 0.3.9",
|
2018-08-21 17:23:47 +00:00
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
2018-01-08 21:56:22 +00:00
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ws2_32-sys"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi 0.2.8",
|
|
|
|
"winapi-build",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "xattr"
|
2018-07-17 16:04:22 +00:00
|
|
|
version = "0.2.2"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2020-08-01 14:11:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "xml5ever"
|
|
|
|
version = "0.16.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b1b52e6e8614d4a58b8e70cf51ec0cc21b256ad8206708bcff8139b5bbd6a59"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"mac",
|
|
|
|
"markup5ever",
|
|
|
|
"time",
|
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "xz2"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.6"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "c179869f34fc7c01830d3ce7ea2086bc3a07e0d35289b667d0a8bf910258926c"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"lzma-sys",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-merge-keys"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.1"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "fd236a7dc9bb598f349fe4a8754f49181fee50284daa15cd1ba652d722280004"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-11-26 11:06:30 +00:00
|
|
|
"thiserror",
|
2020-08-17 15:21:44 +00:00
|
|
|
"yaml-rust 0.4.4",
|
2019-11-26 11:06:30 +00:00
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992"
|
2019-11-26 11:06:30 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.4"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "39f0c922f1a334134dc2f7a8b67dc5d25f0735263feec974345ff706bcf20b0d"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
2021-05-03 20:59:35 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "yansi-term"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1"
|
|
|
|
dependencies = [
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|