| 1 | version = 1 |
| 2 | |
| 3 | # Reuse annotations file. |
| 4 | # |
| 5 | # This file controls how reuse-tool finds copyright and license notices within |
| 6 | # source files. As the tool has a habit of picking up random uses of the word |
| 7 | # 'Copyright' within source code, and because it will complain that other files |
| 8 | # do not contain any specific copyright and license notifications, we usually |
| 9 | # just set a blanket license and copyright notice for a whole sub-tree at a |
| 10 | # time. |
| 11 | # |
| 12 | # See https://reuse.software and https://github.com/fsfe/reuse-tool for more |
| 13 | # details. We currently use reuse-tool version 4.0.3. |
| 14 | |
| 15 | [[annotations]] |
| 16 | path = [ |
| 17 | "compiler/**", |
| 18 | "library/**", |
| 19 | "tests/**", |
| 20 | "src/**", |
| 21 | ".github/**", |
| 22 | "Cargo.lock", |
| 23 | "Cargo.toml", |
| 24 | "CODE_OF_CONDUCT.md", |
| 25 | "bootstrap.example.toml", |
| 26 | "configure", |
| 27 | "CONTRIBUTING.md", |
| 28 | "COPYRIGHT", |
| 29 | "INSTALL.md", |
| 30 | "LICENSE-APACHE", |
| 31 | "license-metadata.json", |
| 32 | "LICENSE-MIT", |
| 33 | "README.md", |
| 34 | "RELEASES.md", |
| 35 | "REUSE.toml", |
| 36 | "rustfmt.toml", |
| 37 | "rust-bors.toml", |
| 38 | "triagebot.toml", |
| 39 | "typos.toml", |
| 40 | "package.json", |
| 41 | "yarn.lock", |
| 42 | "x", |
| 43 | "x.ps1", |
| 44 | "x.py", |
| 45 | ".clang-format", |
| 46 | ".editorconfig", |
| 47 | ".git-blame-ignore-revs", |
| 48 | ".gitattributes", |
| 49 | ".gitignore", |
| 50 | ".gitmodules", |
| 51 | ".mailmap", |
| 52 | ".ignore", |
| 53 | ] |
| 54 | precedence = "override" |
| 55 | SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)" |
| 56 | SPDX-License-Identifier = "MIT OR Apache-2.0" |
| 57 | |
| 58 | [[annotations]] |
| 59 | path = "compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp" |
| 60 | precedence = "override" |
| 61 | SPDX-FileCopyrightText = [ |
| 62 | "2003-2019 University of Illinois at Urbana-Champaign.", |
| 63 | "The Rust Project Developers (see https://thanks.rust-lang.org)", |
| 64 | ] |
| 65 | SPDX-License-Identifier = "Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT)" |
| 66 | |
| 67 | [[annotations]] |
| 68 | path = "library/core/src/unicode/unicode_data.rs" |
| 69 | precedence = "override" |
| 70 | SPDX-FileCopyrightText = "1991-2024 Unicode, Inc." |
| 71 | SPDX-License-Identifier = "Unicode-3.0" |
| 72 | |
| 73 | [[annotations]] |
| 74 | path = "library/std/src/sync/mpmc/**" |
| 75 | precedence = "override" |
| 76 | SPDX-FileCopyrightText = [ |
| 77 | "2019 The Crossbeam Project Developers", |
| 78 | "The Rust Project Developers (see https://thanks.rust-lang.org)", |
| 79 | ] |
| 80 | SPDX-License-Identifier = "MIT OR Apache-2.0" |
| 81 | |
| 82 | [[annotations]] |
| 83 | path = "library/std/src/sys/sync/mutex/fuchsia.rs" |
| 84 | precedence = "override" |
| 85 | SPDX-FileCopyrightText = [ |
| 86 | "2016 The Fuchsia Authors", |
| 87 | "The Rust Project Developers (see https://thanks.rust-lang.org)", |
| 88 | ] |
| 89 | SPDX-License-Identifier = "BSD-2-Clause AND (MIT OR Apache-2.0)" |
| 90 | |
| 91 | [[annotations]] |
| 92 | path = "src/test/rustdoc/auxiliary/enum-primitive.rs" |
| 93 | precedence = "override" |
| 94 | SPDX-FileCopyrightText = "2015 Anders Kaseorg <andersk@mit.edu>" |
| 95 | SPDX-License-Identifier = "MIT" |
| 96 | |
| 97 | [[annotations]] |
| 98 | path = "src/librustdoc/html/static/fonts/Fira**" |
| 99 | precedence = "override" |
| 100 | SPDX-FileCopyrightText = ["2014, Mozilla Foundation", "2014, Telefonica S.A."] |
| 101 | SPDX-License-Identifier = "OFL-1.1" |
| 102 | |
| 103 | [[annotations]] |
| 104 | path = "src/librustdoc/html/static/fonts/NanumBarun**" |
| 105 | precedence = "override" |
| 106 | SPDX-FileCopyrightText = "2010 NAVER Corporation" |
| 107 | SPDX-License-Identifier = "OFL-1.1" |
| 108 | |
| 109 | [[annotations]] |
| 110 | path = [ |
| 111 | "src/librustdoc/html/static/fonts/SourceCodePro**", |
| 112 | "src/librustdoc/html/static/fonts/SourceSerif4**", |
| 113 | ] |
| 114 | precedence = "override" |
| 115 | SPDX-FileCopyrightText = "2010, 2012, 2014-2023, Adobe Systems Incorporated" |
| 116 | SPDX-License-Identifier = "OFL-1.1" |
| 117 | |
| 118 | [[annotations]] |
| 119 | path = "src/librustdoc/html/static/css/normalize.css" |
| 120 | precedence = "override" |
| 121 | SPDX-FileCopyrightText = "Nicolas Gallagher and Jonathan Neal" |
| 122 | SPDX-License-Identifier = "MIT" |
| 123 | |
| 124 | [[annotations]] |
| 125 | path = "src/librustdoc/html/static/css/rustdoc.css" |
| 126 | precedence = "override" |
| 127 | SPDX-FileCopyrightText = [ |
| 128 | "2016 Ike Ku, Jessica Stokes and Leon Guan", |
| 129 | "The Rust Project Developers (see https://thanks.rust-lang.org)", |
| 130 | ] |
| 131 | SPDX-License-Identifier = "MIT OR Apache-2.0" |
| 132 | |
| 133 | [[annotations]] |
| 134 | path = "src/doc/rustc-dev-guide/mermaid.min.js" |
| 135 | precedence = "override" |
| 136 | SPDX-FileCopyrightText = "2014-2021 Knut Sveidqvist" |
| 137 | SPDX-License-Identifier = "MIT" |
| 138 | |
| 139 | [[annotations]] |
| 140 | path = "library/backtrace/**" |
| 141 | precedence = "override" |
| 142 | SPDX-FileCopyrightText = [ |
| 143 | "2014 Alex Crichton", |
| 144 | "The Rust Project Developers (see https://thanks.rust-lang.org)", |
| 145 | ] |
| 146 | SPDX-License-Identifier = "MIT OR Apache-2.0" |
| 147 | |
| 148 | [[annotations]] |
| 149 | path = "src/doc/embedded-book/**" |
| 150 | precedence = "override" |
| 151 | SPDX-FileCopyrightText = [ |
| 152 | "Rust on Embedded Devices Working Group", |
| 153 | "The Rust Project Developers (see https://thanks.rust-lang.org)", |
| 154 | ] |
| 155 | SPDX-License-Identifier = "MIT OR Apache-2.0 OR CC-BY-SA-4.0" |
| 156 | |
| 157 | [[annotations]] |
| 158 | path = "src/doc/rust-by-example/**" |
| 159 | precedence = "override" |
| 160 | SPDX-FileCopyrightText = [ |
| 161 | "2014 Jorge Aparicio", |
| 162 | "The Rust Project Developers (see https://thanks.rust-lang.org)", |
| 163 | ] |
| 164 | SPDX-License-Identifier = "MIT OR Apache-2.0" |
| 165 | |
| 166 | [[annotations]] |
| 167 | path = "src/llvm-project/**" |
| 168 | precedence = "override" |
| 169 | SPDX-FileCopyrightText = [ |
| 170 | "2003-2019 by the contributors listed in CREDITS.TXT (https://github.com/rust-lang/llvm-project/blob/7738295178045041669876bf32b0543ec8319a5c/llvm/CREDITS.TXT)", |
| 171 | "2010 Apple Inc", |
| 172 | "2003-2019 University of Illinois at Urbana-Champaign.", |
| 173 | ] |
| 174 | SPDX-License-Identifier = "NCSA AND Apache-2.0 WITH LLVM-exception" |
| 175 | |
| 176 | [[annotations]] |
| 177 | path = "src/gcc/**" |
| 178 | precedence = "override" |
| 179 | SPDX-FileCopyrightText = [ |
| 180 | "Copyright (C) 1997-2024 Free Software Foundation, Inc.", |
| 181 | ] |
| 182 | SPDX-License-Identifier = "GPL-3.0-or-later" |
| 183 | |
| 184 | [[annotations]] |
| 185 | path = "src/gcc/gcc/testsuite/**" |
| 186 | precedence = "override" |
| 187 | SPDX-FileCopyrightText = [ |
| 188 | "Copyright (C) 2000-2024 Free Software Foundation, Inc.", |
| 189 | ] |
| 190 | SPDX-License-Identifier = "GPL-2.0-only" |
| 191 | |
| 192 | [[annotations]] |
| 193 | path = "src/gcc/gcc/testsuite/c-c++-common/analyzer/*.c" |
| 194 | precedence = "override" |
| 195 | SPDX-FileCopyrightText = [ |
| 196 | "Copyright (c) 2007-2011 Atheros Communications Inc.", |
| 197 | "Copyright (c) 2011-2012,2017 Qualcomm Atheros, Inc.", |
| 198 | "Copyright (c) 2016-2017 Erik Stromdahl <erik.stromdahl@gmail.com>", |
| 199 | ] |
| 200 | SPDX-License-Identifier = "ISC" |
| 201 | |
| 202 | [[annotations]] |
| 203 | path = "src/gcc/libstdc++-v3/config/os/aix/os_defines.h" |
| 204 | precedence = "override" |
| 205 | SPDX-FileCopyrightText = [ |
| 206 | "Copyright (C) 2000-2024 Free Software Foundation, Inc.", |
| 207 | ] |
| 208 | SPDX-License-Identifier = "GCC-exception-3.1" |