]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #82374 - clehner:licenses, r=joshtriplett
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 22 Mar 2021 14:21:23 +0000 (15:21 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Mar 2021 14:21:23 +0000 (15:21 +0100)
commit7bf8f82f72599528c82ad4c29dd9408645725f6a
tree4ef0199524ad505b7c6cefae75a0b4ed8ec2e6aa
parent7f82ddb8750aef7c48173b84ec5a3d713edce263
parentf45fe9493ba06cd57fc2f7317a39305f79a1a6e6
Rollup merge of #82374 - clehner:licenses, r=joshtriplett

Add license metadata for std dependencies

These five crates are in the dependency tree of `std` but lack license metadata:
- `alloc`
- `core`
- `panic_abort`
- `panic_unwind`
- `unwind`

Querying the dependency tree of `std` is a useful thing to be able to do, since these crates will typically be linked into Rust binaries. Tools show the license fields missing, as seen in https://github.com/rust-lang/rust/issues/67014#issuecomment-782704534. This PR adds the license field for the five crates, based on the license of the `std` package and this repo as a whole. I also added the `repository` and `descriptions` fields, since those seem useful. For `description`, I copied text from top-level comments for the respective modules - except for `unwind` which has none.

I also note that https://github.com/rust-lang/rust/pull/73530 attempted to add license metadata for all crates in this repo, but was rejected because there was question about some of them. I hope that this smaller change, focusing only on the runtime dependencies, will be easier to review.

cc `@Mark-Simulacrum` `@Lokathor`