diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-27 08:13:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 08:13:48 +0100 |
| commit | 04d633366d163f12c7639dfefd22dc27e29f2a08 (patch) | |
| tree | c866e37bd4dfa532a3d9e0b1e2d779caaabda2d5 /compiler/rustc_mir_transform/src/coverage | |
| parent | dcebc5eddd4dccc444d68eae8d5d321d63d2c06f (diff) | |
| parent | db71194416700d2c1365ae1ee7f882aa3a055a67 (diff) | |
| download | rust-04d633366d163f12c7639dfefd22dc27e29f2a08.tar.gz rust-04d633366d163f12c7639dfefd22dc27e29f2a08.zip | |
Rollup merge of #133453 - ferrocene:check-license-metadata, r=Kobzol
Commit license-metadata.json to git and check it's correct in CI This PR adds `license-metadata.json` to the root of the git repo, and changes `mingw-check` to check that the file is still up-to-date. By committing this file, we remove the need for developers to a) have reuse installed or b) run an expensive ~90 second analysis of the files on disk when they want generate the COPYRIGHT.html files which depend on this license metadata. The file will need updating whenever `REUSE.toml` changes, or when git submodules are added, or when git submodules change their license information (as detected by REUSE). You can now run: * `./x run collect-license-metadata` to update the `./license-metadata.json` file * `./x test collect-license-metadata` to test the `./license-metadata.json` file for correctness The comparison is done with two `serde_json::Value` objects, so the map objects they contain should ignore differences in ordering.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage')
0 files changed, 0 insertions, 0 deletions
