2019-02-04 10:31:48 -06:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-03-26 14:29:08 -05:00
|
|
|
version = 3
|
|
|
|
|
2018-12-08 05:06:54 -06: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 16:22:37 -05:00
|
|
|
name = "addr2line"
|
2021-08-18 21:44:24 -05:00
|
|
|
version = "0.16.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 16:22:37 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 21:44:24 -05:00
|
|
|
checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd"
|
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 16:22:37 -05:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
2021-12-03 08:24:05 -06:00
|
|
|
"gimli 0.25.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 16:22:37 -05:00
|
|
|
"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 05:06:54 -06:00
|
|
|
|
2022-01-06 23:32:58 -06:00
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
|
|
|
version = "0.7.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.0",
|
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2019-05-16 00:27:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2021-09-09 04:21:41 -05:00
|
|
|
version = "0.7.18"
|
2019-05-16 00:27:39 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-09-09 04:21:41 -05:00
|
|
|
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
|
2019-05-16 00:27:39 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"memchr",
|
2019-05-16 00:27:39 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "alloc"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05: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 17:39:19 -06:00
|
|
|
"rand 0.7.3",
|
2020-08-01 09:11:15 -05:00
|
|
|
"rand_xorshift",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ammonia"
|
2022-01-24 11:19:21 -06:00
|
|
|
version = "3.1.3"
|
2019-06-18 22:36:47 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-24 11:19:21 -06:00
|
|
|
checksum = "b74b175af97d1aecc1add0878b1cbfcbf3bd4c22d7713eeb6d597da23e29bc0d"
|
2019-06-18 22:36:47 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"html5ever",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"maplit",
|
2020-08-01 09:11:15 -05:00
|
|
|
"markup5ever_rcdom",
|
2019-08-14 19:45:09 -05:00
|
|
|
"matches",
|
|
|
|
"tendril",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2019-06-18 22:36:47 -05:00
|
|
|
]
|
|
|
|
|
2020-05-08 15:48:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "annotate-snippets"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d78ea013094e5ea606b1c05fe35f1dd7ea1eb1ea259908d040b25bd5ec677ee5"
|
2021-05-03 15:59:35 -05:00
|
|
|
dependencies = [
|
|
|
|
"yansi-term",
|
|
|
|
]
|
2020-05-08 15:48:26 -05:00
|
|
|
|
2017-02-07 17:13:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
2018-03-16 05:37:14 -05:00
|
|
|
version = "0.11.0"
|
2017-02-07 17:13:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
|
2018-03-16 05:37:14 -05:00
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-03-16 05:37:14 -05:00
|
|
|
]
|
2017-02-07 17:13:57 -06:00
|
|
|
|
2020-07-24 13:42:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
|
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2020-07-24 13:42:00 -05:00
|
|
|
]
|
|
|
|
|
2020-01-14 11:47:04 -06:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2021-12-03 08:24:05 -06:00
|
|
|
version = "1.0.51"
|
2020-01-14 11:47:04 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 08:24:05 -06:00
|
|
|
checksum = "8b26702f315f53b6071259e15dd9d64528213b44d61de1ec926eca7715d62203"
|
2020-01-14 11:47:04 -06:00
|
|
|
|
2021-01-15 19:34:15 -06:00
|
|
|
[[package]]
|
|
|
|
name = "array_tool"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8f8cb5d814eb646a863c4f24978cff2880c4be96ad8cde2c0f0678732902e271"
|
|
|
|
|
2021-04-21 23:40:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5a2f58b0bb10c380af2b26e57212856b8c9a59e0925b4c20f4a174a49734eaf7"
|
2020-07-13 19:31:54 -05:00
|
|
|
|
2022-01-03 11:18:46 -06:00
|
|
|
[[package]]
|
|
|
|
name = "askama"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4d8f355701c672c2ba3d718acbd213f740beea577cc4eae66accdffe15be1882"
|
|
|
|
dependencies = [
|
|
|
|
"askama_derive",
|
|
|
|
"askama_escape",
|
|
|
|
"askama_shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "askama_derive"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "84704cab5b7ae0fd3a9f78ee5eb7b27f3749df445f04623db6633459ae283267"
|
|
|
|
dependencies = [
|
|
|
|
"askama_shared",
|
|
|
|
"proc-macro2",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "askama_escape"
|
|
|
|
version = "0.10.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9a1bb320f97e6edf9f756bf015900038e43c7700e059688e5724a928c8f3b8d5"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "askama_shared"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dae03eebba55a2697a376e58b573a29fe36893157173ac8df312ad85f3c0e012"
|
|
|
|
dependencies = [
|
|
|
|
"askama_escape",
|
|
|
|
"nom",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-01-17 10:36:39 -06:00
|
|
|
"serde",
|
2022-01-03 11:18:46 -06:00
|
|
|
"syn",
|
2022-01-17 10:36:39 -06:00
|
|
|
"toml",
|
2022-01-03 11:18:46 -06:00
|
|
|
]
|
|
|
|
|
2017-06-14 21:33:06 -05:00
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2020-05-25 23:35:21 -05:00
|
|
|
version = "0.2.14"
|
2017-06-14 21:33:06 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-25 23:35:21 -05:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2017-06-14 21:33:06 -05:00
|
|
|
dependencies = [
|
2020-05-25 23:35:21 -05:00
|
|
|
"hermit-abi",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2017-06-14 21:33:06 -05:00
|
|
|
]
|
|
|
|
|
2020-03-26 08:10:35 -05:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
|
|
|
|
|
2017-09-08 14:08:01 -05:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2019-10-13 18:37:55 -05:00
|
|
|
version = "1.2.1"
|
2017-09-08 14:08:01 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-10-13 18:37:55 -05:00
|
|
|
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
2017-09-08 14:08:01 -05:00
|
|
|
|
2019-11-25 10:14:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "bitmaps"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "2.1.0"
|
2019-11-25 10:14:07 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
|
2019-11-25 10:14:07 -06:00
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
2020-03-31 00:17:15 -05:00
|
|
|
version = "0.7.3"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 00:17:15 -05:00
|
|
|
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
|
|
|
|
dependencies = [
|
|
|
|
"block-padding",
|
|
|
|
"byte-tools",
|
|
|
|
"byteorder",
|
2021-03-12 07:33:02 -06:00
|
|
|
"generic-array 0.12.4",
|
2020-10-01 10:15:12 -05: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 00:17:15 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-padding"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"byte-tools",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "bootstrap"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"build_helper",
|
|
|
|
"cc",
|
|
|
|
"cmake",
|
|
|
|
"filetime",
|
|
|
|
"getopts",
|
2019-12-18 09:52:10 -06:00
|
|
|
"ignore",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
|
|
|
"num_cpus",
|
2021-06-08 16:09:56 -05:00
|
|
|
"once_cell",
|
2021-07-01 11:18:02 -05:00
|
|
|
"opener",
|
2019-08-14 19:45:09 -05:00
|
|
|
"pretty_assertions",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"time",
|
2019-08-20 12:46:35 -05:00
|
|
|
"toml",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2017-01-24 16:37:04 -06:00
|
|
|
]
|
|
|
|
|
2019-05-16 00:27:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.2.13"
|
2019-05-16 00:27:39 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931"
|
2019-05-16 00:27:39 -05:00
|
|
|
dependencies = [
|
2021-06-22 18:19:24 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"memchr",
|
2021-06-22 18:19:24 -05:00
|
|
|
"regex-automata",
|
2019-05-16 00:27:39 -05:00
|
|
|
]
|
|
|
|
|
2017-01-24 16:37:04 -06:00
|
|
|
[[package]]
|
|
|
|
name = "build-manifest"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-09-18 07:40:01 -05:00
|
|
|
"anyhow",
|
2020-09-24 07:13:40 -05:00
|
|
|
"flate2",
|
2020-10-01 10:15:12 -05:00
|
|
|
"hex 0.4.2",
|
2020-10-12 10:47:37 -05:00
|
|
|
"num_cpus",
|
2020-10-01 10:15:12 -05:00
|
|
|
"rayon",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2019-11-03 04:47:07 -06:00
|
|
|
"serde_json",
|
2020-10-01 10:15:12 -05:00
|
|
|
"sha2",
|
2020-09-24 07:13:40 -05:00
|
|
|
"tar",
|
2019-08-20 12:46:35 -05:00
|
|
|
"toml",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "build_helper"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2021-08-26 04:26:03 -05:00
|
|
|
[[package]]
|
|
|
|
name = "bump-stage0"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"curl",
|
2021-08-26 05:35:32 -05:00
|
|
|
"indexmap",
|
2021-08-26 04:26:03 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "byte-tools"
|
2020-03-31 00:17:15 -05:00
|
|
|
version = "0.3.1"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 00:17:15 -05:00
|
|
|
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
|
2019-01-18 20:39:37 -06:00
|
|
|
|
2018-10-08 12:39:09 -05:00
|
|
|
[[package]]
|
|
|
|
name = "bytecount"
|
2021-03-17 15:34:05 -05:00
|
|
|
version = "0.6.2"
|
2018-10-08 12:39:09 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 15:34:05 -05:00
|
|
|
checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e"
|
2018-10-08 12:39:09 -05:00
|
|
|
dependencies = [
|
2021-03-17 15:34:05 -05:00
|
|
|
"packed_simd_2",
|
2018-10-08 12:39:09 -05:00
|
|
|
]
|
|
|
|
|
2017-09-18 09:18:23 -05:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.3.4"
|
2017-09-18 09:18:23 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
|
2017-09-18 09:18:23 -05:00
|
|
|
|
2019-01-21 09:32:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "1.0.1"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
|
2019-01-21 09:32:43 -06:00
|
|
|
|
2018-09-20 16:37:53 -05:00
|
|
|
[[package]]
|
|
|
|
name = "bytesize"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.1"
|
2018-09-20 16:37:53 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "81a18687293a1546b67c246452202bbbf143d239cb43494cc163da14979082da"
|
2018-09-20 16:37:53 -05:00
|
|
|
|
2021-10-20 00:15:20 -05:00
|
|
|
[[package]]
|
|
|
|
name = "camino"
|
|
|
|
version = "1.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "52d74260d9bf6944e2208aa46841b4b8f0d7ffc0849a06837b2f510337f86b2b"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo"
|
2022-01-18 21:14:33 -06:00
|
|
|
version = "0.61.0"
|
2017-07-18 20:32:12 -05:00
|
|
|
dependencies = [
|
2020-01-14 11:47:04 -06:00
|
|
|
"anyhow",
|
2019-08-14 19:45:09 -05:00
|
|
|
"atty",
|
|
|
|
"bytesize",
|
2021-10-20 00:15:20 -05:00
|
|
|
"cargo-platform 0.1.2",
|
2019-08-14 19:45:09 -05:00
|
|
|
"cargo-test-macro",
|
2019-09-16 13:45:40 -05:00
|
|
|
"cargo-test-support",
|
2021-03-26 14:29:08 -05:00
|
|
|
"cargo-util",
|
2022-02-01 05:26:30 -06:00
|
|
|
"clap 3.0.13",
|
2019-08-14 19:45:09 -05:00
|
|
|
"crates-io",
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2019-08-14 19:45:09 -05:00
|
|
|
"curl",
|
|
|
|
"curl-sys",
|
2021-07-15 21:27:11 -05:00
|
|
|
"env_logger 0.9.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"filetime",
|
|
|
|
"flate2",
|
|
|
|
"fwdansi",
|
|
|
|
"git2",
|
|
|
|
"git2-curl",
|
|
|
|
"glob",
|
2020-08-17 10:21:44 -05:00
|
|
|
"hex 0.4.2",
|
2019-09-08 03:28:11 -05:00
|
|
|
"home",
|
2020-08-17 10:21:44 -05:00
|
|
|
"humantime 2.0.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"ignore",
|
|
|
|
"im-rc",
|
2021-09-08 09:32:16 -05:00
|
|
|
"itertools 0.10.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"jobserver",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"lazycell",
|
|
|
|
"libc",
|
|
|
|
"libgit2-sys",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"num_cpus",
|
2021-07-01 11:18:02 -05:00
|
|
|
"opener",
|
2019-08-14 19:45:09 -05:00
|
|
|
"openssl",
|
2021-10-11 23:48:27 -05:00
|
|
|
"os_info",
|
2019-11-12 12:14:48 -06:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"pretty_env_logger",
|
|
|
|
"rustc-workspace-hack",
|
2021-06-12 14:11:50 -05:00
|
|
|
"rustfix 0.6.0",
|
2021-06-03 23:12:25 -05:00
|
|
|
"semver 1.0.3",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2019-09-08 03:28:11 -05:00
|
|
|
"serde_ignored",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde_json",
|
2021-03-31 19:45:03 -05:00
|
|
|
"shell-escape",
|
2019-08-14 19:45:09 -05:00
|
|
|
"strip-ansi-escapes",
|
|
|
|
"tar",
|
|
|
|
"tempfile",
|
|
|
|
"termcolor",
|
2022-01-25 18:24:21 -06:00
|
|
|
"toml_edit",
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-width",
|
2020-08-01 09:11:15 -05:00
|
|
|
"unicode-xid",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2019-08-14 19:45:09 -05:00
|
|
|
"walkdir",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
2020-12-16 11:03:33 -06: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",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2020-12-16 11:03:33 -06:00
|
|
|
]
|
|
|
|
|
2020-06-01 13:17:20 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-miri"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"directories",
|
|
|
|
"rustc-workspace-hack",
|
2022-01-05 03:41:22 -06:00
|
|
|
"rustc_version",
|
2020-06-01 13:17:20 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"vergen",
|
|
|
|
]
|
|
|
|
|
2019-09-24 13:06:56 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-platform"
|
2021-08-10 15:40:56 -05:00
|
|
|
version = "0.1.2"
|
2019-09-24 13:06:56 -05:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-10-20 00:15:20 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-platform"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-06-12 09:37:30 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-test-macro"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2019-09-16 13:45:40 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-test-support"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-03-26 14:29:08 -05:00
|
|
|
"anyhow",
|
2019-09-16 13:45:40 -05:00
|
|
|
"cargo-test-macro",
|
2021-03-26 14:29:08 -05:00
|
|
|
"cargo-util",
|
2019-09-16 13:45:40 -05:00
|
|
|
"filetime",
|
|
|
|
"flate2",
|
|
|
|
"git2",
|
|
|
|
"glob",
|
2021-09-08 09:32:16 -05:00
|
|
|
"itertools 0.10.1",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-09-16 13:45:40 -05:00
|
|
|
"remove_dir_all",
|
|
|
|
"serde_json",
|
|
|
|
"tar",
|
2021-06-22 18:19:24 -05:00
|
|
|
"termcolor",
|
2022-01-25 18:24:21 -06:00
|
|
|
"toml_edit",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2019-09-16 13:45:40 -05:00
|
|
|
]
|
|
|
|
|
2021-03-26 14:29:08 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-util"
|
2021-12-14 17:24:41 -06:00
|
|
|
version = "0.1.2"
|
2021-03-26 14:29:08 -05:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"core-foundation",
|
|
|
|
"crypto-hash",
|
|
|
|
"filetime",
|
|
|
|
"hex 0.4.2",
|
|
|
|
"jobserver",
|
|
|
|
"libc",
|
|
|
|
"log",
|
2021-07-21 08:17:31 -05:00
|
|
|
"miow",
|
2021-03-26 14:29:08 -05:00
|
|
|
"same-file",
|
|
|
|
"shell-escape",
|
|
|
|
"tempfile",
|
|
|
|
"walkdir",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2021-03-26 14:29:08 -05:00
|
|
|
]
|
|
|
|
|
2019-06-03 18:00:38 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
2021-10-20 00:15:20 -05:00
|
|
|
version = "0.12.0"
|
2019-06-03 18:00:38 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-20 00:15:20 -05:00
|
|
|
checksum = "d5a5f7b42f606b7f23674f6f4d877628350682bc40687d3fae65679a58d55345"
|
2019-06-03 18:00:38 -05:00
|
|
|
dependencies = [
|
2021-10-20 00:15:20 -05:00
|
|
|
"semver 0.11.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-06-03 18:00:38 -05:00
|
|
|
]
|
|
|
|
|
2020-10-23 16:47:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
2021-10-20 00:15:20 -05:00
|
|
|
version = "0.14.0"
|
2020-10-23 16:47:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-20 00:15:20 -05:00
|
|
|
checksum = "c297bd3135f558552f99a0daa180876984ea2c4ffa7470314540dff8c654109a"
|
2020-10-23 16:47:58 -05:00
|
|
|
dependencies = [
|
2021-10-20 00:15:20 -05:00
|
|
|
"camino",
|
|
|
|
"cargo-platform 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
|
|
"semver 1.0.3",
|
2020-10-23 16:47:58 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2017-02-15 16:55:26 -06:00
|
|
|
[[package]]
|
|
|
|
name = "cargotest2"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2017-09-21 20:58:35 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2021-07-13 03:58:50 -05:00
|
|
|
version = "1.0.69"
|
2017-09-21 20:58:35 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-13 03:58:50 -05:00
|
|
|
checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
|
2019-11-09 13:59:53 -06:00
|
|
|
dependencies = [
|
|
|
|
"jobserver",
|
|
|
|
]
|
2017-09-21 20:58:35 -05:00
|
|
|
|
2017-05-08 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
2020-01-08 09:33:57 -06:00
|
|
|
version = "0.1.10"
|
2017-05-08 17:01:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 09:33:57 -06:00
|
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
2019-05-15 09:30:15 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2019-05-15 09:30:15 -05:00
|
|
|
]
|
2017-05-08 17:01:13 -05:00
|
|
|
|
2020-10-11 12:51:07 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2020-03-03 10:25:03 -06:00
|
|
|
[[package]]
|
|
|
|
name = "chalk-derive"
|
2022-01-19 13:44:43 -06:00
|
|
|
version = "0.76.0"
|
2020-03-03 10:25:03 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-19 13:44:43 -06:00
|
|
|
checksum = "58c24b8052ea1e3adbb6f9ab7ba5fcc18b9d12591c042de4c833f709ce81e0e0"
|
2020-03-03 10:25:03 -06:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-05 06:26:16 -05:00
|
|
|
"synstructure",
|
2020-03-03 10:25:03 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-engine"
|
2022-01-19 13:44:43 -06:00
|
|
|
version = "0.76.0"
|
2020-03-03 10:25:03 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-19 13:44:43 -06:00
|
|
|
checksum = "0eca186b6ea9af798312f4b568fd094c82e7946ac08be5dc5fea22decc6d2ed8"
|
2020-03-03 10:25:03 -06:00
|
|
|
dependencies = [
|
2020-05-26 19:19:19 -05:00
|
|
|
"chalk-derive",
|
|
|
|
"chalk-ir",
|
2020-08-04 17:35:37 -05:00
|
|
|
"chalk-solve",
|
2020-03-03 10:25:03 -06:00
|
|
|
"rustc-hash",
|
2020-05-27 00:05:09 -05:00
|
|
|
"tracing",
|
2020-03-03 10:25:03 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-ir"
|
2022-01-19 13:44:43 -06:00
|
|
|
version = "0.76.0"
|
2020-03-03 10:25:03 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-19 13:44:43 -06:00
|
|
|
checksum = "f3cad5c3f1edd4b4a2c9bda24ae558ceb4f88336f88f944c2e35d0bfeb13c818"
|
2020-03-03 10:25:03 -06:00
|
|
|
dependencies = [
|
2021-01-01 12:44:31 -06:00
|
|
|
"bitflags",
|
2020-03-03 10:25:03 -06:00
|
|
|
"chalk-derive",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2020-03-03 10:25:03 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-solve"
|
2022-01-19 13:44:43 -06:00
|
|
|
version = "0.76.0"
|
2020-03-03 10:25:03 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-19 13:44:43 -06:00
|
|
|
checksum = "94533188d3452bc72cbd5618d166f45fc7646b674ad3fe9667d557bc25236dee"
|
2020-03-03 10:25:03 -06:00
|
|
|
dependencies = [
|
|
|
|
"chalk-derive",
|
|
|
|
"chalk-ir",
|
2020-05-27 00:05:09 -05:00
|
|
|
"ena",
|
2022-01-19 13:44:43 -06:00
|
|
|
"indexmap",
|
2021-12-21 11:00:30 -06:00
|
|
|
"itertools 0.10.1",
|
2020-03-03 10:25:03 -06:00
|
|
|
"petgraph",
|
|
|
|
"rustc-hash",
|
2020-05-27 00:05:09 -05:00
|
|
|
"tracing",
|
2020-08-04 17:35:37 -05:00
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
2020-03-03 10:25:03 -06:00
|
|
|
]
|
|
|
|
|
2018-01-24 22:01:42 -06:00
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
2021-02-27 18:00:00 -06:00
|
|
|
version = "0.4.19"
|
2018-01-24 22:01:42 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-27 18:00:00 -06:00
|
|
|
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
|
2018-01-24 22:01:42 -06:00
|
|
|
dependencies = [
|
2021-02-27 18:00:00 -06:00
|
|
|
"libc",
|
2019-08-14 19:45:09 -05:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
"time",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-01-24 22:01:42 -06:00
|
|
|
]
|
|
|
|
|
2017-02-07 17:13:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2021-12-06 22:33:00 -06:00
|
|
|
version = "2.34.0"
|
2017-02-07 17:13:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 22:33:00 -06:00
|
|
|
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
|
2017-02-07 17:13:57 -06:00
|
|
|
dependencies = [
|
2021-12-06 22:33:00 -06:00
|
|
|
"ansi_term 0.12.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"atty",
|
|
|
|
"bitflags",
|
2022-01-18 21:14:33 -06:00
|
|
|
"strsim 0.8.0",
|
|
|
|
"textwrap 0.11.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-width",
|
|
|
|
"vec_map",
|
2019-11-26 05:06:30 -06:00
|
|
|
"yaml-rust 0.3.5",
|
2017-02-07 17:13:57 -06:00
|
|
|
]
|
|
|
|
|
2022-01-18 21:14:33 -06:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2022-02-01 05:26:30 -06:00
|
|
|
version = "3.0.13"
|
2022-01-18 21:14:33 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-01 05:26:30 -06:00
|
|
|
checksum = "08799f92c961c7a1cf0cc398a9073da99e21ce388b46372c37f3191f2f3eed3e"
|
2022-01-18 21:14:33 -06:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"bitflags",
|
|
|
|
"indexmap",
|
|
|
|
"os_str_bytes",
|
|
|
|
"strsim 0.10.0",
|
|
|
|
"termcolor",
|
|
|
|
"textwrap 0.14.2",
|
|
|
|
]
|
|
|
|
|
2017-12-06 02:25:29 -06:00
|
|
|
[[package]]
|
|
|
|
name = "clippy"
|
2022-01-13 06:18:51 -06:00
|
|
|
version = "0.1.60"
|
2017-12-06 02:25:29 -06:00
|
|
|
dependencies = [
|
2021-11-02 08:19:31 -05:00
|
|
|
"cargo_metadata 0.14.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"clippy_lints",
|
2021-09-08 09:32:16 -05:00
|
|
|
"clippy_utils",
|
2021-09-09 04:21:41 -05:00
|
|
|
"compiletest_rs",
|
2019-08-14 19:45:09 -05:00
|
|
|
"derive-new",
|
2021-06-03 02:06:49 -05:00
|
|
|
"filetime",
|
2022-01-13 06:18:51 -06:00
|
|
|
"futures 0.3.12",
|
2021-09-08 09:32:16 -05:00
|
|
|
"if_chain",
|
|
|
|
"itertools 0.10.1",
|
2021-12-06 05:33:55 -06:00
|
|
|
"parking_lot",
|
2021-03-25 13:29:39 -05:00
|
|
|
"quote",
|
2021-03-12 08:31:11 -06:00
|
|
|
"regex",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc-workspace-hack",
|
2019-05-26 12:21:54 -05:00
|
|
|
"rustc_tools_util 0.2.0",
|
2021-11-02 08:19:31 -05:00
|
|
|
"semver 1.0.3",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2021-03-25 13:29:39 -05:00
|
|
|
"syn",
|
2019-12-02 16:09:48 -06:00
|
|
|
"tempfile",
|
2021-04-06 06:20:48 -05:00
|
|
|
"tester",
|
2022-01-13 06:18:51 -06:00
|
|
|
"tokio",
|
2017-12-06 02:25:29 -06:00
|
|
|
]
|
|
|
|
|
2021-04-14 08:20:49 -05:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_dev"
|
|
|
|
version = "0.0.1"
|
|
|
|
dependencies = [
|
|
|
|
"bytecount",
|
2021-12-06 05:33:55 -06:00
|
|
|
"cargo_metadata 0.14.0",
|
2022-01-18 21:14:33 -06:00
|
|
|
"clap 2.34.0",
|
2021-10-21 06:13:17 -05:00
|
|
|
"indoc",
|
2021-09-09 04:21:41 -05:00
|
|
|
"itertools 0.10.1",
|
2021-07-01 11:18:02 -05:00
|
|
|
"opener",
|
2021-04-14 08:20:49 -05:00
|
|
|
"regex",
|
|
|
|
"shell-escape",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2018-05-19 06:18:02 -05:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_lints"
|
2022-01-13 06:18:51 -06:00
|
|
|
version = "0.1.60"
|
2018-05-11 07:11:06 -05:00
|
|
|
dependencies = [
|
2021-11-02 08:19:31 -05:00
|
|
|
"cargo_metadata 0.14.0",
|
2021-02-25 04:26:23 -06:00
|
|
|
"clippy_utils",
|
2019-08-14 19:45:09 -05:00
|
|
|
"if_chain",
|
2021-09-09 04:21:41 -05:00
|
|
|
"itertools 0.10.1",
|
2022-01-19 04:02:24 -06:00
|
|
|
"pulldown-cmark",
|
2019-08-14 19:45:09 -05:00
|
|
|
"quine-mc_cluskey",
|
|
|
|
"regex-syntax",
|
2020-12-06 08:07:59 -06:00
|
|
|
"rustc-semver",
|
2021-11-02 08:19:31 -05:00
|
|
|
"semver 1.0.3",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2021-05-06 05:21:46 -05:00
|
|
|
"serde_json",
|
2019-08-20 12:46:35 -05:00
|
|
|
"toml",
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-normalization",
|
2021-07-01 11:18:02 -05:00
|
|
|
"unicode-script",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2018-05-11 07:11:06 -05:00
|
|
|
]
|
|
|
|
|
2021-02-25 04:26:23 -06:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_utils"
|
2022-01-13 06:18:51 -06:00
|
|
|
version = "0.1.60"
|
2021-02-25 04:26:23 -06:00
|
|
|
dependencies = [
|
2022-01-13 06:18:51 -06:00
|
|
|
"arrayvec",
|
2021-02-25 04:26:23 -06:00
|
|
|
"if_chain",
|
|
|
|
"rustc-semver",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cmake"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.44"
|
2016-09-02 03:55:29 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "0e56268c17a6248366d66d4a47a3381369d068cce8409bb1716ed77ea32163bb"
|
2016-09-02 03:55:29 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2018-04-25 17:11:28 -05:00
|
|
|
[[package]]
|
|
|
|
name = "colored"
|
2020-09-17 13:04:20 -05:00
|
|
|
version = "2.0.0"
|
2018-04-25 17:11:28 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-17 13:04:20 -05:00
|
|
|
checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd"
|
2018-04-25 17:11:28 -05:00
|
|
|
dependencies = [
|
2020-05-25 23:00:42 -05:00
|
|
|
"atty",
|
|
|
|
"lazy_static",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-04-25 17:11:28 -05:00
|
|
|
]
|
|
|
|
|
2022-01-25 18:24:21 -06:00
|
|
|
[[package]]
|
|
|
|
name = "combine"
|
|
|
|
version = "4.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "50b727aacc797f9fc28e355d21f34709ac4fc9adecfe470ad07b8f4464f53062"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2017-12-06 02:25:29 -06:00
|
|
|
[[package]]
|
|
|
|
name = "commoncrypto"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "d056a8586ba25a1e4d61cb090900e495952c7886786fc55f909ab2f819b69007"
|
2017-12-06 02:25:29 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"commoncrypto-sys",
|
2017-12-06 02:25:29 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "commoncrypto-sys"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "1fed34f46747aa73dfaa578069fd8279d2818ade2b55f38f22a9401c7f4083e2"
|
2017-12-06 02:25:29 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2017-06-17 14:01:18 -05:00
|
|
|
]
|
|
|
|
|
2016-10-07 01:30:38 -05:00
|
|
|
[[package]]
|
|
|
|
name = "compiler_builtins"
|
2022-01-28 11:28:06 -06:00
|
|
|
version = "0.1.67"
|
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-19 23:52:50 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-28 11:28:06 -06:00
|
|
|
checksum = "a68c69e9451f1df4b215c9588c621670c12286b53e60fb5ec4b59aaa1138d18e"
|
2016-10-07 01:30:38 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"rustc-std-workspace-core",
|
2016-10-07 01:30:38 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "compiletest"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-02-24 00:42:42 -06:00
|
|
|
"colored",
|
2019-08-14 19:45:09 -05:00
|
|
|
"diff",
|
|
|
|
"getopts",
|
2020-07-28 08:22:21 -05:00
|
|
|
"glob",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2021-07-21 08:17:31 -05:00
|
|
|
"miow",
|
2019-08-14 19:45:09 -05:00
|
|
|
"regex",
|
2021-06-10 22:39:05 -05:00
|
|
|
"rustfix 0.6.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-10-19 19:00:00 -05:00
|
|
|
"tracing-subscriber",
|
2021-02-24 00:42:42 -06:00
|
|
|
"unified-diff",
|
2019-08-14 19:45:09 -05:00
|
|
|
"walkdir",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2021-09-06 11:43:27 -05:00
|
|
|
[[package]]
|
|
|
|
name = "compiletest_rs"
|
2021-11-04 07:56:54 -05:00
|
|
|
version = "0.7.1"
|
2021-09-06 11:43:27 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-04 07:56:54 -05:00
|
|
|
checksum = "29843cb8d351febf86557681d049d1e1652b81a086a190fa1173c07fd17fbf83"
|
2021-09-06 11:43:27 -05:00
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
"filetime",
|
|
|
|
"getopts",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"miow",
|
|
|
|
"regex",
|
|
|
|
"rustfix 0.5.1",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"tester",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "core"
|
|
|
|
version = "0.0.0"
|
2018-02-26 11:07:16 -06: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 17:39:19 -06:00
|
|
|
"rand 0.7.3",
|
2018-02-26 11:07:16 -06:00
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2019-11-25 10:14:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
2020-06-30 12:39:05 -05:00
|
|
|
version = "0.9.0"
|
2019-11-25 10:14:07 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-30 12:39:05 -05:00
|
|
|
checksum = "3b5ed8e7e76c45974e15e41bfa8d5b0483cd90191639e01d8f5f1e606299d3fb"
|
2019-11-25 10:14:07 -06:00
|
|
|
dependencies = [
|
2020-06-23 17:00:48 -05:00
|
|
|
"core-foundation-sys",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2017-08-24 00:52:28 -05:00
|
|
|
]
|
|
|
|
|
2019-11-25 10:14:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2020-06-30 12:39:05 -05:00
|
|
|
version = "0.8.0"
|
2019-11-25 10:14:07 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-30 12:39:05 -05:00
|
|
|
checksum = "9a21fa21941700a3cd8fcb4091f361a6a712fac632f85d9f487cc892045d55c6"
|
2019-11-25 10:14:07 -06:00
|
|
|
|
2020-11-02 23:32:48 -06:00
|
|
|
[[package]]
|
|
|
|
name = "coverage_test_macros"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2020-10-01 10:15:12 -05:00
|
|
|
[[package]]
|
|
|
|
name = "cpuid-bool"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634"
|
|
|
|
|
2017-07-18 20:32:12 -05:00
|
|
|
[[package]]
|
|
|
|
name = "crates-io"
|
2022-01-18 21:14:33 -06:00
|
|
|
version = "0.34.0"
|
2017-07-18 20:32:12 -05:00
|
|
|
dependencies = [
|
2020-01-14 11:47:04 -06:00
|
|
|
"anyhow",
|
2019-08-14 19:45:09 -05:00
|
|
|
"curl",
|
2019-11-12 12:14:48 -06:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
2018-12-08 05:06:54 -06: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 16:22:37 -05:00
|
|
|
version = "1.2.0"
|
2018-12-08 05:06:54 -06: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 16:22:37 -05:00
|
|
|
checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"
|
2018-12-08 05:06:54 -06:00
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2018-12-08 05:06:54 -06:00
|
|
|
]
|
2017-09-01 22:46:51 -05:00
|
|
|
|
2020-02-10 13:47:38 -06:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "0.5.2"
|
2020-02-10 13:47:38 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa"
|
2020-02-10 13:47:38 -06:00
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"cfg-if 1.0.0",
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2020-02-10 13:47:38 -06:00
|
|
|
]
|
|
|
|
|
2019-09-10 12:13:07 -05:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "0.8.1"
|
2019-09-10 12:13:07 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
|
2019-09-10 12:13:07 -05:00
|
|
|
dependencies = [
|
2022-01-10 13:34:07 -06:00
|
|
|
"cfg-if 1.0.0",
|
2019-12-10 09:01:01 -06:00
|
|
|
"crossbeam-epoch",
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2019-09-10 12:13:07 -05:00
|
|
|
]
|
|
|
|
|
2019-01-21 09:32:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "0.9.6"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "97242a70df9b89a65d0b6df3c4bf5b9ce03c5b7309019777fbde37e7537f8762"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2022-01-10 13:34:07 -06:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-utils",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-12-10 09:01:01 -06:00
|
|
|
"memoffset",
|
2019-12-04 11:40:16 -06:00
|
|
|
"scopeguard",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
2020-10-14 17:16:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "0.8.6"
|
2020-10-14 17:16:47 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "cfcae03edb34f947e64acdb1c33ec169824e20657e9ecb61cef6c8c74dcb8120"
|
2020-10-14 17:16:47 -05:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2017-12-06 02:25:29 -06:00
|
|
|
[[package]]
|
|
|
|
name = "crypto-hash"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.3.4"
|
2017-12-06 02:25:29 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "8a77162240fd97248d19a564a565eb563a3f592b386e4136fb300909e67dddca"
|
2017-12-06 02:25:29 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"commoncrypto",
|
2019-09-16 13:45:40 -05:00
|
|
|
"hex 0.3.2",
|
2019-08-14 19:45:09 -05:00
|
|
|
"openssl",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2017-12-06 02:25:29 -06:00
|
|
|
]
|
|
|
|
|
2021-02-13 05:17:15 -06: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 08:10:35 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ctor"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.15"
|
2020-03-26 08:10:35 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "39858aa5bac06462d4dd4b9164848eb81ffc4aa5c479746393598fd193afa227"
|
2020-03-26 08:10:35 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-03-26 08:10:35 -05:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "curl"
|
2021-11-22 16:01:57 -06:00
|
|
|
version = "0.4.41"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-22 16:01:57 -06:00
|
|
|
checksum = "1bc6d233563261f8db6ffb83bbaad5a73837a6e6b28868e926337ebbdece0be3"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"curl-sys",
|
|
|
|
"libc",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
2021-07-04 13:49:56 -05:00
|
|
|
"socket2",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "curl-sys"
|
2021-11-22 16:01:57 -06:00
|
|
|
version = "0.4.51+curl-7.80.0"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-22 16:01:57 -06:00
|
|
|
checksum = "d130987e6a6a34fe0889e1083022fa48cd90e6709a84be3fb8dd95801de5af20"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libnghttp2-sys",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2017-05-08 17:01:13 -05:00
|
|
|
]
|
|
|
|
|
2018-05-29 06:52:51 -05:00
|
|
|
[[package]]
|
|
|
|
name = "datafrog"
|
2019-01-02 13:45:22 -06:00
|
|
|
version = "2.0.1"
|
2018-05-29 06:52:51 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "a0afaad2b26fa326569eb264b1363e8ae3357618c43982b3f285f0774ce76b69"
|
2018-05-29 06:52:51 -05:00
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "derive-new"
|
2020-05-05 06:30:49 -05:00
|
|
|
version = "0.5.8"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 06:30:49 -05:00
|
|
|
checksum = "71f31892cd5c62e414316f2963c5689242c43d8e7bbcaaeca97e5e28c95d91d9"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
2018-07-26 16:58:55 -05:00
|
|
|
[[package]]
|
|
|
|
name = "derive_more"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.99.9"
|
2018-07-26 16:58:55 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "298998b1cf6b5b2c8a7b023dfd45821825ce3ba8a8af55c921a0e734e4653f76"
|
2018-07-26 16:58:55 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2018-07-26 16:58:55 -05:00
|
|
|
]
|
|
|
|
|
2017-04-27 14:41:18 -05:00
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.12"
|
2017-04-27 14:41:18 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
|
2017-04-27 14:41:18 -05: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 08:03:06 -06:00
|
|
|
[[package]]
|
|
|
|
name = "difference"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05: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 08:03:06 -06:00
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
2020-03-31 00:17:15 -05:00
|
|
|
version = "0.8.1"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 00:17:15 -05:00
|
|
|
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2021-03-12 07:33:02 -06:00
|
|
|
"generic-array 0.12.4",
|
2020-10-01 10:15:12 -05: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-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
2018-11-28 14:22:45 -06:00
|
|
|
[[package]]
|
|
|
|
name = "directories"
|
2021-04-23 17:49:47 -05:00
|
|
|
version = "3.0.2"
|
2018-11-28 14:22:45 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 17:49:47 -05:00
|
|
|
checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7"
|
2018-11-28 14:22:45 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"dirs-sys",
|
2018-11-28 14:22:45 -06:00
|
|
|
]
|
|
|
|
|
2019-02-18 03:32:58 -06:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "2.0.2"
|
2019-02-18 03:32:58 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
|
2019-02-18 03:32:58 -06:00
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-14 19:45:09 -05:00
|
|
|
"dirs-sys",
|
2019-02-18 03:32:58 -06:00
|
|
|
]
|
|
|
|
|
2021-02-25 04:26:23 -06: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 02:58:32 -05:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
2021-04-23 17:49:47 -05:00
|
|
|
version = "0.3.6"
|
2019-06-13 02:58:32 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 17:49:47 -05:00
|
|
|
checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
|
2019-06-13 02:58:32 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2021-04-23 17:49:47 -05:00
|
|
|
"redox_users",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2021-02-25 04:26:23 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[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 17:49:47 -05:00
|
|
|
"redox_users",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2019-06-13 02:58:32 -05:00
|
|
|
]
|
|
|
|
|
2017-12-06 02:25:29 -06:00
|
|
|
[[package]]
|
|
|
|
name = "dlmalloc"
|
2021-11-08 09:53:35 -06:00
|
|
|
version = "0.2.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-19 23:52:50 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-08 09:53:35 -06:00
|
|
|
checksum = "a6fe28e0bf9357092740362502f5cc7955d8dc125ebda71dec72336c2e15c62e"
|
2017-12-06 02:25:29 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-core",
|
2017-12-06 02:25:29 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "either"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.6.0"
|
2017-12-06 02:25:29 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
|
2017-12-06 02:25:29 -06:00
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "elasticlunr-rs"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "2.3.9"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "35622eb004c8f0c5e7e2032815f3314a93df0db30a1ce5c94e62c1ecc81e22b9"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
2020-02-25 02:47:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "ena"
|
|
|
|
version = "0.14.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
|
2019-03-19 16:30:07 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
2019-03-19 16:30:07 -05:00
|
|
|
]
|
|
|
|
|
2021-04-06 06:20:48 -05: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-24 22:01:42 -06:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2021-10-20 00:15:20 -05:00
|
|
|
version = "0.7.1"
|
2018-11-16 05:08:23 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-20 00:15:20 -05:00
|
|
|
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
|
2018-11-16 05:08:23 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"atty",
|
2020-01-21 11:55:43 -06:00
|
|
|
"humantime 1.3.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"termcolor",
|
2018-11-16 05:08:23 -06:00
|
|
|
]
|
|
|
|
|
2019-09-24 13:06:56 -05:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2021-10-20 00:15:20 -05:00
|
|
|
version = "0.8.4"
|
2019-09-24 13:06:56 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-20 00:15:20 -05:00
|
|
|
checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
|
2019-09-24 13:06:56 -05:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
2021-10-20 00:15:20 -05:00
|
|
|
"humantime 2.0.1",
|
2019-09-24 13:06:56 -05:00
|
|
|
"log",
|
|
|
|
"regex",
|
2020-10-20 18:36:46 -05:00
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
2021-07-15 21:27:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"humantime 2.0.1",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "error_index_generator"
|
|
|
|
version = "0.0.0"
|
2017-07-22 21:01:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustdoc",
|
2019-08-19 17:04:25 -05:00
|
|
|
"walkdir",
|
2017-07-22 21:01:58 -05:00
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2019-11-26 05:06:30 -06:00
|
|
|
[[package]]
|
|
|
|
name = "expand-yaml-anchors"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"yaml-merge-keys",
|
2020-08-17 10:21:44 -05:00
|
|
|
"yaml-rust 0.4.4",
|
2019-11-26 05:06:30 -06: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 07:03:50 -05:00
|
|
|
[[package]]
|
|
|
|
name = "expect-test"
|
2020-08-31 14:04:09 -05: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 07:03:50 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-31 14:04:09 -05: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 07:03:50 -05:00
|
|
|
dependencies = [
|
|
|
|
"difference",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "fake-simd"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
|
2019-01-18 20:39:37 -06:00
|
|
|
|
2021-12-03 08:24:05 -06:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
|
|
|
2018-04-18 10:43:59 -05:00
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2021-05-11 14:03:59 -05:00
|
|
|
version = "0.2.14"
|
2018-04-18 10:43:59 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 14:03:59 -05:00
|
|
|
checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8"
|
2018-04-18 10:43:59 -05:00
|
|
|
dependencies = [
|
2021-05-11 14:03:59 -05:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2021-05-11 14:03:59 -05:00
|
|
|
"redox_syscall",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-04-18 10:43:59 -05:00
|
|
|
]
|
|
|
|
|
2020-03-03 10:25:03 -06:00
|
|
|
[[package]]
|
|
|
|
name = "fixedbitset"
|
2020-05-26 19:19:19 -05:00
|
|
|
version = "0.2.0"
|
2020-03-03 10:25:03 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 19:19:19 -05:00
|
|
|
checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d"
|
2020-03-03 10:25:03 -06:00
|
|
|
|
2017-12-31 08:34:29 -06: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 16:22:37 -05:00
|
|
|
version = "1.0.16"
|
2017-12-31 08:34:29 -06: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 16:22:37 -05:00
|
|
|
checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e"
|
2017-12-31 08:34:29 -06:00
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-14 19:45:09 -05:00
|
|
|
"crc32fast",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
2019-11-12 12:14:48 -06:00
|
|
|
"miniz_oxide",
|
2017-12-31 08:34:29 -06:00
|
|
|
]
|
|
|
|
|
2017-07-18 16:26:55 -05:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.7"
|
2017-07-18 16:26:55 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
2017-07-18 16:26:55 -05:00
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "foreign-types"
|
2017-12-06 02:25:29 -06:00
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
2017-12-06 02:25:29 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"foreign-types-shared",
|
2017-12-06 02:25:29 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types-shared"
|
|
|
|
version = "0.1.1"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2021-05-11 19:39:51 -05: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-27 23:33:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "fortanix-sgx-abi"
|
2020-08-17 10:21:44 -05: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-19 23:52:50 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "c56c422ef86062869b2d57ae87270608dc5929969dd130a6e248979cf4fb6ca6"
|
2018-08-27 23:33:26 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2018-08-27 23:33:26 -05:00
|
|
|
]
|
|
|
|
|
2021-03-24 10:52:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "fs-err"
|
|
|
|
version = "2.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bcd1163ae48bda72a20ae26d66a04d3094135cadab911cff418ae5e33f253431"
|
|
|
|
|
2018-10-20 21:15:06 -05:00
|
|
|
[[package]]
|
|
|
|
name = "fs_extra"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674"
|
2018-10-20 21:15:06 -05:00
|
|
|
|
2018-07-05 19:34:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "fst"
|
2021-04-22 17:47:10 -05:00
|
|
|
version = "0.4.5"
|
2018-07-05 19:34:00 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-22 17:47:10 -05:00
|
|
|
checksum = "d79238883cf0307100b90aba4a755d8051a3182305dfe7f649a1e9dc0517006f"
|
2018-07-05 19:34:00 -05:00
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "futf"
|
2018-07-02 11:33:16 -05:00
|
|
|
version = "0.1.4"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "7c9c1ce3fa9336301af935ab852c437817d14cd33690446569392e65170aac3b"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"mac",
|
|
|
|
"new_debug_unreachable",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
2017-07-18 20:32:12 -05:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.29"
|
2016-09-02 03:55:29 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef"
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2021-02-09 19:52:54 -06: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",
|
2021-07-21 08:17:31 -05:00
|
|
|
"pin-project-lite",
|
2021-02-09 19:52:54 -06:00
|
|
|
"pin-utils",
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro-nested",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
2018-08-14 16:27:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "fwdansi"
|
2020-07-29 13:02:05 -05:00
|
|
|
version = "1.1.0"
|
2018-08-14 16:27:26 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-29 13:02:05 -05:00
|
|
|
checksum = "08c1f5787fe85505d1f7777268db5103d80a7a374d2316a7ce262e57baf8f208"
|
2018-08-14 16:27:26 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"memchr",
|
|
|
|
"termcolor",
|
2018-08-14 16:27:26 -05:00
|
|
|
]
|
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
2021-03-12 07:33:02 -06:00
|
|
|
version = "0.12.4"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 07:33:02 -06:00
|
|
|
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"typenum",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
2020-10-01 10:15:12 -05: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 03:55:29 -05: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 10:29:08 -05:00
|
|
|
version = "0.2.21"
|
2016-09-02 03:55:29 -05: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 10:29:08 -05:00
|
|
|
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
|
2019-04-30 14:37:36 -05: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 10:29:08 -05:00
|
|
|
"rustc-std-workspace-core",
|
|
|
|
"rustc-std-workspace-std",
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-width",
|
2019-04-30 14:37:36 -05:00
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2019-08-01 10:02:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2020-01-08 09:33:57 -06:00
|
|
|
version = "0.1.14"
|
2019-08-01 10:02:26 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 09:33:57 -06:00
|
|
|
checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
|
2019-08-01 10:02:26 -05:00
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2022-01-21 07:19:13 -06:00
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
2019-08-01 10:02:26 -05:00
|
|
|
]
|
|
|
|
|
2020-09-17 13:04:20 -05:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4"
|
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2020-09-17 13:04:20 -05:00
|
|
|
"libc",
|
2022-01-21 07:19:13 -06:00
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
2020-09-17 13:04:20 -05:00
|
|
|
]
|
|
|
|
|
2021-04-06 06:20:48 -05: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 16:22:37 -05:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2021-08-18 21:44:24 -05:00
|
|
|
version = "0.25.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 16:22:37 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 21:44:24 -05:00
|
|
|
checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7"
|
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 16:22:37 -05:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2021-12-03 08:24:05 -06:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
|
|
|
version = "0.26.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
|
|
|
|
dependencies = [
|
|
|
|
"fallible-iterator",
|
|
|
|
"indexmap",
|
|
|
|
"stable_deref_trait",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "git2"
|
2021-10-11 23:48:27 -05:00
|
|
|
version = "0.13.23"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-11 23:48:27 -05:00
|
|
|
checksum = "2a8057932925d3a9d9e4434ea016570d37420ddb1ceed45a174d577f24ed6700"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
|
|
|
"libc",
|
|
|
|
"libgit2-sys",
|
|
|
|
"log",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "git2-curl"
|
2020-12-22 21:42:03 -06:00
|
|
|
version = "0.14.1"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-12-22 21:42:03 -06:00
|
|
|
checksum = "883539cb0ea94bab3f8371a98cd8e937bbe9ee7c044499184aa4c17deb643a50"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"curl",
|
|
|
|
"git2",
|
|
|
|
"log",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
2019-03-12 15:34:47 -05:00
|
|
|
version = "0.3.0"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2017-07-18 16:26:55 -05:00
|
|
|
[[package]]
|
|
|
|
name = "globset"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.4.5"
|
2017-07-18 16:26:55 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "7ad1da430bd7281dde2576f44c84cc3f0f7b475e7202cd503042dff01a8c8120"
|
2017-07-18 16:26:55 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"aho-corasick",
|
|
|
|
"bstr",
|
|
|
|
"fnv",
|
|
|
|
"log",
|
|
|
|
"regex",
|
2017-07-18 16:26:55 -05:00
|
|
|
]
|
|
|
|
|
2020-10-26 08:34:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "gsgdt"
|
2022-01-03 13:25:46 -06:00
|
|
|
version = "0.1.2"
|
2020-10-26 08:34:29 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-03 13:25:46 -06:00
|
|
|
checksum = "a0d876ce7262df96262a2a19531da6ff9a86048224d49580a585fc5c04617825"
|
2020-10-26 08:34:29 -05:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-02-07 17:13:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "handlebars"
|
2021-07-26 23:50:25 -05:00
|
|
|
version = "4.1.0"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-26 23:50:25 -05:00
|
|
|
checksum = "72a0ffab8c36d0436114310c7e10b59b3307e650ddfabf6d006028e29a70c6e6"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"pest",
|
|
|
|
"pest_derive",
|
2020-08-17 10:21:44 -05:00
|
|
|
"quick-error 2.0.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
2020-10-05 03:50:51 -05:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2022-01-20 08:09:05 -06:00
|
|
|
version = "0.11.2"
|
2019-09-21 05:56:05 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-20 08:09:05 -06:00
|
|
|
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
|
2019-09-21 05:56:05 -05:00
|
|
|
dependencies = [
|
2022-01-06 23:32:58 -06:00
|
|
|
"ahash",
|
2022-01-17 01:46:11 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2019-07-08 16:52:07 -05:00
|
|
|
]
|
|
|
|
|
2018-12-08 08:11:47 -06:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.3.1"
|
2018-12-08 08:11:47 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
|
2018-12-08 08:11:47 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-segmentation",
|
2018-12-08 08:11:47 -06:00
|
|
|
]
|
|
|
|
|
2019-10-20 02:55:10 -05:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2021-08-13 00:45:30 -05:00
|
|
|
version = "0.1.19"
|
2019-10-20 02:55:10 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-13 00:45:30 -05:00
|
|
|
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
2019-10-20 02:55:10 -05:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2018-01-08 15:56:22 -06:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2018-07-02 11:33:16 -05:00
|
|
|
version = "0.3.2"
|
2018-01-08 15:56:22 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
|
2018-01-08 15:56:22 -06:00
|
|
|
|
2019-09-16 13:45:40 -05:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.4.2"
|
2019-09-16 13:45:40 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
|
2019-09-16 13:45:40 -05:00
|
|
|
|
2019-08-20 02:32:53 -05:00
|
|
|
[[package]]
|
|
|
|
name = "home"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.5.3"
|
2019-08-20 02:32:53 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "2456aef2e6b6a9784192ae780c0f15bc57df0e918585282325e8c8ac27737654"
|
2019-08-20 02:32:53 -05:00
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2019-08-20 02:32:53 -05:00
|
|
|
]
|
|
|
|
|
2021-04-23 09:43:18 -05:00
|
|
|
[[package]]
|
|
|
|
name = "html-checker"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2019-06-18 22:36:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "html5ever"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.25.1"
|
2019-06-18 22:36:47 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "aafcf38a1a36118242d29b92e1b08ef84e67e4a5ed06e0a80be20e6a32bfed6b"
|
2019-06-18 22:36:47 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"mac",
|
|
|
|
"markup5ever",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-06-18 22:36:47 -05:00
|
|
|
]
|
|
|
|
|
2018-03-01 13:08:48 -06:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2019-09-24 13:06:56 -05:00
|
|
|
version = "1.3.0"
|
2018-03-01 13:08:48 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-24 13:06:56 -05:00
|
|
|
checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
|
2018-03-01 13:08:48 -06:00
|
|
|
dependencies = [
|
2020-08-17 10:21:44 -05:00
|
|
|
"quick-error 1.2.3",
|
2018-03-01 13:08:48 -06:00
|
|
|
]
|
|
|
|
|
2020-01-21 11:55:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "2.0.1"
|
2020-01-21 11:55:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
|
2020-01-21 11:55:43 -06:00
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2018-07-17 11:04:22 -05:00
|
|
|
version = "0.1.5"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2017-02-15 16:55:26 -06:00
|
|
|
]
|
|
|
|
|
2019-07-31 19:44:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
|
2019-07-31 19:44:39 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2019-07-31 19:44:39 -05:00
|
|
|
]
|
|
|
|
|
2017-12-06 02:25:29 -06:00
|
|
|
[[package]]
|
|
|
|
name = "if_chain"
|
2019-05-26 12:21:54 -05:00
|
|
|
version = "1.0.0"
|
2017-12-06 02:25:29 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "c3360c7b59e5ffa2653671fb74b4741a5d343c03f331c0a4aeda42b5c2b0ec7d"
|
2017-12-06 02:25:29 -06:00
|
|
|
|
2017-07-18 16:26:55 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ignore"
|
2021-04-23 18:09:40 -05:00
|
|
|
version = "0.4.17"
|
2017-07-18 16:26:55 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 18:09:40 -05:00
|
|
|
checksum = "b287fb45c60bb826a0dc68ff08742b9d88a2fea13d6e0c286b3172065aaf878c"
|
2017-07-18 16:26:55 -05:00
|
|
|
dependencies = [
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2019-08-14 19:45:09 -05:00
|
|
|
"globset",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"regex",
|
|
|
|
"same-file",
|
2020-05-25 23:04:59 -05:00
|
|
|
"thread_local",
|
2019-08-14 19:45:09 -05:00
|
|
|
"walkdir",
|
|
|
|
"winapi-util",
|
2017-07-18 16:26:55 -05:00
|
|
|
]
|
|
|
|
|
2018-12-02 19:33:20 -06:00
|
|
|
[[package]]
|
|
|
|
name = "im-rc"
|
2020-05-18 17:41:57 -05:00
|
|
|
version = "15.0.0"
|
2018-12-02 19:33:20 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-18 17:41:57 -05:00
|
|
|
checksum = "3ca8957e71f04a205cb162508f9326aea04676c8dfd0711220190d6b83664f3f"
|
2018-12-02 19:33:20 -06:00
|
|
|
dependencies = [
|
2019-11-25 10:14:07 -06: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 17:39:19 -06:00
|
|
|
"rand_core 0.5.1",
|
2021-08-29 10:55:29 -05:00
|
|
|
"rand_xoshiro 0.4.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"sized-chunks",
|
|
|
|
"typenum",
|
2020-02-13 11:39:40 -06:00
|
|
|
"version_check",
|
2018-12-02 19:33:20 -06:00
|
|
|
]
|
|
|
|
|
2019-05-14 11:42:57 -05:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2022-01-06 13:27:59 -06:00
|
|
|
version = "1.8.0"
|
2019-05-14 11:42:57 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-06 13:27:59 -06:00
|
|
|
checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223"
|
2020-08-07 19:03:47 -05:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
2022-01-17 01:46:11 -06:00
|
|
|
"hashbrown 0.11.2",
|
2022-01-06 13:27:59 -06:00
|
|
|
"rustc-rayon",
|
2021-08-26 05:35:32 -05:00
|
|
|
"serde",
|
2020-08-07 19:03:47 -05:00
|
|
|
]
|
2019-05-14 11:42:57 -05:00
|
|
|
|
2021-10-21 06:13:17 -05:00
|
|
|
[[package]]
|
|
|
|
name = "indoc"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136"
|
|
|
|
dependencies = [
|
|
|
|
"unindent",
|
|
|
|
]
|
|
|
|
|
2017-05-08 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "installer"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-05-24 19:08:45 -05:00
|
|
|
"anyhow",
|
2022-01-18 21:14:33 -06:00
|
|
|
"clap 2.34.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"flate2",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"num_cpus",
|
|
|
|
"rayon",
|
|
|
|
"remove_dir_all",
|
|
|
|
"tar",
|
|
|
|
"walkdir",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2019-08-14 19:45:09 -05:00
|
|
|
"xz2",
|
2017-05-08 17:01:13 -05:00
|
|
|
]
|
|
|
|
|
2020-08-17 10:21:44 -05:00
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
2021-12-06 05:33:55 -06:00
|
|
|
version = "0.1.12"
|
2020-08-17 10:21:44 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 05:33:55 -06:00
|
|
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
]
|
2020-08-17 10:21:44 -05:00
|
|
|
|
2020-03-12 15:47:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2021-06-01 22:38:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
2021-09-08 09:32:16 -05:00
|
|
|
version = "0.10.1"
|
2021-06-01 22:38:39 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-09-08 09:32:16 -05:00
|
|
|
checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf"
|
2021-06-01 22:38:39 -05:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
2017-06-05 11:36:48 -05:00
|
|
|
name = "itoa"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.4.6"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2017-02-19 18:20:57 -06:00
|
|
|
[[package]]
|
2017-06-05 11:36:48 -05:00
|
|
|
name = "jobserver"
|
2021-08-17 19:38:07 -05:00
|
|
|
version = "0.1.24"
|
2017-02-19 18:20:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-17 19:38:07 -05:00
|
|
|
checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa"
|
2017-06-05 11:36:48 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2017-06-05 11:36:48 -05:00
|
|
|
]
|
2017-02-19 18:20:57 -06:00
|
|
|
|
2018-08-25 11:17:55 -05:00
|
|
|
[[package]]
|
|
|
|
name = "json"
|
2021-04-22 17:47:10 -05:00
|
|
|
version = "0.12.4"
|
2018-08-25 11:17:55 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-22 17:47:10 -05:00
|
|
|
checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd"
|
2018-08-25 11:17:55 -05:00
|
|
|
|
2021-01-15 19:34:15 -06:00
|
|
|
[[package]]
|
|
|
|
name = "jsondocck"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-03-24 10:52:47 -05:00
|
|
|
"fs-err",
|
2021-01-15 19:34:15 -06:00
|
|
|
"getopts",
|
|
|
|
"jsonpath_lib",
|
2021-06-01 11:44:10 -05:00
|
|
|
"once_cell",
|
2021-01-15 19:34:15 -06:00
|
|
|
"regex",
|
|
|
|
"serde_json",
|
2021-06-01 10:25:36 -05:00
|
|
|
"shlex",
|
2021-01-15 19:34:15 -06: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 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-client-transports"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "18.0.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"derive_more",
|
|
|
|
"futures 0.3.12",
|
2019-09-08 03:28:11 -05:00
|
|
|
"jsonrpc-core",
|
|
|
|
"jsonrpc-pubsub",
|
|
|
|
"jsonrpc-server-utils",
|
|
|
|
"log",
|
|
|
|
"parity-tokio-ipc",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tokio",
|
|
|
|
"url 1.7.2",
|
|
|
|
]
|
|
|
|
|
2017-07-18 20:32:12 -05:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-core"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "18.0.0"
|
2017-07-18 20:32:12 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb"
|
2017-07-18 20:32:12 -05:00
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
2021-07-21 08:17:31 -05:00
|
|
|
"futures-executor",
|
|
|
|
"futures-util",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2017-07-18 20:32:12 -05:00
|
|
|
]
|
|
|
|
|
2019-09-08 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-core-client"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "18.0.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
2019-09-08 03:28:11 -05:00
|
|
|
"jsonrpc-client-transports",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-derive"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "18.0.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-crate",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-ipc-server"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "18.0.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
2019-09-08 03:28:11 -05:00
|
|
|
"jsonrpc-core",
|
|
|
|
"jsonrpc-server-utils",
|
|
|
|
"log",
|
|
|
|
"parity-tokio-ipc",
|
2021-02-09 19:52:54 -06:00
|
|
|
"parking_lot",
|
|
|
|
"tower-service",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-pubsub"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "18.0.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
2019-09-08 03:28:11 -05:00
|
|
|
"jsonrpc-core",
|
2021-02-09 19:52:54 -06:00
|
|
|
"lazy_static",
|
2019-09-08 03:28:11 -05:00
|
|
|
"log",
|
2021-02-09 19:52:54 -06: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 17:39:19 -06:00
|
|
|
"rand 0.7.3",
|
2019-09-08 03:28:11 -05:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-server-utils"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "18.0.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
2019-09-08 03:28:11 -05:00
|
|
|
"globset",
|
|
|
|
"jsonrpc-core",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-09-08 03:28:11 -05:00
|
|
|
"log",
|
|
|
|
"tokio",
|
2021-07-21 08:17:31 -05:00
|
|
|
"tokio-stream",
|
2021-02-09 19:52:54 -06:00
|
|
|
"tokio-util",
|
2019-11-12 12:14:48 -06:00
|
|
|
"unicase",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
2022-01-25 18:24:21 -06:00
|
|
|
[[package]]
|
|
|
|
name = "kstring"
|
|
|
|
version = "1.0.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b310ccceade8121d7d77fee406160e457c2f4e7c7982d589da3499bc7ea4526"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-12-10 11:42:49 -06:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2020-01-08 09:33:57 -06:00
|
|
|
version = "1.4.0"
|
2017-12-10 11:42:49 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 09:33:57 -06:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2017-12-10 11:42:49 -06:00
|
|
|
|
2018-02-26 11:07:16 -06:00
|
|
|
[[package]]
|
|
|
|
name = "lazycell"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.3.0"
|
2018-02-26 11:07:16 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
2018-02-26 11:07:16 -06:00
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2022-01-26 16:32:21 -06:00
|
|
|
version = "0.2.116"
|
2016-09-02 03:55:29 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-26 16:32:21 -06:00
|
|
|
checksum = "565dbd88872dbe4cc8a46e527f26483c1d1f7afa6b884a3bd6cd893d4f98da74"
|
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-19 23:52:50 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05: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-19 23:52:50 -06:00
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "libgit2-sys"
|
2021-10-11 23:48:27 -05:00
|
|
|
version = "0.12.24+1.3.0"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-11 23:48:27 -05:00
|
|
|
checksum = "ddbd6021eef06fb289a8f54b3c2acfdd85ff2a585dfbb24b8576325373d2152c"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libssh2-sys",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
2021-11-08 17:03:55 -06:00
|
|
|
[[package]]
|
|
|
|
name = "libloading"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c0cf036d15402bea3c5d4de17b3fce76b3e4a56ebc1f577be0e7a72f7c607cf0"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-03-17 15:34:05 -05:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
|
|
|
|
|
2018-09-20 16:37:53 -05:00
|
|
|
[[package]]
|
|
|
|
name = "libnghttp2-sys"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.4+1.41.0"
|
2018-09-20 16:37:53 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "03624ec6df166e79e139a2310ca213283d6b3c30810c54844f307086d4488df1"
|
2018-09-20 16:37:53 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2018-09-20 16:37:53 -05:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "libssh2-sys"
|
2021-12-28 15:24:03 -06:00
|
|
|
version = "0.2.23"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-28 15:24:03 -06:00
|
|
|
checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
2021-07-30 06:56:45 -05:00
|
|
|
version = "1.1.3"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-30 06:56:45 -05:00
|
|
|
checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "linkchecker"
|
|
|
|
version = "0.1.0"
|
2020-10-15 08:25:30 -05:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"regex",
|
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2019-11-26 05:06:30 -06:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.5.3"
|
2019-11-26 05:06:30 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "8dd5a6d5999d9907cda8ed67bbd137d3af8085216c2ac62de5be860bd41f304a"
|
2019-11-26 05:06:30 -06:00
|
|
|
|
2020-09-08 17:09:57 -05:00
|
|
|
[[package]]
|
|
|
|
name = "lint-docs"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2021-09-25 08:25:08 -05:00
|
|
|
[[package]]
|
|
|
|
name = "lld-wrapper"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2020-08-17 10:21:44 -05:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2021-12-06 05:33:55 -06:00
|
|
|
version = "0.4.5"
|
2020-08-17 10:21:44 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 05:33:55 -06:00
|
|
|
checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109"
|
2020-08-17 10:21:44 -05:00
|
|
|
dependencies = [
|
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
2017-12-29 04:24:38 -06:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2021-05-02 15:56:25 -05:00
|
|
|
version = "0.4.14"
|
2016-09-02 03:55:29 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-02 15:56:25 -05:00
|
|
|
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
|
2017-12-29 04:24:38 -06:00
|
|
|
dependencies = [
|
2021-05-02 15:56:25 -05:00
|
|
|
"cfg-if 1.0.0",
|
2017-12-29 04:24:38 -06:00
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2019-01-21 09:32:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "lsp-codec"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "0.3.0"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "aa939d0b62476a5a19fb7fcb423a5c6ce8c7e09b851d37531e2fe3e0e6d9d257"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bytes",
|
|
|
|
"serde_json",
|
2021-02-09 19:52:54 -06:00
|
|
|
"tokio-util",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lsp-types"
|
2019-09-08 03:28:11 -05:00
|
|
|
version = "0.60.0"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 03:28:11 -05:00
|
|
|
checksum = "fe3edefcd66dde1f7f1df706f46520a3c93adc5ca4bc5747da6621195e894efd"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-09-08 03:28:11 -05:00
|
|
|
"serde_repr",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
2017-05-08 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "lzma-sys"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.16"
|
2017-05-08 17:01:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "f24f76ec44a8ac23a31915d6e326bca17ce88da03096f1ff194925dc714dac99"
|
2017-05-08 17:01:13 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
2017-05-08 17:01:13 -05:00
|
|
|
]
|
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "mac"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
2018-04-03 09:32:04 -05:00
|
|
|
|
2018-08-15 08:07:07 -05:00
|
|
|
[[package]]
|
|
|
|
name = "macro-utils"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.3"
|
2018-08-15 08:07:07 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "0e72f7deb758fea9ea7d290aebfa788763d0bffae12caa6406a25baaf8fa68a8"
|
2018-08-15 08:07:07 -05:00
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "maplit"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.2"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
2018-04-03 09:32:04 -05:00
|
|
|
|
2019-06-18 22:36:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "markup5ever"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.10.0"
|
2019-06-18 22:36:47 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "aae38d669396ca9b707bfc3db254bc382ddb94f57cc5c235f34623a669a01dab"
|
2019-06-18 22:36:47 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"phf",
|
|
|
|
"phf_codegen",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"string_cache",
|
|
|
|
"string_cache_codegen",
|
|
|
|
"tendril",
|
2019-06-18 22:36:47 -05:00
|
|
|
]
|
|
|
|
|
2020-08-01 09:11:15 -05: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 13:42:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "matchers"
|
2021-12-21 11:00:30 -06:00
|
|
|
version = "0.1.0"
|
2020-07-24 13:42:00 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 11:00:30 -06:00
|
|
|
checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
|
2020-07-24 13:42:00 -05:00
|
|
|
dependencies = [
|
|
|
|
"regex-automata",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "matches"
|
2018-08-21 12:23:47 -05:00
|
|
|
version = "0.1.8"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2020-10-13 10:41:06 -05: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 17:13:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "mdbook"
|
2022-01-19 04:02:24 -06:00
|
|
|
version = "0.4.15"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-19 04:02:24 -06:00
|
|
|
checksum = "241f10687eb3b4e0634b3b4e423f97c5f1efbd69dc9522e24a8b94583eeec3c6"
|
2019-08-14 19:45:09 -05:00
|
|
|
dependencies = [
|
|
|
|
"ammonia",
|
2020-06-23 17:23:46 -05:00
|
|
|
"anyhow",
|
2019-08-14 19:45:09 -05:00
|
|
|
"chrono",
|
2022-01-18 21:14:33 -06:00
|
|
|
"clap 2.34.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"elasticlunr-rs",
|
2020-06-23 17:23:46 -05:00
|
|
|
"env_logger 0.7.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"handlebars",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"memchr",
|
2021-12-03 14:25:07 -06:00
|
|
|
"opener",
|
2022-01-19 04:02:24 -06:00
|
|
|
"pulldown-cmark",
|
2019-08-14 19:45:09 -05:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2021-06-01 10:25:36 -05:00
|
|
|
"shlex",
|
2019-08-14 19:45:09 -05:00
|
|
|
"tempfile",
|
2019-08-20 12:46:35 -05:00
|
|
|
"toml",
|
2021-12-03 14:25:07 -06:00
|
|
|
"topological-sort",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
2020-10-01 07:34:48 -05:00
|
|
|
[[package]]
|
|
|
|
name = "measureme"
|
2021-05-31 11:53:46 -05:00
|
|
|
version = "9.1.2"
|
2020-10-01 07:34:48 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-31 11:53:46 -05:00
|
|
|
checksum = "78f7a41bc6f856a2cf0e95094ad5121f82500e2d9a0f3c0171d98f6566d8117d"
|
2020-10-01 07:34:48 -05:00
|
|
|
dependencies = [
|
2021-02-25 17:25:38 -06:00
|
|
|
"log",
|
2021-05-11 14:03:59 -05:00
|
|
|
"memmap2",
|
2021-02-09 19:52:54 -06:00
|
|
|
"parking_lot",
|
2021-02-25 17:25:38 -06:00
|
|
|
"perf-event-open-sys",
|
2020-10-01 07:34:48 -05:00
|
|
|
"rustc-hash",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-10-01 07:34:48 -05:00
|
|
|
]
|
|
|
|
|
2021-07-23 09:25:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "measureme"
|
2021-10-07 08:08:44 -05:00
|
|
|
version = "10.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bd460fad6e55ca82fa0cd9dab0d315294188fd9ec6efbf4105e5635d4872ef9c"
|
2021-07-23 09:25:58 -05:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"memmap2",
|
|
|
|
"parking_lot",
|
|
|
|
"perf-event-open-sys",
|
|
|
|
"rustc-hash",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2017-12-06 02:25:29 -06:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2021-08-18 21:44:24 -05:00
|
|
|
version = "2.4.1"
|
2017-12-06 02:25:29 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 21:44:24 -05:00
|
|
|
checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
|
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
2017-02-07 17:13:57 -06:00
|
|
|
|
2021-03-17 11:29:45 -05: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 08:57:25 -05:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "0.6.5"
|
2019-07-25 08:57:25 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
|
2019-07-25 08:57:25 -05:00
|
|
|
dependencies = [
|
2020-08-17 10:21:44 -05:00
|
|
|
"autocfg",
|
2019-07-25 08:57:25 -05:00
|
|
|
]
|
|
|
|
|
2018-05-10 17:02:05 -05:00
|
|
|
[[package]]
|
|
|
|
name = "minifier"
|
2022-01-26 10:24:34 -06:00
|
|
|
version = "0.0.42"
|
2018-05-10 17:02:05 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-26 10:24:34 -06:00
|
|
|
checksum = "55a1388517eda8a68875243b650c26997e055a33d82571b5a0349129faef7d99"
|
2018-05-10 17:02:05 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"macro-utils",
|
2018-05-10 17:02:05 -05:00
|
|
|
]
|
|
|
|
|
2022-01-03 11:18:46 -06:00
|
|
|
[[package]]
|
|
|
|
name = "minimal-lexical"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
|
|
2018-12-08 05:06:54 -06: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 16:22:37 -05:00
|
|
|
version = "0.4.0"
|
2018-12-08 05:06:54 -06: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 16:22:37 -05:00
|
|
|
checksum = "be0f75932c1f6cfae3c04000e40114adf955636e19040f9c0a2c380702aa1c7f"
|
2018-12-08 05:06:54 -06: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 16:22:37 -05:00
|
|
|
"adler",
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2018-12-08 05:06:54 -06:00
|
|
|
]
|
|
|
|
|
2019-01-21 09:32:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "0.7.13"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
|
|
|
"log",
|
2021-07-21 08:17:31 -05:00
|
|
|
"miow",
|
|
|
|
"ntapi",
|
|
|
|
"winapi",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
2018-03-07 01:39:55 -06:00
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
2021-07-04 13:49:56 -05:00
|
|
|
version = "0.3.7"
|
2018-03-07 01:39:55 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-04 13:49:56 -05:00
|
|
|
checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
|
2018-03-07 01:39:55 -06:00
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-03-07 01:39:55 -06:00
|
|
|
]
|
|
|
|
|
2017-12-15 13:41:58 -06:00
|
|
|
[[package]]
|
|
|
|
name = "miri"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"colored",
|
2021-09-09 04:21:41 -05:00
|
|
|
"compiletest_rs",
|
2021-10-04 17:13:00 -05:00
|
|
|
"env_logger 0.9.0",
|
2020-09-17 13:04:20 -05:00
|
|
|
"getrandom 0.2.0",
|
2020-08-17 10:21:44 -05:00
|
|
|
"hex 0.4.2",
|
2020-06-01 13:17:20 -05:00
|
|
|
"libc",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
2021-10-07 08:08:44 -05:00
|
|
|
"measureme 9.1.2",
|
2021-08-29 10:55:29 -05:00
|
|
|
"rand 0.8.4",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc-workspace-hack",
|
2022-01-05 03:41:22 -06:00
|
|
|
"rustc_version",
|
2019-08-14 19:45:09 -05:00
|
|
|
"shell-escape",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2017-12-15 13:41:58 -06:00
|
|
|
]
|
|
|
|
|
2018-07-02 11:33:16 -05:00
|
|
|
[[package]]
|
|
|
|
name = "new_debug_unreachable"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.4"
|
2018-02-25 21:15:45 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
2018-02-25 21:15:45 -06:00
|
|
|
|
2022-01-03 11:18:46 -06:00
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
|
|
|
version = "7.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"minimal-lexical",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2021-07-21 08:17:31 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ntapi"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
2018-07-14 17:01:24 -05:00
|
|
|
name = "num-integer"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.43"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2020-08-17 10:21:44 -05:00
|
|
|
"autocfg",
|
2019-08-14 19:45:09 -05:00
|
|
|
"num-traits",
|
2017-05-08 17:01:13 -05:00
|
|
|
]
|
|
|
|
|
2017-02-19 18:20:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.2.12"
|
2017-02-19 18:20:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
2017-02-19 18:20:57 -06:00
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.13.0"
|
2016-09-02 03:55:29 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
|
2016-09-02 03:55:29 -05:00
|
|
|
dependencies = [
|
2020-08-17 10:21:44 -05:00
|
|
|
"hermit-abi",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2016-09-02 03:55:29 -05: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 16:22:37 -05:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2021-08-30 15:10:19 -05:00
|
|
|
version = "0.26.2"
|
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 16:22:37 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-30 15:10:19 -05:00
|
|
|
checksum = "39f37e50073ccad23b6d09bcb5b263f4e76d3bb6038e4a3c08e52162ffa8abc2"
|
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 16:22:37 -05:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
2021-04-22 13:53:33 -05:00
|
|
|
"memchr",
|
2021-08-18 21:44:24 -05:00
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2021-04-22 13:53:33 -05:00
|
|
|
]
|
|
|
|
|
2022-01-06 23:32:58 -06:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
|
|
|
version = "0.28.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7ce8b38d41f9f3618fc23f908faae61510f8d8ce2d99cbe910641e8f1971f084"
|
|
|
|
dependencies = [
|
|
|
|
"crc32fast",
|
2022-01-20 08:09:05 -06:00
|
|
|
"flate2",
|
2022-01-17 01:46:11 -06:00
|
|
|
"hashbrown 0.11.2",
|
2022-01-06 23:32:58 -06:00
|
|
|
"indexmap",
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2021-07-20 06:54:37 -05:00
|
|
|
[[package]]
|
|
|
|
name = "odht"
|
2021-10-29 11:05:15 -05:00
|
|
|
version = "0.3.1"
|
2021-07-20 06:54:37 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-29 11:05:15 -05:00
|
|
|
checksum = "5a518809ac14b25b569624d0268eba1e88498f71615893dca57982bed7621abb"
|
2021-07-20 06:54:37 -05:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
]
|
|
|
|
|
2019-09-09 20:01:41 -05:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2020-10-05 03:50:51 -05:00
|
|
|
version = "1.7.2"
|
2019-09-09 20:01:41 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-05 03:50:51 -05:00
|
|
|
checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
|
2019-09-09 20:01:41 -05:00
|
|
|
|
2020-03-31 00:17:15 -05:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
|
|
|
|
2020-10-01 10:15:12 -05:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
|
|
|
|
|
2021-06-22 18:19:24 -05:00
|
|
|
[[package]]
|
|
|
|
name = "opener"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ea3ebcd72a54701f56345f16785a6d3ac2df7e986d273eb4395c0b01db17952"
|
|
|
|
dependencies = [
|
|
|
|
"bstr",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2021-06-22 18:19:24 -05:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "openssl"
|
2021-06-21 19:19:46 -05:00
|
|
|
version = "0.10.35"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-21 19:19:46 -05:00
|
|
|
checksum = "549430950c79ae24e6d02e0b7404534ecf311d94cc9f861e9e4020187d13d885"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
2021-05-01 06:50:03 -05:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"foreign-types",
|
|
|
|
"libc",
|
2021-05-01 06:50:03 -05:00
|
|
|
"once_cell",
|
2019-08-14 19:45:09 -05:00
|
|
|
"openssl-sys",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
2017-12-10 11:42:49 -06:00
|
|
|
version = "0.1.2"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2018-08-14 16:27:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-src"
|
2021-08-27 09:38:53 -05:00
|
|
|
version = "111.16.0+1.1.1l"
|
2018-08-14 16:27:26 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-27 09:38:53 -05:00
|
|
|
checksum = "7ab2173f69416cf3ec12debb5823d244127d23a9b127d5a5189aa97c5fa2859f"
|
2018-08-14 16:27:26 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
2018-08-14 16:27:26 -05:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2021-06-21 19:19:46 -05:00
|
|
|
version = "0.9.65"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-21 19:19:46 -05:00
|
|
|
checksum = "7a7907e3bfa08bb85105209cdfcb6c63d109f8f6c1ed6ca318fff5c1853fbc1d"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2020-03-16 13:37:15 -05:00
|
|
|
"autocfg",
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"openssl-src",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
2018-07-05 19:34:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ordslice"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "dd20eec3dbe4376829cb7d80ae6ac45e0a766831dca50202ff2d40db46a8a024"
|
2018-07-05 19:34:00 -05:00
|
|
|
|
2021-10-11 23:48:27 -05:00
|
|
|
[[package]]
|
|
|
|
name = "os_info"
|
|
|
|
version = "3.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6ac91020bfed8cc3f8aa450d4c3b5fa1d3373fc091c8a92009f3b27749d5a227"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-01-18 21:14:33 -06:00
|
|
|
[[package]]
|
|
|
|
name = "os_str_bytes"
|
|
|
|
version = "6.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2020-03-26 08:10:35 -05:00
|
|
|
[[package]]
|
|
|
|
name = "output_vt100"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "53cdc5b785b7a58c5aad8216b3dfa114df64b0b06ae6e1501cef91df2fbdf8f9"
|
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2020-03-26 08:10:35 -05:00
|
|
|
]
|
|
|
|
|
2018-12-01 04:36:32 -06:00
|
|
|
[[package]]
|
2021-03-17 15:34:05 -05:00
|
|
|
name = "packed_simd_2"
|
|
|
|
version = "0.3.4"
|
2018-12-01 04:36:32 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 15:34:05 -05:00
|
|
|
checksum = "3278e0492f961fd4ae70909f56b2723a7e8d01a228427294e19cdfdebda89a17"
|
2018-12-01 04:36:32 -06:00
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2021-03-17 15:34:05 -05:00
|
|
|
"libm",
|
2018-12-01 04:36:32 -06:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "panic_abort"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-03-15 05:21:39 -05:00
|
|
|
"alloc",
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "panic_unwind"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"alloc",
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
|
|
|
"unwind",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2019-09-08 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "parity-tokio-ipc"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "0.9.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
|
|
|
"libc",
|
2019-09-08 03:28:11 -05: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 17:39:19 -06:00
|
|
|
"rand 0.7.3",
|
2019-09-08 03:28:11 -05:00
|
|
|
"tokio",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
2020-08-17 10:21:44 -05:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
2021-12-06 05:33:55 -06:00
|
|
|
version = "0.11.2"
|
2020-08-17 10:21:44 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 05:33:55 -06:00
|
|
|
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
|
2020-08-17 10:21:44 -05:00
|
|
|
dependencies = [
|
|
|
|
"instant",
|
2021-02-09 19:52:54 -06:00
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core",
|
2020-08-17 10:21:44 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2021-12-06 05:33:55 -06:00
|
|
|
version = "0.8.5"
|
2020-02-12 08:47:31 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 05:33:55 -06:00
|
|
|
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
|
2020-02-12 08:47:31 -06:00
|
|
|
dependencies = [
|
2021-03-17 15:25:47 -05:00
|
|
|
"cfg-if 1.0.0",
|
2020-08-17 10:21:44 -05:00
|
|
|
"instant",
|
2020-02-12 08:47:31 -06:00
|
|
|
"libc",
|
2021-05-11 14:03:59 -05:00
|
|
|
"redox_syscall",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2020-02-12 08:47:31 -06:00
|
|
|
]
|
|
|
|
|
2020-07-17 17:01:27 -05:00
|
|
|
[[package]]
|
|
|
|
name = "pathdiff"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "877630b3de15c0b64cc52f659345724fbf6bdad9bd9566699fc53688f3c34a34"
|
|
|
|
|
2017-06-14 21:33:06 -05:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2017-12-06 02:25:29 -06:00
|
|
|
version = "1.0.1"
|
2017-06-14 21:33:06 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
|
2017-06-14 21:33:06 -05:00
|
|
|
|
2019-07-31 19:44:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2019-11-12 12:14:48 -06:00
|
|
|
version = "2.1.0"
|
2019-07-31 19:44:39 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-12 12:14:48 -06:00
|
|
|
checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
|
2019-07-31 19:44:39 -05:00
|
|
|
|
2021-02-25 17:25:38 -06: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-07-31 19:44:39 -05:00
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "pest"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "2.1.3"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"ucd-trie",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_derive"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"pest",
|
|
|
|
"pest_generator",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_generator"
|
2020-05-05 06:26:29 -05:00
|
|
|
version = "2.1.3"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 06:26:29 -05:00
|
|
|
checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"pest",
|
|
|
|
"pest_meta",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_meta"
|
2020-03-31 00:17:15 -05:00
|
|
|
version = "2.1.3"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 00:17:15 -05:00
|
|
|
checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"maplit",
|
|
|
|
"pest",
|
2020-10-13 10:41:06 -05:00
|
|
|
"sha-1 0.8.2",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
2020-03-03 10:25:03 -06:00
|
|
|
[[package]]
|
|
|
|
name = "petgraph"
|
2020-05-26 19:19:19 -05:00
|
|
|
version = "0.5.1"
|
2020-03-03 10:25:03 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 19:19:19 -05:00
|
|
|
checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
|
2020-03-03 10:25:03 -06:00
|
|
|
dependencies = [
|
|
|
|
"fixedbitset",
|
2020-05-26 19:19:19 -05:00
|
|
|
"indexmap",
|
2020-03-03 10:25:03 -06:00
|
|
|
]
|
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "phf"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.8.0"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"phf_shared",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_codegen"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.8.0"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_generator"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.8.0"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05: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 17:39:19 -06:00
|
|
|
"rand 0.7.3",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.8.0"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"siphasher",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
2021-02-09 19:52:54 -06:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2022-01-24 11:19:21 -06:00
|
|
|
version = "0.2.8"
|
2021-02-09 19:52:54 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-24 11:19:21 -06:00
|
|
|
checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c"
|
2021-02-09 19:52:54 -06:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.3.18"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2018-05-24 16:52:01 -05:00
|
|
|
[[package]]
|
|
|
|
name = "polonius-engine"
|
2021-07-22 15:21:06 -05:00
|
|
|
version = "0.13.0"
|
2018-05-24 16:52:01 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-22 15:21:06 -05:00
|
|
|
checksum = "c4e8e505342045d397d0b6674dcb82d6faf5cf40484d30eeb88fc82ef14e903f"
|
2018-05-29 06:52:51 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"datafrog",
|
|
|
|
"log",
|
|
|
|
"rustc-hash",
|
2018-05-29 06:52:51 -05:00
|
|
|
]
|
2018-05-24 16:52:01 -05:00
|
|
|
|
2019-08-01 10:02:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2020-05-25 23:35:21 -05:00
|
|
|
version = "0.2.8"
|
2019-08-01 10:02:26 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-25 23:35:21 -05:00
|
|
|
checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea"
|
2019-08-01 10:02:26 -05:00
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "precomputed-hash"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
2018-04-03 09:32:04 -05: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 08:03:06 -06:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_assertions"
|
2020-03-26 08:10:35 -05: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 08:03:06 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-26 08:10:35 -05: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 08:03:06 -06:00
|
|
|
dependencies = [
|
2020-07-24 13:42:00 -05:00
|
|
|
"ansi_term 0.11.0",
|
2020-03-26 08:10:35 -05:00
|
|
|
"ctor",
|
2019-08-14 19:45:09 -05:00
|
|
|
"difference",
|
2020-03-26 08:10:35 -05: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 08:03:06 -06:00
|
|
|
]
|
|
|
|
|
2018-12-02 19:33:20 -06:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_env_logger"
|
2020-02-10 13:47:38 -06:00
|
|
|
version = "0.4.0"
|
2018-12-02 19:33:20 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-10 13:47:38 -06:00
|
|
|
checksum = "926d36b9553851b8b0005f1275891b392ee4d2d833852c417ed025477350fb9d"
|
2018-12-02 19:33:20 -06:00
|
|
|
dependencies = [
|
2020-02-10 13:47:38 -06:00
|
|
|
"env_logger 0.7.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
2018-12-02 19:33:20 -06:00
|
|
|
]
|
|
|
|
|
2019-09-08 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-crate"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.5"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.4"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2020-08-17 10:21:44 -05:00
|
|
|
"proc-macro-error-attr",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-08-17 10:21:44 -05: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 10:43:55 -05:00
|
|
|
]
|
|
|
|
|
2021-02-09 19:52:54 -06: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 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2021-10-15 21:37:30 -05:00
|
|
|
version = "1.0.30"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-15 21:37:30 -05:00
|
|
|
checksum = "edc3358ebc67bc8b7fa0c007f945b0b18226f78437d61bec735a9eb96b61ee70"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"unicode-xid",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05: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 10:29:08 -05:00
|
|
|
dependencies = [
|
|
|
|
"std",
|
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2017-02-13 03:57:50 -06:00
|
|
|
[[package]]
|
|
|
|
name = "profiler_builtins"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
2017-06-04 09:54:39 -05:00
|
|
|
]
|
|
|
|
|
2018-11-02 10:14:24 -05:00
|
|
|
[[package]]
|
|
|
|
name = "psm"
|
2021-08-18 15:36:35 -05:00
|
|
|
version = "0.1.16"
|
2018-11-02 10:14:24 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 15:36:35 -05:00
|
|
|
checksum = "cd136ff4382c4753fc061cb9e4712ab2af263376b95bbd5bd8cd50c020b78e69"
|
2018-11-02 10:14:24 -05:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2020-09-13 19:15:01 -05:00
|
|
|
[[package]]
|
|
|
|
name = "pulldown-cmark"
|
2022-01-17 13:58:42 -06:00
|
|
|
version = "0.9.1"
|
2020-09-13 19:15:01 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-17 13:58:42 -06:00
|
|
|
checksum = "34f197a544b0c9ab3ae46c359a7ec9cbbb5c7bf97054266fecb7ead794a181d6"
|
2020-09-13 19:15:01 -05:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2021-12-03 14:25:07 -06:00
|
|
|
"getopts",
|
2020-09-13 19:15:01 -05:00
|
|
|
"memchr",
|
|
|
|
"unicase",
|
|
|
|
]
|
|
|
|
|
2019-01-28 23:24:32 -06:00
|
|
|
[[package]]
|
|
|
|
name = "punycode"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.4.1"
|
2019-01-28 23:24:32 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "e9e1dcb320d6839f6edb64f7a4a59d39b30480d4d1765b56873f7c858538a5fe"
|
2019-01-28 23:24:32 -06:00
|
|
|
|
2017-02-07 17:13:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
2020-05-05 07:05:06 -05:00
|
|
|
version = "1.2.3"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 07:05:06 -05:00
|
|
|
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2020-08-17 10:21:44 -05:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3ac73b1112776fc109b2e61909bc46c7e1bf0d7f690ffb1676553acce16d5cda"
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
2017-12-06 02:25:29 -06:00
|
|
|
name = "quine-mc_cluskey"
|
|
|
|
version = "0.2.4"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "07589615d719a60c8dd8a4622e7946465dfef20d1a428f969e3443e7386d5f45"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2019-09-08 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.7"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
2018-04-02 10:43:55 -05:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "racer"
|
2022-01-15 11:09:29 -06:00
|
|
|
version = "2.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b0b4b5faaf07040474e8af74a9e19ff167d5d204df5db5c5c765edecfb900358"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
2022-01-18 21:14:33 -06:00
|
|
|
"clap 2.34.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"derive_more",
|
2020-02-12 08:47:31 -06:00
|
|
|
"env_logger 0.7.1",
|
2020-08-17 10:21:44 -05:00
|
|
|
"humantime 2.0.1",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"rls-span",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
2017-02-07 17:13:57 -06:00
|
|
|
|
2019-08-01 10:02:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2020-01-08 09:33:57 -06:00
|
|
|
version = "0.7.3"
|
2019-08-01 10:02:26 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 09:33:57 -06:00
|
|
|
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
2019-08-01 10:02:26 -05:00
|
|
|
dependencies = [
|
2020-09-17 13:04:20 -05:00
|
|
|
"getrandom 0.1.14",
|
2019-08-14 19:45:09 -05: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 17:39:19 -06:00
|
|
|
"rand_chacha 0.2.2",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"rand_hc 0.2.0",
|
2020-08-01 09:11:15 -05:00
|
|
|
"rand_pcg",
|
2018-12-08 05:06:54 -06: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 17:39:19 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2021-08-29 10:55:29 -05:00
|
|
|
version = "0.8.4"
|
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 17:39:19 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-29 10:55:29 -05:00
|
|
|
checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
|
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 17:39:19 -06:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"rand_chacha 0.3.0",
|
|
|
|
"rand_core 0.6.2",
|
|
|
|
"rand_hc 0.3.0",
|
|
|
|
]
|
|
|
|
|
2019-08-01 10:02:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
2020-05-25 23:35:21 -05:00
|
|
|
version = "0.2.2"
|
2019-08-01 10:02:26 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-25 23:35:21 -05:00
|
|
|
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
2019-08-01 10:02:26 -05:00
|
|
|
dependencies = [
|
2020-05-25 23:35:21 -05: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 17:39:19 -06: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 10:02:26 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2019-11-25 10:14:07 -06:00
|
|
|
version = "0.5.1"
|
2019-08-01 10:02:26 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-25 10:14:07 -06:00
|
|
|
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
2019-08-01 10:02:26 -05:00
|
|
|
dependencies = [
|
2020-09-17 13:04:20 -05:00
|
|
|
"getrandom 0.1.14",
|
2019-08-01 10:02:26 -05: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 17:39:19 -06: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 10:02:26 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
2019-08-01 10:02:26 -05: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 17:39:19 -06: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 13:22:31 -05:00
|
|
|
]
|
|
|
|
|
2018-12-08 05:06:54 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rand_pcg"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.2.1"
|
2018-12-08 05:06:54 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
|
2018-12-08 05:06:54 -06: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 17:39:19 -06:00
|
|
|
"rand_core 0.5.1",
|
2018-12-08 05:06:54 -06:00
|
|
|
]
|
2018-07-26 16:58:55 -05:00
|
|
|
|
2019-04-19 02:37:33 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rand_xorshift"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "77d416b86801d23dde1aa643023b775c3a462efc0ed96443add11546cdf1dca8"
|
2019-04-19 02:37:33 -05: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 17:39:19 -06:00
|
|
|
"rand_core 0.5.1",
|
2019-11-25 10:14:07 -06: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 17:39:19 -06:00
|
|
|
"rand_core 0.5.1",
|
2019-04-19 02:37:33 -05:00
|
|
|
]
|
|
|
|
|
2021-08-29 10:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rand_xoshiro"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.6.2",
|
|
|
|
]
|
|
|
|
|
2018-02-25 21:15:45 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "1.5.1"
|
2018-02-25 21:15:45 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
|
2018-02-25 21:15:45 -06:00
|
|
|
dependencies = [
|
2020-08-17 10:21:44 -05:00
|
|
|
"autocfg",
|
2019-12-04 11:40:16 -06:00
|
|
|
"crossbeam-deque",
|
2019-08-14 19:45:09 -05:00
|
|
|
"either",
|
|
|
|
"rayon-core",
|
2017-12-06 02:25:29 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "1.9.1"
|
2017-12-06 02:25:29 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
|
2017-12-06 02:25:29 -06:00
|
|
|
dependencies = [
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-channel",
|
2019-12-04 11:40:16 -06:00
|
|
|
"crossbeam-deque",
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"num_cpus",
|
2019-06-10 13:22:31 -05:00
|
|
|
]
|
|
|
|
|
2021-02-25 04:26:23 -06:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2021-08-15 11:40:40 -05:00
|
|
|
version = "0.2.10"
|
2021-02-25 04:26:23 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-15 11:40:40 -05:00
|
|
|
checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
|
2021-02-25 04:26:23 -06:00
|
|
|
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 14:03:59 -05:00
|
|
|
"redox_syscall",
|
2021-02-25 04:26:23 -06:00
|
|
|
]
|
|
|
|
|
2018-05-11 07:11:06 -05:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2021-09-09 04:21:41 -05:00
|
|
|
version = "1.5.4"
|
2018-05-11 07:11:06 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-09-09 04:21:41 -05:00
|
|
|
checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
|
2018-05-11 07:11:06 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
2018-05-11 07:11:06 -05:00
|
|
|
]
|
|
|
|
|
2020-07-24 13:42:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
2021-07-07 04:07:09 -05:00
|
|
|
version = "0.1.10"
|
2020-07-24 13:42:00 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-07 04:07:09 -05:00
|
|
|
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
2020-07-24 13:42:00 -05:00
|
|
|
dependencies = [
|
|
|
|
"regex-syntax",
|
|
|
|
]
|
|
|
|
|
2018-05-11 07:11:06 -05:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2021-07-07 04:07:09 -05:00
|
|
|
version = "0.6.25"
|
2018-05-11 07:11:06 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-07 04:07:09 -05:00
|
|
|
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
|
2018-05-11 07:11:06 -05: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 10:52:19 -05:00
|
|
|
[[package]]
|
|
|
|
name = "remote-test-client"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "remote-test-server"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2018-02-26 11:07:16 -06:00
|
|
|
[[package]]
|
|
|
|
name = "remove_dir_all"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.5.3"
|
2018-02-26 11:07:16 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
|
2018-02-26 11:07:16 -06:00
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-02-26 11:07:16 -06:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rls"
|
2019-12-10 09:01:01 -06:00
|
|
|
version = "1.41.0"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2020-01-14 11:47:04 -06:00
|
|
|
"anyhow",
|
2019-08-14 19:45:09 -05:00
|
|
|
"cargo",
|
2021-04-11 11:42:01 -05:00
|
|
|
"cargo-util",
|
2022-01-15 10:31:37 -06:00
|
|
|
"cargo_metadata 0.14.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"clippy_lints",
|
2020-02-12 08:47:31 -06:00
|
|
|
"crossbeam-channel",
|
2019-08-14 19:45:09 -05:00
|
|
|
"difference",
|
2022-01-15 10:31:37 -06:00
|
|
|
"env_logger 0.9.0",
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
2019-08-14 19:45:09 -05:00
|
|
|
"heck",
|
2019-09-08 03:28:11 -05:00
|
|
|
"home",
|
2022-01-15 10:31:37 -06:00
|
|
|
"itertools 0.10.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"jsonrpc-core",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"lsp-codec",
|
|
|
|
"lsp-types",
|
|
|
|
"num_cpus",
|
|
|
|
"ordslice",
|
|
|
|
"racer",
|
2022-01-15 10:31:37 -06:00
|
|
|
"rand 0.8.4",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rayon",
|
|
|
|
"regex",
|
|
|
|
"rls-analysis",
|
|
|
|
"rls-data",
|
2019-09-08 03:28:11 -05:00
|
|
|
"rls-ipc",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rls-rustc",
|
|
|
|
"rls-span",
|
|
|
|
"rls-vfs",
|
|
|
|
"rustc-workspace-hack",
|
2019-06-08 15:15:22 -05:00
|
|
|
"rustc_tools_util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustfmt-nightly",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2019-09-08 03:28:11 -05:00
|
|
|
"serde_ignored",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"tokio",
|
2021-07-21 08:17:31 -05:00
|
|
|
"tokio-stream",
|
2021-02-09 19:52:54 -06:00
|
|
|
"tokio-util",
|
2019-08-20 12:46:35 -05:00
|
|
|
"toml",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2019-08-14 19:45:09 -05:00
|
|
|
"walkdir",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rls-analysis"
|
2021-04-22 17:47:10 -05:00
|
|
|
version = "0.18.2"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"derive-new",
|
2022-01-15 10:31:37 -06:00
|
|
|
"env_logger 0.9.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"fst",
|
2022-01-15 10:31:37 -06:00
|
|
|
"itertools 0.10.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"json",
|
2021-04-22 17:47:10 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"rls-data",
|
|
|
|
"rls-span",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2017-06-05 11:36:48 -05:00
|
|
|
]
|
|
|
|
|
2018-02-02 01:29:59 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rls-data"
|
2021-01-14 18:50:59 -06:00
|
|
|
version = "0.19.1"
|
2021-01-14 19:26:55 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a58135eb039f3a3279a33779192f0ee78b56f57ae636e25cec83530e41debb99"
|
2018-02-02 01:29:59 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"rls-span",
|
|
|
|
"serde",
|
2018-02-02 01:29:59 -06:00
|
|
|
]
|
|
|
|
|
2019-09-08 03:28:11 -05: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 00:09:36 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rls-rustc"
|
2019-03-10 11:03:32 -05:00
|
|
|
version = "0.6.0"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
|
|
|
"clippy_lints",
|
2022-01-15 10:31:37 -06:00
|
|
|
"env_logger 0.9.0",
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures 0.3.12",
|
2019-09-08 03:28:11 -05:00
|
|
|
"log",
|
2022-01-15 10:31:37 -06:00
|
|
|
"rand 0.8.4",
|
2019-09-08 03:28:11 -05:00
|
|
|
"rls-data",
|
|
|
|
"rls-ipc",
|
|
|
|
"serde",
|
|
|
|
"tokio",
|
|
|
|
]
|
2017-08-30 00:09:36 -05:00
|
|
|
|
2017-03-13 21:16:44 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rls-span"
|
2021-01-14 18:50:59 -06:00
|
|
|
version = "0.5.3"
|
2021-01-14 19:26:55 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f0eea58478fc06e15f71b03236612173a1b81e9770314edecfa664375e3e4c86"
|
2017-03-13 21:16:44 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rls-vfs"
|
2019-04-21 05:52:07 -05:00
|
|
|
version = "0.8.0"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "ce4b57b25b4330ed5ec14028fc02141e083ddafda327e7eb598dc0569c8c83c9"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"rls-span",
|
2017-03-13 21:16:44 -05:00
|
|
|
]
|
|
|
|
|
2020-07-02 13:27:15 -05: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 18:15:17 -05:00
|
|
|
version = "0.0.1"
|
2020-07-02 13:27:15 -05: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 18:15:17 -05:00
|
|
|
"regex",
|
2020-07-02 13:27:15 -05:00
|
|
|
"rustc-demangle",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustbook"
|
2017-02-07 17:13:57 -06:00
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2022-01-18 21:14:33 -06:00
|
|
|
"clap 2.34.0",
|
2020-11-14 19:37:02 -06:00
|
|
|
"env_logger 0.7.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"mdbook",
|
2017-02-07 17:13:57 -06:00
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2017-05-08 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
2021-08-10 16:05:25 -05:00
|
|
|
version = "0.1.21"
|
2017-05-08 17:01:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-10 16:05:25 -05:00
|
|
|
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
|
2018-12-14 16:37:51 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2018-12-14 16:37:51 -06:00
|
|
|
]
|
2017-05-08 17:01:13 -05:00
|
|
|
|
2018-05-24 07:48:02 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
2020-05-26 19:19:19 -05:00
|
|
|
version = "1.1.0"
|
2018-05-24 07:48:02 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 19:19:19 -05:00
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
2018-05-24 07:48:02 -05:00
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-main"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_codegen_ssa",
|
|
|
|
"rustc_driver",
|
2021-04-04 16:07:56 -05:00
|
|
|
"tikv-jemalloc-sys",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2019-09-10 12:13:07 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-rayon"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "0.3.2"
|
2019-09-10 12:13:07 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "9974ab223660e61c1b4e7b43b827379df286736ca988308ce7e16f59f2d89246"
|
2019-09-10 12:13:07 -05:00
|
|
|
dependencies = [
|
2019-12-04 11:40:16 -06:00
|
|
|
"crossbeam-deque",
|
2019-09-10 12:13:07 -05:00
|
|
|
"either",
|
2019-12-10 09:01:01 -06:00
|
|
|
"rustc-rayon-core",
|
2019-04-25 15:50:41 -05:00
|
|
|
]
|
|
|
|
|
2019-09-10 12:13:07 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-rayon-core"
|
2022-01-10 13:34:07 -06:00
|
|
|
version = "0.3.2"
|
2019-09-10 12:13:07 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 13:34:07 -06:00
|
|
|
checksum = "564bfd27be8db888d0fa76aa4335e7851aaed0c2c11ad1e93aeb9349f6b88500"
|
2019-09-10 12:13:07 -05:00
|
|
|
dependencies = [
|
2019-12-04 11:40:16 -06:00
|
|
|
"crossbeam-deque",
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-09-10 12:13:07 -05:00
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
2020-12-06 08:07:59 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-semver"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5be1bdc7edf596692617627bbfeaba522131b18e06ca4df2b6b689e3c5d5ce84"
|
|
|
|
|
2019-02-07 05:08:05 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-alloc"
|
2019-09-09 15:01:05 -05:00
|
|
|
version = "1.99.0"
|
2019-02-07 05:08:05 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"alloc",
|
2019-02-07 05:08:05 -06: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-19 23:52:50 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-core"
|
2019-09-09 15:01:05 -05: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-19 23:52:50 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05: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-19 23:52:50 -06: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 10:29:08 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-std"
|
2019-09-09 15:01:05 -05: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 10:29:08 -05:00
|
|
|
dependencies = [
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
|
2018-07-31 16:16:55 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-workspace-hack"
|
|
|
|
version = "1.0.0"
|
|
|
|
dependencies = [
|
2021-06-23 09:41:34 -05:00
|
|
|
"bstr",
|
2020-11-05 09:58:23 -06:00
|
|
|
"byteorder",
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2020-12-05 11:08:33 -06:00
|
|
|
"libc",
|
2020-12-23 14:18:15 -06:00
|
|
|
"libz-sys",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2021-04-23 20:00:46 -05:00
|
|
|
"rand_core 0.5.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-08-01 09:11:15 -05:00
|
|
|
"syn",
|
2021-05-11 19:39:51 -05:00
|
|
|
"url 2.2.2",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-07-31 16:16:55 -05:00
|
|
|
]
|
|
|
|
|
2017-07-08 12:46:43 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_apfloat"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2017-07-08 12:46:43 -05:00
|
|
|
]
|
|
|
|
|
2020-06-02 12:03:40 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_arena"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-03-10 19:53:35 -06:00
|
|
|
"rustc_data_structures",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-06-02 12:03:40 -05:00
|
|
|
]
|
|
|
|
|
2020-02-29 11:16:26 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-05-06 08:46:01 -05:00
|
|
|
"bitflags",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_lexer",
|
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_span",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-02-29 11:16:26 -06:00
|
|
|
]
|
|
|
|
|
2019-12-22 11:12:56 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_lowering"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_arena",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2019-12-22 11:12:56 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2019-12-22 11:12:56 -06:00
|
|
|
"rustc_index",
|
2021-09-19 15:17:50 -05:00
|
|
|
"rustc_query_system",
|
2019-12-24 15:42:56 -06:00
|
|
|
"rustc_session",
|
2019-12-22 11:12:56 -06:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-12-22 11:12:56 -06:00
|
|
|
]
|
|
|
|
|
2020-01-05 03:58:44 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_passes"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2022-01-14 05:33:54 -06:00
|
|
|
"itertools 0.10.1",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2020-01-05 03:58:44 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 04:11:39 -06:00
|
|
|
"rustc_feature",
|
2020-01-05 03:58:44 -06:00
|
|
|
"rustc_parse",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
2021-07-08 14:58:05 -05:00
|
|
|
"rustc_target",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-01-05 03:58:44 -06:00
|
|
|
]
|
|
|
|
|
2020-01-11 10:02:46 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_pretty"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2020-01-11 06:15:20 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_attr"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
2020-08-10 14:27:48 -05:00
|
|
|
"rustc_lexer",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2020-12-30 11:48:40 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_borrowck"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
2022-01-14 05:33:54 -06:00
|
|
|
"itertools 0.10.1",
|
2020-12-30 11:48:40 -06:00
|
|
|
"polonius-engine",
|
2021-01-05 13:08:11 -06:00
|
|
|
"rustc_const_eval",
|
2020-12-30 11:48:40 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_graphviz",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_infer",
|
|
|
|
"rustc_lexer",
|
|
|
|
"rustc_middle",
|
2021-01-05 12:53:07 -06:00
|
|
|
"rustc_mir_dataflow",
|
2020-12-30 11:48:40 -06:00
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"rustc_trait_selection",
|
|
|
|
"rustc_traits",
|
|
|
|
"smallvec",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2019-12-29 07:53:32 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_builtin_macros"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_expand",
|
|
|
|
"rustc_feature",
|
2020-11-14 05:47:14 -06:00
|
|
|
"rustc_lexer",
|
2021-11-24 03:20:23 -06:00
|
|
|
"rustc_lint_defs",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_parse",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_parse_format",
|
2020-01-05 03:47:20 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-12-29 07:53:32 -06:00
|
|
|
]
|
|
|
|
|
2018-05-08 08:10:16 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_codegen_llvm"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-10-22 10:51:35 -05:00
|
|
|
"bitflags",
|
2021-02-13 05:17:15 -06:00
|
|
|
"cstr",
|
2019-10-22 10:51:35 -05:00
|
|
|
"libc",
|
2021-11-08 17:03:55 -06:00
|
|
|
"libloading",
|
2021-10-07 08:08:44 -05:00
|
|
|
"measureme 10.0.0",
|
2019-10-22 10:51:35 -05:00
|
|
|
"rustc-demangle",
|
2021-08-08 10:24:30 -05:00
|
|
|
"rustc_arena",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-10-22 10:51:35 -05:00
|
|
|
"rustc_codegen_ssa",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_fs_util",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2019-10-22 10:51:35 -05:00
|
|
|
"rustc_index",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_llvm",
|
2021-05-29 15:49:59 -05:00
|
|
|
"rustc_metadata",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-11-14 09:48:54 -06:00
|
|
|
"rustc_query_system",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-12-05 21:04:35 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-10-22 10:51:35 -05:00
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2018-05-08 08:10:16 -05:00
|
|
|
]
|
|
|
|
|
2018-10-01 11:07:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_codegen_ssa"
|
|
|
|
version = "0.0.0"
|
2018-10-23 10:01:35 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
|
|
|
"cc",
|
2022-01-14 05:33:54 -06:00
|
|
|
"itertools 0.10.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"jobserver",
|
|
|
|
"libc",
|
2022-01-06 23:32:58 -06:00
|
|
|
"object 0.28.1",
|
2020-07-17 17:01:27 -05:00
|
|
|
"pathdiff",
|
2021-07-30 14:18:14 -05:00
|
|
|
"regex",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_apfloat",
|
2021-12-03 08:24:05 -06:00
|
|
|
"rustc_arena",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_fs_util",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_incremental",
|
2019-09-26 00:30:10 -05:00
|
|
|
"rustc_index",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2021-09-24 11:15:36 -05:00
|
|
|
"rustc_metadata",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-11-14 09:48:54 -06:00
|
|
|
"rustc_query_system",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-11-12 07:22:16 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2020-03-12 18:07:58 -05:00
|
|
|
"rustc_symbol_mangling",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_target",
|
2021-07-14 08:50:42 -05:00
|
|
|
"smallvec",
|
Use object crate for .rustc metadata generation
We already use the object crate for generating uncompressed .rmeta
metadata object files. This switches the generation of compressed
.rustc object files to use the object crate as well. These have
slightly different requirements in that .rmeta should be completely
excluded from any final compilation artifacts, while .rustc should
be part of shared objects, but not loaded into memory.
The primary motivation for this change is #90326: In LLVM 14, the
current way of setting section flags (and in particular, preventing
the setting of SHF_ALLOC) will no longer work. There are other ways
we could work around this, but switching to the object crate seems
like the most elegant, as we already use it for .rmeta, and as it
makes this independent of the codegen backend. In particular, we
don't need separate handling in codegen_llvm and codegen_gcc.
codegen_cranelift should be able to reuse the implementation as
well, though I have omitted that here, as it is not based on
codegen_ssa.
This change mostly extracts the existing code for .rmeta handling
to allow using it for .rustc as well, and adjust the codegen
infrastructure to handle the metadata object file separately: We
no longer create a backend-specific module for it, and directly
produce the compiled module instead.
This does not fix #90326 by itself yet, as .llvmbc will need to be
handled separately.
2021-12-02 05:24:25 -06:00
|
|
|
"snap",
|
2019-08-14 19:45:09 -05:00
|
|
|
"tempfile",
|
2021-12-03 08:24:05 -06:00
|
|
|
"thorin-dwp",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2018-10-23 10:01:35 -05:00
|
|
|
]
|
2018-10-01 11:07:04 -05:00
|
|
|
|
2021-01-05 13:08:11 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_const_eval"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_apfloat",
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_infer",
|
|
|
|
"rustc_macros",
|
|
|
|
"rustc_middle",
|
|
|
|
"rustc_mir_dataflow",
|
2020-11-14 09:48:54 -06:00
|
|
|
"rustc_query_system",
|
2021-01-05 13:08:11 -06:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"rustc_trait_selection",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_data_structures"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 15:59:35 -05:00
|
|
|
"arrayvec",
|
2019-11-11 16:15:36 -06:00
|
|
|
"bitflags",
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-27 00:05:09 -05:00
|
|
|
"ena",
|
2019-08-14 19:45:09 -05:00
|
|
|
"indexmap",
|
|
|
|
"jobserver",
|
2020-04-10 15:42:19 -05:00
|
|
|
"libc",
|
2021-10-07 08:08:44 -05:00
|
|
|
"measureme 10.0.0",
|
2021-03-29 04:18:52 -05:00
|
|
|
"memmap2",
|
2021-02-09 19:52:54 -06:00
|
|
|
"parking_lot",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc-hash",
|
2019-12-10 09:01:01 -06:00
|
|
|
"rustc-rayon",
|
|
|
|
"rustc-rayon-core",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_graphviz",
|
2019-09-25 14:09:51 -05:00
|
|
|
"rustc_index",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2019-08-14 19:45:09 -05:00
|
|
|
"stable_deref_trait",
|
2020-03-14 13:13:55 -05:00
|
|
|
"stacker",
|
2020-08-08 20:05:50 -05:00
|
|
|
"tempfile",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_driver"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 15:42:19 -05:00
|
|
|
"libc",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2020-01-23 04:48:48 -06:00
|
|
|
"rustc_codegen_ssa",
|
2021-01-05 13:08:11 -06:00
|
|
|
"rustc_const_eval",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
2019-11-15 12:41:50 -06:00
|
|
|
"rustc_error_codes",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_errors",
|
2019-11-29 19:34:18 -06:00
|
|
|
"rustc_feature",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-03-23 14:59:19 -05:00
|
|
|
"rustc_hir_pretty",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_interface",
|
2019-10-09 08:53:13 -05:00
|
|
|
"rustc_lint",
|
2022-01-03 18:32:52 -06:00
|
|
|
"rustc_log",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_metadata",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2019-10-15 15:48:13 -05:00
|
|
|
"rustc_parse",
|
2019-07-16 12:08:32 -05:00
|
|
|
"rustc_plugin_impl",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_save_analysis",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_target",
|
2021-07-24 16:18:15 -05:00
|
|
|
"rustc_typeck",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2019-11-11 15:47:05 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_error_codes"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_errors"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 15:59:35 -05:00
|
|
|
"annotate-snippets",
|
2019-08-14 19:45:09 -05:00
|
|
|
"atty",
|
|
|
|
"rustc_data_structures",
|
2020-08-13 14:41:52 -05:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-08-14 19:45:09 -05:00
|
|
|
"termcolor",
|
2020-01-28 18:13:48 -06:00
|
|
|
"termize",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-width",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2019-12-29 07:53:32 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_expand"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-05 04:11:39 -06:00
|
|
|
"rustc_ast_passes",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
|
|
|
"rustc_lexer",
|
2020-12-07 17:55:00 -06:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_parse",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-01-05 03:47:20 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-12-29 07:53:32 -06:00
|
|
|
]
|
|
|
|
|
2019-11-29 17:23:38 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_feature"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-11-29 19:34:18 -06:00
|
|
|
"rustc_data_structures",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-11-29 17:23:38 -06:00
|
|
|
]
|
|
|
|
|
2018-08-03 16:31:03 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_fs_util"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2020-06-02 12:03:40 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_graphviz"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2019-12-24 20:51:27 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_hir"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-07-20 06:54:37 -05:00
|
|
|
"odht",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2019-12-24 20:51:27 -06:00
|
|
|
"rustc_data_structures",
|
2020-12-30 17:07:41 -06:00
|
|
|
"rustc_feature",
|
2019-12-24 20:51:27 -06:00
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-12-24 20:51:27 -06:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-12-24 20:51:27 -06:00
|
|
|
]
|
|
|
|
|
2020-03-23 14:59:19 -05: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 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_incremental"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2022-01-14 06:05:27 -06:00
|
|
|
"rand 0.8.4",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
2021-05-25 13:48:59 -05:00
|
|
|
"rustc_errors",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_fs_util",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_graphviz",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-11-12 07:22:16 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2019-09-25 14:09:51 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_index"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 15:59:35 -05:00
|
|
|
"arrayvec",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2021-11-05 13:50:29 -05:00
|
|
|
"smallvec",
|
2019-09-25 14:09:51 -05:00
|
|
|
]
|
|
|
|
|
2020-01-06 13:13:24 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_infer"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2020-01-06 13:13:24 -06:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-01-06 13:13:24 -06:00
|
|
|
]
|
|
|
|
|
2018-12-08 13:30:23 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_interface"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 15:42:19 -05:00
|
|
|
"libc",
|
2021-11-08 17:03:55 -06:00
|
|
|
"libloading",
|
2019-12-10 09:01:01 -06:00
|
|
|
"rustc-rayon",
|
2020-11-18 12:02:31 -06:00
|
|
|
"rustc-rayon-core",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2019-12-22 11:12:56 -06:00
|
|
|
"rustc_ast_lowering",
|
2020-01-05 03:58:44 -06:00
|
|
|
"rustc_ast_passes",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2020-12-30 11:48:40 -06:00
|
|
|
"rustc_borrowck",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_builtin_macros",
|
2019-10-22 10:51:35 -05:00
|
|
|
"rustc_codegen_llvm",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_codegen_ssa",
|
2021-01-05 13:08:11 -06:00
|
|
|
"rustc_const_eval",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_expand",
|
2019-12-24 20:51:27 -06:00
|
|
|
"rustc_hir",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_incremental",
|
|
|
|
"rustc_lint",
|
|
|
|
"rustc_metadata",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-01-05 09:46:44 -06:00
|
|
|
"rustc_mir_build",
|
2020-12-31 18:53:25 -06:00
|
|
|
"rustc_mir_transform",
|
2021-01-02 07:42:15 -06:00
|
|
|
"rustc_monomorphize",
|
2019-10-15 15:48:13 -05:00
|
|
|
"rustc_parse",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_passes",
|
2019-07-16 12:08:32 -05:00
|
|
|
"rustc_plugin_impl",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_privacy",
|
2021-01-19 13:40:16 -06:00
|
|
|
"rustc_query_impl",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_resolve",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-01-05 02:40:16 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2020-03-12 18:07:58 -05:00
|
|
|
"rustc_symbol_mangling",
|
2019-10-11 16:48:16 -05:00
|
|
|
"rustc_target",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_trait_selection",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_traits",
|
2020-11-19 14:32:37 -06:00
|
|
|
"rustc_ty_utils",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_typeck",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2019-08-14 19:45:09 -05:00
|
|
|
"tempfile",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-12-08 13:30:23 -06:00
|
|
|
]
|
|
|
|
|
2019-05-06 03:53:40 -05: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 07:03:50 -05:00
|
|
|
"expect-test",
|
2021-08-29 03:34:23 -05:00
|
|
|
"unic-emoji-char",
|
2020-08-01 09:11:15 -05:00
|
|
|
"unicode-xid",
|
2019-05-06 03:53:40 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_lint"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-12-02 17:16:12 -06:00
|
|
|
"if_chain",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
2020-01-09 04:18:47 -06:00
|
|
|
"rustc_errors",
|
2019-11-29 17:23:38 -06:00
|
|
|
"rustc_feature",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2019-09-26 00:38:33 -05:00
|
|
|
"rustc_index",
|
2021-08-16 10:25:35 -05:00
|
|
|
"rustc_infer",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-10-20 15:25:42 -05:00
|
|
|
"rustc_parse_format",
|
2020-05-25 18:21:25 -05:00
|
|
|
"rustc_serialize",
|
2019-11-12 11:09:20 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_target",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_trait_selection",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-01-02 06:02:22 -06:00
|
|
|
"unicode-security",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2020-08-13 14:41:52 -05: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 16:12:38 -05:00
|
|
|
"rustc_target",
|
2020-08-13 14:41:52 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_llvm"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"build_helper",
|
|
|
|
"cc",
|
2019-12-12 09:51:19 -06:00
|
|
|
"libc",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2022-01-03 18:32:52 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_log"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
2022-01-04 00:01:35 -06:00
|
|
|
"rustc_span",
|
2022-01-03 18:32:52 -06:00
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
|
|
|
]
|
|
|
|
|
2019-02-28 18:22:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-05 06:26:16 -05:00
|
|
|
"synstructure",
|
2019-02-28 18:22:10 -06:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_metadata"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-11-08 17:03:55 -06:00
|
|
|
"libloading",
|
2021-07-20 06:54:37 -05:00
|
|
|
"odht",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_expand",
|
2020-09-12 18:58:17 -05:00
|
|
|
"rustc_feature",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-03-23 14:59:19 -05:00
|
|
|
"rustc_hir_pretty",
|
2019-09-26 00:30:10 -05:00
|
|
|
"rustc_index",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-08-20 18:16:30 -05:00
|
|
|
"snap",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2020-03-29 08:24:45 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_middle"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2020-03-03 10:25:03 -06:00
|
|
|
"chalk-ir",
|
2021-01-05 12:53:07 -06:00
|
|
|
"either",
|
|
|
|
"gsgdt",
|
2020-03-29 08:24:45 -05:00
|
|
|
"polonius-engine",
|
2021-08-29 10:55:29 -05:00
|
|
|
"rand 0.8.4",
|
|
|
|
"rand_xoshiro 0.6.0",
|
2021-07-16 07:42:26 -05:00
|
|
|
"rustc-rayon",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc-rayon-core",
|
|
|
|
"rustc_apfloat",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_arena",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
2021-01-05 12:53:07 -06:00
|
|
|
"rustc_graphviz",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
|
|
|
"rustc_query_system",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-11-18 09:37:10 -06:00
|
|
|
"rustc_type_ir",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-03-29 08:24:45 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
2020-01-05 09:46:44 -06:00
|
|
|
name = "rustc_mir_build"
|
2016-09-02 03:55:29 -05:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_apfloat",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_arena",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2019-09-26 00:30:10 -05:00
|
|
|
"rustc_index",
|
2020-01-06 13:13:24 -06:00
|
|
|
"rustc_infer",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_target",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_trait_selection",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2020-01-05 09:46:44 -06:00
|
|
|
[[package]]
|
2021-01-05 12:53:07 -06:00
|
|
|
name = "rustc_mir_dataflow"
|
2020-01-05 09:46:44 -06:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-01-05 12:53:07 -06:00
|
|
|
"polonius-engine",
|
|
|
|
"regex",
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_graphviz",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_middle",
|
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"smallvec",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2020-12-31 18:53:25 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_mir_transform"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"coverage_test_macros",
|
2022-01-14 05:33:54 -06:00
|
|
|
"itertools 0.10.1",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2021-01-05 13:08:11 -06:00
|
|
|
"rustc_const_eval",
|
2020-01-05 09:46:44 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2021-01-05 12:53:07 -06:00
|
|
|
"rustc_mir_dataflow",
|
2020-11-14 09:48:54 -06:00
|
|
|
"rustc_query_system",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-01-20 15:23:07 -06:00
|
|
|
"rustc_session",
|
2020-01-05 09:46:44 -06:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_trait_selection",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-01-05 09:46:44 -06:00
|
|
|
]
|
|
|
|
|
2021-01-02 07:42:15 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_monomorphize"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_middle",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"smallvec",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2019-10-15 15:48:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_parse"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2019-10-15 15:48:13 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-11-29 17:23:38 -06:00
|
|
|
"rustc_feature",
|
2019-10-15 15:48:13 -05:00
|
|
|
"rustc_lexer",
|
2020-01-05 03:47:20 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-11-23 08:33:40 -06:00
|
|
|
"unicode-normalization",
|
2021-08-19 13:40:00 -05:00
|
|
|
"unicode-width",
|
2019-10-15 15:48:13 -05:00
|
|
|
]
|
|
|
|
|
2020-06-02 12:03:40 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_parse_format"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_lexer",
|
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_passes"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2021-03-14 16:39:13 -05:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2021-07-29 12:00:41 -05:00
|
|
|
"rustc_feature",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2019-10-04 09:46:57 -05:00
|
|
|
"rustc_index",
|
2020-12-01 16:41:12 -06:00
|
|
|
"rustc_lexer",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2021-07-29 12:00:41 -05:00
|
|
|
"rustc_parse",
|
2020-09-25 19:00:00 -05:00
|
|
|
"rustc_serialize",
|
2020-01-02 05:54:43 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-10-04 09:46:57 -05:00
|
|
|
"rustc_target",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2019-07-16 12:08:32 -05:00
|
|
|
name = "rustc_plugin_impl"
|
2016-09-02 03:55:29 -05:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-11-08 17:03:55 -06:00
|
|
|
"libloading",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2019-12-31 14:25:16 -06:00
|
|
|
"rustc_errors",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-01-09 00:52:01 -06:00
|
|
|
"rustc_lint",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_metadata",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_privacy"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-07-31 01:50:57 -05:00
|
|
|
"rustc_ast",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
2019-12-31 14:25:16 -06:00
|
|
|
"rustc_errors",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2020-11-22 03:37:37 -06:00
|
|
|
"rustc_trait_selection",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_typeck",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2021-01-19 13:40:16 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_query_impl"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-10-07 08:08:44 -05:00
|
|
|
"measureme 10.0.0",
|
2021-01-19 13:40:16 -06:00
|
|
|
"rustc-rayon-core",
|
2021-06-28 14:12:01 -05:00
|
|
|
"rustc_ast",
|
2021-01-19 13:40:16 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
2021-06-28 14:12:01 -05:00
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2021-01-19 13:40:16 -06:00
|
|
|
"rustc_middle",
|
|
|
|
"rustc_query_system",
|
|
|
|
"rustc_serialize",
|
2021-06-28 14:12:01 -05:00
|
|
|
"rustc_session",
|
2021-01-19 13:40:16 -06:00
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2020-03-18 04:25:22 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_query_system"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-02-09 19:52:54 -06:00
|
|
|
"parking_lot",
|
2020-03-19 08:13:31 -05:00
|
|
|
"rustc-rayon-core",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_arena",
|
2020-11-14 09:35:31 -06:00
|
|
|
"rustc_ast",
|
2020-03-18 04:25:22 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-11-14 09:35:31 -06:00
|
|
|
"rustc_feature",
|
|
|
|
"rustc_hir",
|
2020-03-18 04:25:22 -05:00
|
|
|
"rustc_index",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2020-11-12 13:48:37 -06:00
|
|
|
"rustc_session",
|
2020-03-19 08:13:31 -05:00
|
|
|
"rustc_span",
|
2020-11-14 09:35:31 -06:00
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-03-18 04:25:22 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_resolve"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_arena",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2019-12-22 11:12:56 -06:00
|
|
|
"rustc_ast_lowering",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_expand",
|
2019-11-29 19:34:18 -06:00
|
|
|
"rustc_feature",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-06-20 13:59:29 -05:00
|
|
|
"rustc_index",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_metadata",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2021-09-19 15:17:50 -05:00
|
|
|
"rustc_query_system",
|
2019-12-24 15:42:56 -06:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_save_analysis"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"rls-data",
|
|
|
|
"rls-span",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 10:02:46 -06:00
|
|
|
"rustc_ast_pretty",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-03-23 20:44:41 -05:00
|
|
|
"rustc_hir_pretty",
|
2020-08-29 04:38:15 -05:00
|
|
|
"rustc_lexer",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde_json",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2020-06-02 12:03:40 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_serialize"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
2020-07-18 14:14:50 -05:00
|
|
|
"rustc_macros",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-06-02 12:03:40 -05:00
|
|
|
]
|
|
|
|
|
2019-11-12 07:17:33 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_session"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 15:42:19 -05:00
|
|
|
"getopts",
|
2019-11-29 15:05:28 -06:00
|
|
|
"num_cpus",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2019-11-12 07:17:33 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-11-29 15:05:28 -06:00
|
|
|
"rustc_feature",
|
|
|
|
"rustc_fs_util",
|
2020-11-13 20:02:03 -06:00
|
|
|
"rustc_hir",
|
2020-08-13 14:41:52 -05:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 09:49:57 -05:00
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-11-29 15:05:28 -06:00
|
|
|
"rustc_target",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-12-29 07:53:32 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_span"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2020-12-05 09:40:24 -06:00
|
|
|
"md-5",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_arena",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-12-29 07:53:32 -06:00
|
|
|
"scoped-tls",
|
2020-10-13 10:41:06 -05:00
|
|
|
"sha-1 0.9.1",
|
|
|
|
"sha2",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2019-12-29 07:53:32 -06:00
|
|
|
"unicode-width",
|
2019-11-12 07:17:33 -06:00
|
|
|
]
|
|
|
|
|
2020-03-12 18:07:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_symbol_mangling"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"punycode",
|
|
|
|
"rustc-demangle",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_hir",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-11-14 09:48:54 -06:00
|
|
|
"rustc_query_system",
|
2020-03-12 18:07:58 -05:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-03-12 18:07:58 -05:00
|
|
|
]
|
|
|
|
|
2017-12-08 13:18:21 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_target"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bitflags",
|
|
|
|
"rustc_data_structures",
|
2019-09-26 00:38:33 -05:00
|
|
|
"rustc_index",
|
2019-11-09 15:27:52 -06:00
|
|
|
"rustc_macros",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_serialize",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2017-12-08 13:18:21 -06:00
|
|
|
]
|
|
|
|
|
2018-09-07 02:12:06 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_tools_util"
|
2019-06-08 15:15:22 -05:00
|
|
|
version = "0.2.0"
|
2019-01-05 08:40:10 -06:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_tools_util"
|
2019-05-26 12:21:54 -05:00
|
|
|
version = "0.2.0"
|
2019-06-08 15:15:22 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "b725dadae9fabc488df69a287f5a99c5eaf5d10853842a8a3dfac52476f544ee"
|
2018-09-07 02:12:06 -05:00
|
|
|
|
2020-02-11 12:53:40 -06: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",
|
2021-10-02 06:00:36 -05:00
|
|
|
"rustc_lint_defs",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_macros",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_parse_format",
|
2020-11-14 09:48:54 -06:00
|
|
|
"rustc_query_system",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-02-11 12:53:40 -06:00
|
|
|
]
|
|
|
|
|
2018-02-25 09:58:54 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_traits"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-08-04 17:35:37 -05:00
|
|
|
"chalk-engine",
|
2020-03-03 10:25:03 -06:00
|
|
|
"chalk-ir",
|
|
|
|
"chalk-solve",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2021-01-01 12:44:31 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-03-03 10:25:03 -06:00
|
|
|
"rustc_index",
|
2020-01-06 13:13:24 -06:00
|
|
|
"rustc_infer",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_trait_selection",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2018-02-25 09:58:54 -06:00
|
|
|
]
|
|
|
|
|
2020-01-13 06:40:30 -06:00
|
|
|
[[package]]
|
2020-11-19 14:32:37 -06:00
|
|
|
name = "rustc_ty_utils"
|
2020-01-13 06:40:30 -06:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_data_structures",
|
2020-04-09 21:13:29 -05:00
|
|
|
"rustc_errors",
|
2020-01-13 06:40:30 -06:00
|
|
|
"rustc_hir",
|
2020-01-06 13:13:24 -06:00
|
|
|
"rustc_infer",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2020-01-13 06:40:30 -06:00
|
|
|
"rustc_span",
|
2020-02-12 10:24:32 -06:00
|
|
|
"rustc_target",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_trait_selection",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2020-01-13 06:40:30 -06:00
|
|
|
]
|
2018-02-25 09:58:54 -06:00
|
|
|
|
2020-11-18 09:37:10 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_type_ir"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
2020-12-12 08:25:55 -06:00
|
|
|
"rustc_macros",
|
2020-11-18 09:37:10 -06:00
|
|
|
"rustc_serialize",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_typeck"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-06-02 12:03:40 -05:00
|
|
|
"rustc_arena",
|
2020-02-29 11:16:26 -06:00
|
|
|
"rustc_ast",
|
2020-01-11 06:15:20 -06:00
|
|
|
"rustc_attr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2021-11-17 19:53:47 -06:00
|
|
|
"rustc_graphviz",
|
2020-01-04 19:37:57 -06:00
|
|
|
"rustc_hir",
|
2020-07-08 21:39:26 -05:00
|
|
|
"rustc_hir_pretty",
|
2019-09-26 00:38:33 -05:00
|
|
|
"rustc_index",
|
2020-01-06 13:13:24 -06:00
|
|
|
"rustc_infer",
|
2021-08-30 14:19:24 -05:00
|
|
|
"rustc_lint",
|
2020-08-27 05:00:21 -05:00
|
|
|
"rustc_macros",
|
2020-03-29 08:24:45 -05:00
|
|
|
"rustc_middle",
|
2021-11-10 19:32:04 -06:00
|
|
|
"rustc_serialize",
|
2020-03-11 06:49:08 -05:00
|
|
|
"rustc_session",
|
2019-12-29 07:53:32 -06:00
|
|
|
"rustc_span",
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustc_target",
|
2020-02-11 12:53:40 -06:00
|
|
|
"rustc_trait_selection",
|
2021-04-27 08:01:37 -05:00
|
|
|
"rustc_ty_utils",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2021-10-04 17:13:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
|
|
|
dependencies = [
|
|
|
|
"semver 1.0.3",
|
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 15:59:35 -05:00
|
|
|
"arrayvec",
|
2022-01-03 11:18:46 -06:00
|
|
|
"askama",
|
2022-01-12 11:46:18 -06:00
|
|
|
"atty",
|
2020-08-27 05:50:28 -05:00
|
|
|
"expect-test",
|
2020-09-12 01:24:09 -05:00
|
|
|
"itertools 0.9.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"minifier",
|
2022-01-19 04:02:24 -06:00
|
|
|
"pulldown-cmark",
|
2021-10-28 20:19:01 -05:00
|
|
|
"rayon",
|
2020-10-13 08:46:34 -05:00
|
|
|
"regex",
|
2021-01-25 15:23:43 -06:00
|
|
|
"rustdoc-json-types",
|
2019-06-29 12:30:45 -05:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2019-08-14 19:45:09 -05:00
|
|
|
"tempfile",
|
2020-12-28 12:28:29 -06:00
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
2017-07-22 21:01:58 -05:00
|
|
|
]
|
|
|
|
|
2021-01-25 15:23:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-json-types"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
2021-03-04 17:45:57 -06:00
|
|
|
"serde_json",
|
2021-01-25 15:23:43 -06:00
|
|
|
]
|
|
|
|
|
2018-02-05 16:43:53 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-themes"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2017-07-22 21:01:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-tool"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"rustdoc",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2020-01-14 11:47:04 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustfix"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.5.1"
|
2020-01-14 11:47:04 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "f2c50b74badcddeb8f7652fa8323ce440b95286f8e4b64ebfd871c609672704e"
|
2020-01-14 11:47:04 -06:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2021-06-12 14:11:50 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustfix"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6f0be05fc0675ef4f47119dc39cfc46636bb77d4fc4ef1bd851b9c3f7697f32a"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2019-06-18 07:15:19 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustfmt-config_proc_macro"
|
2019-09-08 03:28:11 -05:00
|
|
|
version = "0.2.0"
|
2019-06-18 07:15:19 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2020-08-01 09:11:15 -05:00
|
|
|
"syn",
|
2019-06-18 07:15:19 -05:00
|
|
|
]
|
|
|
|
|
2019-07-30 06:00:27 -05:00
|
|
|
[[package]]
|
|
|
|
name = "rustfmt-nightly"
|
2021-10-20 00:15:20 -05:00
|
|
|
version = "1.4.38"
|
2019-07-30 06:00:27 -05:00
|
|
|
dependencies = [
|
2021-05-03 15:59:35 -05:00
|
|
|
"annotate-snippets",
|
2020-06-15 04:43:39 -05:00
|
|
|
"anyhow",
|
2019-08-14 19:45:09 -05:00
|
|
|
"bytecount",
|
2021-10-20 00:15:20 -05:00
|
|
|
"cargo_metadata 0.14.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"derive-new",
|
|
|
|
"diff",
|
|
|
|
"dirs",
|
2021-10-20 00:15:20 -05:00
|
|
|
"env_logger 0.8.4",
|
2019-08-14 19:45:09 -05:00
|
|
|
"getopts",
|
|
|
|
"ignore",
|
2021-10-20 00:15:20 -05:00
|
|
|
"itertools 0.9.0",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"rustc-workspace-hack",
|
|
|
|
"rustfmt-config_proc_macro",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-11-12 12:14:48 -06:00
|
|
|
"structopt",
|
2020-08-17 10:21:44 -05:00
|
|
|
"term 0.6.1",
|
2020-06-15 04:43:39 -05:00
|
|
|
"thiserror",
|
2019-08-20 12:46:35 -05:00
|
|
|
"toml",
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-segmentation",
|
|
|
|
"unicode-width",
|
|
|
|
"unicode_categories",
|
2019-07-30 06:00:27 -05:00
|
|
|
]
|
|
|
|
|
2021-02-25 04:26:23 -06:00
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
2021-06-18 00:34:55 -05:00
|
|
|
version = "1.0.5"
|
2021-02-25 04:26:23 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-18 00:34:55 -05:00
|
|
|
checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088"
|
2021-02-25 04:26:23 -06:00
|
|
|
|
2018-08-21 12:23:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.5"
|
2018-08-21 12:23:47 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
2018-08-21 12:23:47 -05:00
|
|
|
|
2018-01-08 15:56:22 -06:00
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.0.6"
|
2018-01-08 15:56:22 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
2018-01-08 15:56:22 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"winapi-util",
|
2018-01-08 15:56:22 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.19"
|
2018-01-08 15:56:22 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
|
2018-01-08 15:56:22 -06:00
|
|
|
dependencies = [
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-01-08 15:56:22 -06:00
|
|
|
]
|
|
|
|
|
2019-02-26 04:15:52 -06:00
|
|
|
[[package]]
|
|
|
|
name = "scoped-tls"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
|
2019-02-26 04:15:52 -06:00
|
|
|
|
2019-07-25 08:57:25 -05:00
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.1.0"
|
2019-07-25 08:57:25 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
2019-07-25 08:57:25 -05:00
|
|
|
|
2020-12-16 11:03:33 -06: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",
|
|
|
|
]
|
|
|
|
|
2020-10-23 16:47:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6"
|
|
|
|
dependencies = [
|
2021-10-20 00:15:20 -05:00
|
|
|
"semver-parser",
|
2020-05-25 19:56:32 -05:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-06-01 22:38:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2021-06-03 23:12:25 -05:00
|
|
|
version = "1.0.3"
|
2021-06-01 22:38:39 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-03 23:12:25 -05:00
|
|
|
checksum = "5f3aac57ee7f3272d8395c6e4f502f434f0e289fcd62876f70daa008c20dcabe"
|
2021-06-01 22:38:39 -05:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2020-10-23 16:47:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "semver-parser"
|
2021-02-21 07:32:38 -06:00
|
|
|
version = "0.10.2"
|
2020-10-23 16:47:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-21 07:32:38 -06:00
|
|
|
checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7"
|
2020-10-23 16:47:58 -05:00
|
|
|
dependencies = [
|
|
|
|
"pest",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2021-03-26 14:29:08 -05:00
|
|
|
version = "1.0.125"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 14:29:08 -05:00
|
|
|
checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171"
|
2018-12-17 12:23:04 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde_derive",
|
2018-12-17 12:23:04 -06:00
|
|
|
]
|
2017-04-29 18:11:58 -05:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2021-03-26 14:29:08 -05:00
|
|
|
version = "1.0.125"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 14:29:08 -05:00
|
|
|
checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
2017-02-19 18:20:57 -06:00
|
|
|
|
2019-08-20 02:32:53 -05:00
|
|
|
[[package]]
|
|
|
|
name = "serde_ignored"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.2"
|
2019-08-20 02:32:53 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "1c2c7d39d14f2f2ea82239de71594782f186fd03501ac81f0ce08e674819ff2f"
|
2019-08-20 02:32:53 -05:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-02-19 18:20:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2020-10-23 16:47:58 -05:00
|
|
|
version = "1.0.59"
|
2017-02-19 18:20:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 16:47:58 -05:00
|
|
|
checksum = "dcac07dbffa1c65e7f816ab9eba78eb142c6d44410f4eeba1e26e4f5dfa56b95"
|
2017-02-19 18:20:57 -06:00
|
|
|
dependencies = [
|
2021-01-15 19:34:15 -06:00
|
|
|
"indexmap",
|
2019-08-14 19:45:09 -05:00
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2017-02-19 18:20:57 -06:00
|
|
|
]
|
|
|
|
|
2019-09-08 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "serde_repr"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.6"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "2dc6b7951b17b051f3210b063f12cc17320e2fe30ae05b0fe2a3abb068551c76"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
2020-03-31 00:17:15 -05:00
|
|
|
version = "0.8.2"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 00:17:15 -05:00
|
|
|
checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
|
2019-01-18 20:39:37 -06:00
|
|
|
dependencies = [
|
2020-10-01 10:15:12 -05:00
|
|
|
"block-buffer 0.7.3",
|
|
|
|
"digest 0.8.1",
|
2019-08-14 19:45:09 -05:00
|
|
|
"fake-simd",
|
2020-10-01 10:15:12 -05:00
|
|
|
"opaque-debug 0.2.3",
|
|
|
|
]
|
|
|
|
|
2020-10-13 10:41:06 -05: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 10:15:12 -05: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 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2020-10-01 10:15:12 -05:00
|
|
|
"cpuid-bool",
|
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
2019-01-18 20:39:37 -06:00
|
|
|
]
|
|
|
|
|
2020-07-24 13:42:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "sharded-slab"
|
2021-02-27 18:00:00 -06:00
|
|
|
version = "0.1.1"
|
2020-07-24 13:42:00 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-27 18:00:00 -06:00
|
|
|
checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3"
|
2020-07-24 13:42:00 -05:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "shell-escape"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.5"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2021-02-22 19:05:21 -06:00
|
|
|
[[package]]
|
|
|
|
name = "shlex"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d"
|
|
|
|
|
2019-01-21 09:32:43 -06:00
|
|
|
[[package]]
|
2020-08-17 10:21:44 -05:00
|
|
|
name = "signal-hook-registry"
|
2021-03-12 07:33:02 -06:00
|
|
|
version = "1.2.2"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 07:33:02 -06:00
|
|
|
checksum = "ce32ea0c6c56d5eacaeb814fbed9960547021d3edd010ded1425f180536b20ab"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.3.3"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7"
|
2018-04-03 09:32:04 -05:00
|
|
|
|
2019-05-23 15:27:49 -05:00
|
|
|
[[package]]
|
|
|
|
name = "sized-chunks"
|
2021-03-12 07:33:02 -06:00
|
|
|
version = "0.6.4"
|
2019-05-23 15:27:49 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 07:33:02 -06:00
|
|
|
checksum = "65e65d6a9f13cd78f361ea5a2cf53a45d67cdda421ba0316b9be101560f3d207"
|
2019-05-23 15:27:49 -05:00
|
|
|
dependencies = [
|
2019-11-25 10:14:07 -06:00
|
|
|
"bitmaps",
|
2019-08-14 19:45:09 -05:00
|
|
|
"typenum",
|
2019-05-23 15:27:49 -05:00
|
|
|
]
|
|
|
|
|
2019-01-21 09:32:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
|
2019-01-21 09:32:43 -06:00
|
|
|
|
2019-11-04 08:59:09 -06:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2021-10-04 17:13:00 -05:00
|
|
|
version = "1.7.0"
|
2019-11-04 08:59:09 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-04 17:13:00 -05:00
|
|
|
checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309"
|
2019-11-04 08:59:09 -06:00
|
|
|
|
2020-08-20 18:16:30 -05:00
|
|
|
[[package]]
|
|
|
|
name = "snap"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da73c8f77aebc0e40c300b93f0a5f1bece7a248a36eee287d4e095f35c7b7d6e"
|
|
|
|
|
2021-05-01 06:50:03 -05:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2021-08-05 09:54:18 -05:00
|
|
|
version = "0.4.1"
|
2021-05-01 06:50:03 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-05 09:54:18 -05:00
|
|
|
checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad"
|
2021-05-01 06:50:03 -05:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2021-05-01 06:50:03 -05:00
|
|
|
]
|
|
|
|
|
2017-04-26 16:22:45 -05:00
|
|
|
[[package]]
|
|
|
|
name = "stable_deref_trait"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "1.2.0"
|
2017-04-26 16:22:45 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
2017-04-26 16:22:45 -05:00
|
|
|
|
2018-11-02 10:14:24 -05:00
|
|
|
[[package]]
|
|
|
|
name = "stacker"
|
2021-08-18 15:36:35 -05:00
|
|
|
version = "0.1.14"
|
2018-11-02 10:14:24 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 15:36:35 -05:00
|
|
|
checksum = "90939d5171a4420b3ff5fbc8954d641e7377335454c259dcb80786f3f21dc9b4"
|
2018-11-02 10:14:24 -05:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
2021-08-18 15:36:35 -05:00
|
|
|
"cfg-if 1.0.0",
|
2018-11-02 10:14:24 -05:00
|
|
|
"libc",
|
|
|
|
"psm",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-11-02 10:14:24 -05:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05: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 16:22:37 -05:00
|
|
|
"addr2line",
|
2019-08-14 19:45:09 -05:00
|
|
|
"alloc",
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"dlmalloc",
|
|
|
|
"fortanix-sgx-abi",
|
2022-01-17 01:46:11 -06:00
|
|
|
"hashbrown 0.12.0",
|
2019-10-20 02:55:10 -05:00
|
|
|
"hermit-abi",
|
2019-08-14 19:45:09 -05: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 16:22:37 -05:00
|
|
|
"miniz_oxide",
|
2021-12-03 08:24:05 -06:00
|
|
|
"object 0.26.2",
|
2019-08-14 19:45:09 -05: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 17:39:19 -06: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 16:22:37 -05:00
|
|
|
"rustc-demangle",
|
2021-04-02 03:11:46 -05:00
|
|
|
"std_detect",
|
2019-08-14 19:45:09 -05:00
|
|
|
"unwind",
|
2022-01-21 07:19:13 -06:00
|
|
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2021-04-02 03:11:46 -05: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 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "string_cache"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.8.0"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "2940c75beb4e3bf3a494cef919a747a2cb81e52571e212bfbd185074add7208a"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"new_debug_unreachable",
|
|
|
|
"phf_shared",
|
|
|
|
"precomputed-hash",
|
|
|
|
"serde",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "string_cache_codegen"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.5.1"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "f24c8e5e19d22a726626f1a5e16fe15b132dcf21d10177fa5a45ce7962996b97"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
2019-05-23 15:27:49 -05:00
|
|
|
[[package]]
|
|
|
|
name = "strip-ansi-escapes"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "9d63676e2abafa709460982ddc02a3bb586b6d15a49b75c212e06edd3933acee"
|
2019-05-23 15:27:49 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"vte",
|
2019-05-23 15:27:49 -05:00
|
|
|
]
|
|
|
|
|
2017-02-07 17:13:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
2019-09-08 03:28:11 -05:00
|
|
|
version = "0.8.0"
|
2017-02-07 17:13:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 03:28:11 -05:00
|
|
|
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
|
2017-02-07 17:13:57 -06:00
|
|
|
|
2022-01-18 21:14:33 -06:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
|
|
|
|
2019-09-08 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "structopt"
|
2021-12-03 08:24:05 -06:00
|
|
|
version = "0.3.25"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 08:24:05 -06:00
|
|
|
checksum = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2022-01-18 21:14:33 -06:00
|
|
|
"clap 2.34.0",
|
2020-08-17 10:21:44 -05:00
|
|
|
"lazy_static",
|
2019-11-12 12:14:48 -06:00
|
|
|
"structopt-derive",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "structopt-derive"
|
2021-12-03 08:24:05 -06:00
|
|
|
version = "0.4.18"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 08:24:05 -06:00
|
|
|
checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
|
|
|
"heck",
|
|
|
|
"proc-macro-error",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-06-18 07:15:19 -05:00
|
|
|
]
|
|
|
|
|
2018-04-21 16:06:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "strum"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.18.0"
|
2018-04-21 16:06:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "57bd81eb48f4c437cadc685403cad539345bf703d78e63707418431cecd4522b"
|
2018-04-21 16:06:13 -05:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
2020-08-01 09:11:15 -05:00
|
|
|
version = "0.18.0"
|
2018-04-21 16:06:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 09:11:15 -05:00
|
|
|
checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c"
|
2018-04-21 16:06:13 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"heck",
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2018-04-02 10:43:55 -05:00
|
|
|
]
|
|
|
|
|
2019-09-08 03:28:11 -05:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2021-10-15 21:37:30 -05:00
|
|
|
version = "1.0.80"
|
2019-09-08 03:28:11 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-15 21:37:30 -05:00
|
|
|
checksum = "d010a1623fbd906d51d650a9916aaefc05ffa0e4053ff7fe601167f3e715d194"
|
2019-09-08 03:28:11 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-xid",
|
2019-09-08 03:28:11 -05:00
|
|
|
]
|
|
|
|
|
2019-10-04 07:43:23 -05:00
|
|
|
[[package]]
|
|
|
|
name = "synstructure"
|
2021-12-21 11:00:30 -06:00
|
|
|
version = "0.12.6"
|
2019-10-04 07:43:23 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 11:00:30 -06:00
|
|
|
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
|
2019-10-04 07:43:23 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"unicode-xid",
|
2019-10-04 07:43:23 -05:00
|
|
|
]
|
|
|
|
|
2017-05-08 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tar"
|
2021-08-27 09:38:53 -05:00
|
|
|
version = "0.4.37"
|
2017-05-08 17:01:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-27 09:38:53 -05:00
|
|
|
checksum = "d6f5515d3add52e0bbdcad7b83c388bb36ba7b754dda3b5f5bc2d38640cdba5c"
|
2017-05-08 17:01:13 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"filetime",
|
|
|
|
"libc",
|
|
|
|
"xattr",
|
2017-05-08 17:01:13 -05:00
|
|
|
]
|
|
|
|
|
2018-03-29 02:34:55 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2021-04-23 17:49:47 -05:00
|
|
|
version = "3.2.0"
|
2018-03-29 02:34:55 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 17:49:47 -05:00
|
|
|
checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
|
2018-03-29 02:34:55 -05:00
|
|
|
dependencies = [
|
2021-04-23 17:49:47 -05:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2021-08-29 10:55:29 -05:00
|
|
|
"rand 0.8.4",
|
2021-05-11 14:03:59 -05:00
|
|
|
"redox_syscall",
|
2019-08-14 19:45:09 -05:00
|
|
|
"remove_dir_all",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-03-29 02:34:55 -05:00
|
|
|
]
|
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tendril"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.4.1"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "707feda9f2582d5d680d733e38755547a3e8fb471e7ba11452ecfd9ce93a5d3b"
|
2018-04-03 09:32:04 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"futf",
|
|
|
|
"mac",
|
|
|
|
"utf-8",
|
2018-04-03 09:32:04 -05:00
|
|
|
]
|
|
|
|
|
2019-07-30 06:00:27 -05:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.6.1"
|
2019-07-30 06:00:27 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5"
|
2019-07-30 06:00:27 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"dirs",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2019-07-30 06:00:27 -05:00
|
|
|
]
|
|
|
|
|
2021-02-25 04:26:23 -06:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
|
|
|
|
dependencies = [
|
|
|
|
"dirs-next",
|
|
|
|
"rustversion",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2021-02-25 04:26:23 -06:00
|
|
|
]
|
|
|
|
|
2018-07-25 19:25:12 -05:00
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2021-06-22 18:19:24 -05:00
|
|
|
version = "1.1.2"
|
2018-07-25 19:25:12 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-22 18:19:24 -05:00
|
|
|
checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"
|
2018-07-25 19:25:12 -05:00
|
|
|
dependencies = [
|
2020-07-29 13:02:05 -05:00
|
|
|
"winapi-util",
|
2018-07-25 19:25:12 -05:00
|
|
|
]
|
|
|
|
|
2020-01-28 18:13:48 -06:00
|
|
|
[[package]]
|
|
|
|
name = "termize"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1706be6b564323ce7092f5f7e6b118a14c8ef7ed0e69c8c5329c914a9f101295"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2020-01-28 18:13:48 -06:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "test"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-10-11 12:51:07 -05: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 10:29:08 -05:00
|
|
|
"core",
|
2019-08-14 19:45:09 -05: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 10:29:08 -05:00
|
|
|
"libc",
|
|
|
|
"panic_abort",
|
|
|
|
"panic_unwind",
|
2019-08-14 19:45:09 -05: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 10:29:08 -05:00
|
|
|
"std",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2021-02-25 04:26:23 -06: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 12:33:32 -05:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2019-09-08 03:28:11 -05:00
|
|
|
version = "0.11.0"
|
2017-06-27 12:33:32 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 03:28:11 -05:00
|
|
|
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
|
2017-06-27 12:33:32 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"unicode-width",
|
2017-06-27 12:33:32 -05:00
|
|
|
]
|
|
|
|
|
2022-01-18 21:14:33 -06:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
|
|
|
version = "0.14.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"
|
|
|
|
|
2019-11-26 05:06:30 -06:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2021-12-03 08:24:05 -06:00
|
|
|
version = "1.0.30"
|
2019-11-26 05:06:30 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 08:24:05 -06:00
|
|
|
checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417"
|
2019-11-26 05:06:30 -06:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2021-12-03 08:24:05 -06:00
|
|
|
version = "1.0.30"
|
2019-11-26 05:06:30 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 08:24:05 -06:00
|
|
|
checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b"
|
2019-11-26 05:06:30 -06:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-11-26 05:06:30 -06:00
|
|
|
]
|
|
|
|
|
2021-12-03 08:24:05 -06:00
|
|
|
[[package]]
|
|
|
|
name = "thorin-dwp"
|
2022-01-20 08:09:05 -06:00
|
|
|
version = "0.2.0"
|
2021-12-03 08:24:05 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-20 08:09:05 -06:00
|
|
|
checksum = "dd95b4559c196987c8451b4e14d08a4c796c2844f9adf4d2a2dbc9b3142843be"
|
2021-12-03 08:24:05 -06:00
|
|
|
dependencies = [
|
|
|
|
"gimli 0.26.1",
|
2022-01-17 01:46:11 -06:00
|
|
|
"hashbrown 0.11.2",
|
2022-01-20 08:09:05 -06:00
|
|
|
"object 0.28.1",
|
2021-12-03 08:24:05 -06:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2020-02-12 08:47:31 -06:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
2022-01-24 11:19:21 -06:00
|
|
|
version = "1.1.4"
|
2020-02-12 08:47:31 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-24 11:19:21 -06:00
|
|
|
checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
|
2020-02-12 08:47:31 -06:00
|
|
|
dependencies = [
|
2022-01-24 11:19:21 -06:00
|
|
|
"once_cell",
|
2020-02-12 08:47:31 -06:00
|
|
|
]
|
|
|
|
|
2016-09-02 03:55:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tidy"
|
|
|
|
version = "0.1.0"
|
2018-02-22 19:52:56 -06:00
|
|
|
dependencies = [
|
2021-07-04 11:58:04 -05:00
|
|
|
"cargo_metadata 0.12.0",
|
2022-01-10 13:34:07 -06:00
|
|
|
"crossbeam-utils",
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-08-14 19:45:09 -05:00
|
|
|
"regex",
|
|
|
|
"walkdir",
|
2018-02-22 19:52:56 -06:00
|
|
|
]
|
2016-09-02 03:55:29 -05:00
|
|
|
|
2020-08-11 18:49:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tier-check"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2021-04-04 16:07:56 -05: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",
|
|
|
|
]
|
|
|
|
|
2018-01-24 22:01:42 -06:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.43"
|
2018-01-24 22:01:42 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
|
2018-01-24 22:01:42 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-01-24 22:01:42 -06:00
|
|
|
]
|
|
|
|
|
2020-08-17 10:21:44 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
2020-08-17 18:07:09 -05:00
|
|
|
version = "0.3.4"
|
2020-08-17 10:21:44 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 18:07:09 -05:00
|
|
|
checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117"
|
2020-08-17 10:21:44 -05:00
|
|
|
|
2019-01-21 09:32:43 -06:00
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2022-01-24 11:19:21 -06:00
|
|
|
version = "1.8.4"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-24 11:19:21 -06:00
|
|
|
checksum = "50dae83881bc9b0403dd5b44ea9deed3e939856cc8722d5be37f0d6e5c6d53dd"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"autocfg",
|
2019-08-14 19:45:09 -05:00
|
|
|
"bytes",
|
|
|
|
"libc",
|
2021-02-09 19:52:54 -06:00
|
|
|
"memchr",
|
2019-08-14 19:45:09 -05:00
|
|
|
"mio",
|
|
|
|
"num_cpus",
|
2021-07-21 08:17:31 -05:00
|
|
|
"once_cell",
|
|
|
|
"pin-project-lite",
|
2021-02-09 19:52:54 -06:00
|
|
|
"signal-hook-registry",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-07-21 08:17:31 -05:00
|
|
|
name = "tokio-stream"
|
|
|
|
version = "0.1.7"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"futures-core",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-02-09 19:52:54 -06:00
|
|
|
name = "tokio-util"
|
2021-07-21 08:17:31 -05:00
|
|
|
version = "0.6.7"
|
2019-01-21 09:32:43 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 08:17:31 -05:00
|
|
|
checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592"
|
2019-01-21 09:32:43 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"bytes",
|
2021-02-09 19:52:54 -06:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2019-08-14 19:45:09 -05:00
|
|
|
"log",
|
2021-07-21 08:17:31 -05:00
|
|
|
"pin-project-lite",
|
2021-02-09 19:52:54 -06:00
|
|
|
"tokio",
|
2019-01-21 09:32:43 -06:00
|
|
|
]
|
|
|
|
|
2019-03-28 22:13:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
2020-10-14 17:16:47 -05:00
|
|
|
version = "0.5.7"
|
2019-03-28 22:13:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 17:16:47 -05:00
|
|
|
checksum = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645"
|
2019-03-28 22:13:13 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2019-03-28 22:13:13 -05:00
|
|
|
]
|
|
|
|
|
2022-01-25 18:24:21 -06:00
|
|
|
[[package]]
|
|
|
|
name = "toml_edit"
|
2022-02-01 05:26:30 -06:00
|
|
|
version = "0.13.4"
|
2022-01-25 18:24:21 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-01 05:26:30 -06:00
|
|
|
checksum = "744e9ed5b352340aa47ce033716991b5589e23781acb97cad37d4ea70560f55b"
|
2022-01-25 18:24:21 -06:00
|
|
|
dependencies = [
|
|
|
|
"combine",
|
|
|
|
"indexmap",
|
|
|
|
"itertools 0.10.1",
|
|
|
|
"kstring",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-12-03 14:25:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "topological-sort"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa7c7f42dea4b1b99439786f5633aeb9c14c1b53f75e282803c2ec2ad545873c"
|
|
|
|
|
2021-02-09 19:52:54 -06:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
|
|
|
|
|
2020-05-27 00:05:09 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2021-12-03 08:24:05 -06:00
|
|
|
version = "0.1.29"
|
2020-05-27 00:05:09 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 08:24:05 -06:00
|
|
|
checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105"
|
2020-05-27 00:05:09 -05:00
|
|
|
dependencies = [
|
2021-02-27 18:00:00 -06:00
|
|
|
"cfg-if 1.0.0",
|
2021-07-21 08:17:31 -05:00
|
|
|
"pin-project-lite",
|
2020-05-27 00:05:09 -05:00
|
|
|
"tracing-attributes",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
2021-12-03 08:24:05 -06:00
|
|
|
version = "0.1.18"
|
2020-05-27 00:05:09 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 08:24:05 -06:00
|
|
|
checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e"
|
2020-05-27 00:05:09 -05:00
|
|
|
dependencies = [
|
2020-08-01 09:11:15 -05:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-27 00:05:09 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2021-10-02 03:22:03 -05:00
|
|
|
version = "0.1.21"
|
2020-05-27 00:05:09 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-02 03:22:03 -05:00
|
|
|
checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4"
|
2020-05-27 00:05:09 -05:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2020-08-04 17:35:37 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-log"
|
2021-02-27 18:00:00 -06:00
|
|
|
version = "0.1.2"
|
2020-08-04 17:35:37 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-27 18:00:00 -06:00
|
|
|
checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3"
|
2020-08-04 17:35:37 -05:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
2020-07-24 13:42:00 -05:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-subscriber"
|
2021-12-21 11:00:30 -06:00
|
|
|
version = "0.3.3"
|
2020-07-24 13:42:00 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 11:00:30 -06:00
|
|
|
checksum = "245da694cc7fc4729f3f418b304cb57789f1bed2a78c575407ab8a23f53cb4d3"
|
2020-07-24 13:42:00 -05:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term 0.12.1",
|
|
|
|
"lazy_static",
|
|
|
|
"matchers",
|
2021-02-09 19:52:54 -06:00
|
|
|
"parking_lot",
|
2020-07-24 13:42:00 -05:00
|
|
|
"regex",
|
|
|
|
"sharded-slab",
|
2021-04-21 23:40:29 -05:00
|
|
|
"smallvec",
|
2020-08-17 10:21:44 -05:00
|
|
|
"thread_local",
|
2020-10-07 17:45:59 -05:00
|
|
|
"tracing",
|
2020-07-24 13:42:00 -05:00
|
|
|
"tracing-core",
|
2020-08-04 17:35:37 -05:00
|
|
|
"tracing-log",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-tree"
|
2021-12-21 11:00:30 -06:00
|
|
|
version = "0.2.0"
|
2020-08-04 17:35:37 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 11:00:30 -06:00
|
|
|
checksum = "3ce989c9962c7f61fe084dd4a230eec784649dfc2392467c790007c3a6e134e7"
|
2020-08-04 17:35:37 -05:00
|
|
|
dependencies = [
|
|
|
|
"ansi_term 0.12.1",
|
|
|
|
"atty",
|
2021-12-21 11:00:30 -06:00
|
|
|
"tracing-core",
|
2021-02-27 18:00:00 -06:00
|
|
|
"tracing-log",
|
2020-08-04 17:35:37 -05:00
|
|
|
"tracing-subscriber",
|
2020-07-24 13:42:00 -05:00
|
|
|
]
|
|
|
|
|
2018-12-02 19:33:20 -06:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2020-05-18 17:41:57 -05:00
|
|
|
version = "1.12.0"
|
2018-12-02 19:33:20 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-18 17:41:57 -05:00
|
|
|
checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
|
2018-12-02 19:33:20 -06:00
|
|
|
|
2020-01-13 15:40:19 -06:00
|
|
|
[[package]]
|
|
|
|
name = "ucd-parse"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.8"
|
2020-01-13 15:40:19 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "5269f8d35df6b8b60758343a6d742ecf09e4bca13faee32af5503aebd1e11b7c"
|
2020-01-13 15:40:19 -06:00
|
|
|
dependencies = [
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2020-01-13 15:40:19 -06:00
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2019-01-18 20:39:37 -06:00
|
|
|
[[package]]
|
|
|
|
name = "ucd-trie"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.3"
|
2019-01-18 20:39:37 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
|
2019-01-18 20:39:37 -06:00
|
|
|
|
2021-08-29 03:34:23 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unic-char-property"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221"
|
|
|
|
dependencies = [
|
|
|
|
"unic-char-range",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-char-range"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-common"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-emoji-char"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b07221e68897210270a38bde4babb655869637af0f69407f96053a34f76494d"
|
|
|
|
dependencies = [
|
|
|
|
"unic-char-property",
|
|
|
|
"unic-char-range",
|
|
|
|
"unic-ucd-version",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-ucd-version"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4"
|
|
|
|
dependencies = [
|
|
|
|
"unic-common",
|
|
|
|
]
|
|
|
|
|
2019-04-20 12:03:59 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unicase"
|
2020-02-13 11:39:40 -06:00
|
|
|
version = "2.6.0"
|
2019-04-20 12:03:59 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-13 11:39:40 -06:00
|
|
|
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
|
2019-04-20 12:03:59 -05:00
|
|
|
dependencies = [
|
2020-02-13 11:39:40 -06:00
|
|
|
"version_check",
|
2019-04-20 12:03:59 -05:00
|
|
|
]
|
|
|
|
|
2020-01-13 15:40:19 -06:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bdd"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"ucd-parse",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
2017-06-27 12:33:32 -05:00
|
|
|
version = "0.3.4"
|
2017-02-19 18:20:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
|
2017-02-19 18:20:57 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"matches",
|
2016-09-02 03:55:29 -05:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.13"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977"
|
2019-11-23 08:33:40 -06:00
|
|
|
dependencies = [
|
2020-08-17 10:21:44 -05:00
|
|
|
"tinyvec",
|
2019-11-23 08:33:40 -06:00
|
|
|
]
|
2017-04-29 18:11:58 -05:00
|
|
|
|
2020-01-02 06:02:22 -06:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-script"
|
2021-07-01 11:18:02 -05:00
|
|
|
version = "0.5.3"
|
2020-01-02 06:02:22 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-01 11:18:02 -05:00
|
|
|
checksum = "098ec66172ce21cd55f8bcc786ee209dd20e04eff70acfca30cb79924d173ae9"
|
2020-01-02 06:02:22 -06:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-security"
|
2020-06-23 06:45:13 -05:00
|
|
|
version = "0.0.5"
|
2020-01-02 06:02:22 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-23 06:45:13 -05:00
|
|
|
checksum = "5d87c28edc5b263377e448d6cdcb935c06b95413d8013ba6fae470558ccab18f"
|
2020-01-02 06:02:22 -06:00
|
|
|
dependencies = [
|
2020-04-24 20:38:31 -05:00
|
|
|
"unicode-normalization",
|
2020-01-02 06:02:22 -06:00
|
|
|
"unicode-script",
|
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
2019-11-12 12:14:48 -06:00
|
|
|
version = "1.6.0"
|
2017-02-07 17:13:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-12 12:14:48 -06:00
|
|
|
checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
|
2017-02-07 17:13:57 -06:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.8"
|
2017-02-07 17:13:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05: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 10:29:08 -05:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
"rustc-std-workspace-std",
|
|
|
|
]
|
2017-02-07 17:13:57 -06:00
|
|
|
|
2019-07-21 06:50:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-xid"
|
2021-07-26 19:55:31 -05:00
|
|
|
version = "0.2.2"
|
2019-07-21 06:50:39 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-26 19:55:31 -05:00
|
|
|
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
2019-07-21 06:50:39 -05:00
|
|
|
|
2019-02-18 03:32:58 -06:00
|
|
|
[[package]]
|
|
|
|
name = "unicode_categories"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
|
2019-02-18 03:32:58 -06:00
|
|
|
|
2021-02-24 00:42:42 -06:00
|
|
|
[[package]]
|
|
|
|
name = "unified-diff"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "496a3d395ed0c30f411ceace4a91f7d93b148fb5a9b383d5d4cff7850f048d5f"
|
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
]
|
|
|
|
|
2021-10-21 06:13:17 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unindent"
|
|
|
|
version = "0.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"
|
|
|
|
|
2017-06-12 14:35:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unstable-book-gen"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"num-traits",
|
|
|
|
"tidy",
|
2017-06-12 14:35:47 -05:00
|
|
|
]
|
|
|
|
|
2017-09-24 23:13:29 -05:00
|
|
|
[[package]]
|
|
|
|
name = "unwind"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"cc",
|
2020-10-11 12:51:07 -05:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-14 19:45:09 -05:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
2017-09-24 23:13:29 -05:00
|
|
|
]
|
|
|
|
|
2017-04-29 18:11:58 -05:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2018-12-08 05:06:54 -06:00
|
|
|
version = "1.7.2"
|
2017-04-29 18:11:58 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
|
2017-04-29 18:11:58 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"idna 0.1.5",
|
|
|
|
"matches",
|
|
|
|
"percent-encoding 1.0.1",
|
2017-04-29 18:11:58 -05:00
|
|
|
]
|
|
|
|
|
2019-07-31 19:44:39 -05:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2021-05-11 19:39:51 -05:00
|
|
|
version = "2.2.2"
|
2019-07-31 19:44:39 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 19:39:51 -05:00
|
|
|
checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
|
2019-07-31 19:44:39 -05:00
|
|
|
dependencies = [
|
2021-05-11 19:39:51 -05:00
|
|
|
"form_urlencoded",
|
2019-08-14 19:45:09 -05:00
|
|
|
"idna 0.2.0",
|
|
|
|
"matches",
|
2019-11-12 12:14:48 -06:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-14 19:45:09 -05:00
|
|
|
"serde",
|
2019-07-31 19:44:39 -05:00
|
|
|
]
|
|
|
|
|
2018-04-03 09:32:04 -05:00
|
|
|
[[package]]
|
|
|
|
name = "utf-8"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.7.5"
|
2018-04-03 09:32:04 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7"
|
2018-04-03 09:32:04 -05:00
|
|
|
|
2019-05-23 15:27:49 -05:00
|
|
|
[[package]]
|
|
|
|
name = "utf8parse"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d"
|
2019-05-23 15:27:49 -05:00
|
|
|
|
2017-06-14 21:33:06 -05:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.2.10"
|
2017-06-14 21:33:06 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c"
|
2017-06-14 21:33:06 -05:00
|
|
|
|
2017-02-07 17:13:57 -06:00
|
|
|
[[package]]
|
|
|
|
name = "vec_map"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.8.2"
|
2017-02-07 17:13:57 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
|
2017-02-07 17:13:57 -06:00
|
|
|
|
2018-09-17 02:20:03 -05:00
|
|
|
[[package]]
|
|
|
|
name = "vergen"
|
2021-04-06 06:20:48 -05:00
|
|
|
version = "5.1.0"
|
2018-09-17 02:20:03 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-06 06:20:48 -05:00
|
|
|
checksum = "dfbc87f9a7a9d61b15d51d1d3547284f67b6b4f1494ce3fc5814c101f35a5183"
|
2018-09-17 02:20:03 -05:00
|
|
|
dependencies = [
|
2021-04-06 06:20:48 -05:00
|
|
|
"anyhow",
|
2019-08-14 19:45:09 -05:00
|
|
|
"chrono",
|
2021-04-06 06:20:48 -05:00
|
|
|
"enum-iterator",
|
|
|
|
"getset",
|
|
|
|
"git2",
|
|
|
|
"rustversion",
|
|
|
|
"thiserror",
|
2018-09-17 02:20:03 -05:00
|
|
|
]
|
|
|
|
|
2019-11-25 10:14:07 -06:00
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
2021-05-11 14:03:59 -05:00
|
|
|
version = "0.9.3"
|
2019-11-25 10:14:07 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 14:03:59 -05:00
|
|
|
checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
|
2019-11-25 10:14:07 -06:00
|
|
|
|
2019-05-23 15:27:49 -05:00
|
|
|
[[package]]
|
|
|
|
name = "vte"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "4f42f536e22f7fcbb407639765c8fd78707a33109301f834a594758bedd6e8cf"
|
2019-05-23 15:27:49 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"utf8parse",
|
2019-05-23 15:27:49 -05:00
|
|
|
]
|
|
|
|
|
2018-01-08 15:56:22 -06:00
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "2.3.1"
|
2018-01-08 15:56:22 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "777182bc735b6424e1a57516d35ed72cb8019d85c8c9bf536dccb3445c1a2f7d"
|
2018-01-08 15:56:22 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"same-file",
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2019-08-14 19:45:09 -05:00
|
|
|
"winapi-util",
|
2018-01-08 15:56:22 -06:00
|
|
|
]
|
|
|
|
|
2019-11-25 11:27:25 -06:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
2022-01-21 07:19:13 -06:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.11.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
2019-08-29 12:13:15 -05:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2018-01-08 15:56:22 -06:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.3.9"
|
2018-01-08 15:56:22 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2018-01-08 15:56:22 -06:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2018-01-08 15:56:22 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2018-01-08 15:56:22 -06:00
|
|
|
|
2018-08-21 12:23:47 -05:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2020-07-29 13:02:05 -05:00
|
|
|
version = "0.1.5"
|
2018-08-21 12:23:47 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-29 13:02:05 -05:00
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
2018-08-21 12:23:47 -05:00
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2018-08-21 12:23:47 -05:00
|
|
|
]
|
|
|
|
|
2018-01-08 15:56:22 -06: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-14 19:45:09 -05:00
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
2018-01-08 15:56:22 -06:00
|
|
|
|
2017-05-08 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "xattr"
|
2018-07-17 11:04:22 -05:00
|
|
|
version = "0.2.2"
|
2017-05-08 17:01:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c"
|
2017-05-08 17:01:13 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"libc",
|
2017-05-08 17:01:13 -05:00
|
|
|
]
|
|
|
|
|
2020-08-01 09:11:15 -05: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 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "xz2"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.1.6"
|
2017-05-08 17:01:13 -05:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "c179869f34fc7c01830d3ce7ea2086bc3a07e0d35289b667d0a8bf910258926c"
|
2017-05-08 17:01:13 -05:00
|
|
|
dependencies = [
|
2019-08-14 19:45:09 -05:00
|
|
|
"lzma-sys",
|
2017-05-08 17:01:13 -05:00
|
|
|
]
|
|
|
|
|
2019-11-26 05:06:30 -06:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-merge-keys"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.4.1"
|
2019-11-26 05:06:30 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "fd236a7dc9bb598f349fe4a8754f49181fee50284daa15cd1ba652d722280004"
|
2019-11-26 05:06:30 -06:00
|
|
|
dependencies = [
|
2020-05-25 23:00:42 -05:00
|
|
|
"lazy_static",
|
2019-11-26 05:06:30 -06:00
|
|
|
"thiserror",
|
2020-08-17 10:21:44 -05:00
|
|
|
"yaml-rust 0.4.4",
|
2019-11-26 05:06:30 -06:00
|
|
|
]
|
|
|
|
|
2017-05-08 17:01:13 -05:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-14 19:45:09 -05:00
|
|
|
checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992"
|
2019-11-26 05:06:30 -06:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
2020-08-17 10:21:44 -05:00
|
|
|
version = "0.4.4"
|
2019-11-26 05:06:30 -06:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 10:21:44 -05:00
|
|
|
checksum = "39f0c922f1a334134dc2f7a8b67dc5d25f0735263feec974345ff706bcf20b0d"
|
2019-11-26 05:06:30 -06:00
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
2021-05-03 15:59:35 -05:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "yansi-term"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1"
|
|
|
|
dependencies = [
|
2021-07-21 08:17:31 -05:00
|
|
|
"winapi",
|
2021-05-03 15:59:35 -05:00
|
|
|
]
|