about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-12 06:52:49 +0100
committerGitHub <noreply@github.com>2023-12-12 06:52:49 +0100
commita254cc5bded8873d644a48eaff00baf766a06a1d (patch)
tree9acd69031fea20031b2d312ff5e345386bf500e1 /compiler/rustc_codegen_gcc
parent4e82988aa2a95f4d264d5d17332d505969ae410e (diff)
parentbf645be37b8ff3b0cd46fa6ea6512370cecf7039 (diff)
downloadrust-a254cc5bded8873d644a48eaff00baf766a06a1d.tar.gz
rust-a254cc5bded8873d644a48eaff00baf766a06a1d.zip
Rollup merge of #118445 - ferrocene:jp-support-reuse-in-submodules, r=Mark-Simulacrum
Let `reuse` look inside git submodules

Changes `collect-license-metadata` and `generate-copyright` so they can now look at the git submodules.

Unfortunately `reuse` chokes on the LLVM submodule - it finds the word "Copyright" or the unicode copyright symbol in all kinds of places, including UTF-8 test cases. The `reuse` tool expressly won't let you ignore folders, so we let it scan everything and then strip out the LLVM sub-folder in post. Instead, we add in a hand-curated list of copyright information gleaned by reading the LLVM codebase carefully, which is stored in `.reuse/dep5` in Debian format where `reuse` can find and use it.

The `.reuse/dep5` continues to track copyright info for files in the tree that do not have SPDX metadata in them (i.e. all of them)
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions