]> git.proxmox.com Git - rustc.git/blame - debian/upstream-tarball-unsuspicious.txt
Update Files-Excluded for new upstream version 1.65.0
[rustc.git] / debian / upstream-tarball-unsuspicious.txt
CommitLineData
49eb9a71
XL
1## In this file we list false-positives of the check-orig-suspicious.sh script
2# so that they can be ignored. You should manually audit all of the files here
3# to confirm that they adhere to Debian Policy and the DFSG. In particular, if
4# you are blindly adding files here just to get the build to work, you are
5# probably Doing It Wrong. Ask in #debian-rust or the mailing list for pointers.
6
b7926139 7# False-positive, file(1) misidentifies mime type
b7926139
XL
8vendor/itertools*/examples/iris.data
9vendor/regex/tests/unicode.rs
3f640735 10vendor/regex/tests/suffix_reverse.rs
5e2e2384 11vendor/term/src/terminfo/parser/names.rs
b7926139 12
02aa35f3 13# False-positive, "verylongtext" but OK
44be201e 14README.md
3fd5c24b 15CONTRIBUTING.md
83f055ab 16RELEASES.md
d2688de9 17compiler/rustc_codegen_cranelift/docs/dwarf.md
5e2e2384 18compiler/rustc_codegen_gcc/Readme.md
22149143 19library/core/src/ffi/c_*.md
d20d63a5 20library/portable-simd/*.md
3aade234 21library/std/src/sys/sgx/abi/entry.S
1a8e8b30 22library/stdarch/CONTRIBUTING.md
83f055ab 23library/stdarch/crates/core_arch/src/aarch64/neon/generated.rs
02aa35f3 24src/doc/book/first-edition/src/the-stack-and-the-heap.md
44be201e 25src/doc/edition-guide/src/rust-2018/index.md
7f1c04c2
XL
26src/doc/edition-guide/src/rust-2021/disjoint-capture-in-closures.md
27src/doc/edition-guide/src/rust-2021/prelude.md
52c96905 28src/doc/embedded-book/src/*/*.md
7f1c04c2 29src/doc/nomicon/src/intro.md
55a400cc 30src/doc/reference/src/expressions/closure-expr.md
83f055ab 31src/doc/reference/src/inline-assembly.md
bd465bd4 32src/doc/rust-by-example/src/flow_control/if_let.md
3aade234 33src/doc/rust-by-example/src/std/arc.md
07dfc0c0 34src/doc/rust-by-example/src/trait/dyn.md
83f055ab 35src/doc/rust-by-example/src/unsafe/asm.md
22149143 36src/doc/rustc/src/instrument-coverage.md
8598b294 37src/doc/rustc/src/lints/groups.md
5e2e2384 38src/doc/rustc/src/platform-support/armv7-unknown-linux-uclibceabihf.md
3023d514 39src/doc/rustc/src/platform-support/armv7-unknown-linux-uclibceabi.md
ca9f05dc 40src/doc/rustc/src/targets/known-issues.md
bd465bd4
XL
41src/doc/rustc-dev-guide/src/*.md
42src/doc/rustc-dev-guide/src/*/*.md
4a099bab 43src/doc/rustdoc/src/*.md
f56f18fe 44src/doc/*/CODE_OF_CONDUCT.md
bd465bd4 45src/doc/unstable-book/src/*/*.md
02aa35f3 46src/etc/third-party/README.txt
a19150c2 47src/librustdoc/html/highlight/fixtures/sample.html
ce532669 48src/librustdoc/html/static/scrape-examples-help.md
31104e2d 49src/tools/rustfmt/*.md
2be80207
FG
50src/tools/rust-analyzer/docs/user/manual.adoc
51src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics/to_proto.rs
f56f18fe
XL
52vendor/*/Cargo.toml
53vendor/*/CHANGELOG.md
54vendor/*/CODE_OF_CONDUCT.md
f56f18fe
XL
55vendor/*/README.md
56vendor/*/README.tpl
57vendor/*/LICENSE
2be80207 58vendor/*/LICENSE-MIT
f56f18fe
XL
59vendor/*/*/LICENSE
60vendor/*/*/*/LICENSE
3023d514 61vendor/ahash/FAQ.md
f56f18fe 62vendor/ammonia/src/lib.rs
6932c92e 63vendor/clap/examples/derive_ref/README.md
a19150c2 64vendor/generic-array/DESIGN.md
f56f18fe 65vendor/handlebars/src/lib.rs
2be80207 66vendor/handlebars/src/template.rs
f56f18fe 67vendor/maplit/README.rst
54eb16b4 68vendor/mdbook/CONTRIBUTING.md
ce532669 69vendor/miniz_oxide/Readme.md
f56f18fe 70vendor/lazy_static/src/lib.rs
dbc92140 71vendor/pulldown-cmark/tests/suite/footnotes.rs
924c33f4 72vendor/rustc-demangle/src/legacy.rs
f56f18fe 73vendor/stable_deref_trait/src/lib.rs
e63388c8 74vendor/tinyvec/LICENSE-*.md
3aade234 75vendor/tracing-subscriber/src/fmt/format/json.rs
dbc92140 76vendor/unicase/src/lib.rs
e63388c8 77vendor/unicode-normalization/src/stream_safe.rs
f56f18fe 78vendor/winapi/src/lib.rs
6932c92e 79vendor/windows-sys/readme.md
22149143
FG
80vendor/windows-sys/src/Windows/Win32/*.rs
81vendor/windows-sys/src/Windows/Win32/*/*.rs
82vendor/windows-sys/src/Windows/Win32/*/*/*.rs
83vendor/windows-sys/src/Windows/Win32/*/*/*/*.rs
2be80207
FG
84vendor/windows-sys-0.*/src/Windows/Win32/*.rs
85vendor/windows-sys-0.*/src/Windows/Win32/*/*.rs
86vendor/windows-sys-0.*/src/Windows/Win32/*/*/*.rs
87vendor/windows-sys-0.*/src/Windows/Win32/*/*/*/*.rs
02aa35f3 88
55de384d 89# False-positive, audit-vendor-source automatically flags JS/C files
e2a86b73
XL
90# The below ones are OK since they're actually part of rust's own source code
91# and are not "embedded libraries".
c0bc9210 92src/ci/docker/scripts/qemu-bare-bones-addentropy.c
55de384d
XL
93src/doc/book/*/ferris.js
94src/doc/book/ferris.js
2be80207 95src/doc/rustc-dev-guide/mermaid-init.js
55de384d 96src/etc/wasm32-shim.js
7f1c04c2 97src/librustdoc/html/static/js/*.js
e2a86b73 98src/librustdoc/html/static/.eslintrc.js
55de384d 99src/test/auxiliary/rust_test_helpers.c
44be201e 100src/test/run-make/*/*.c
55de384d 101src/test/run-make/wasm-*/*.js
55de384d
XL
102src/test/run-make-fulldeps/*/*.c
103src/test/rustdoc-js/*.js
52c96905 104src/test/rustdoc-js-std/*.js
c0bc9210 105src/tools/rustdoc-js/tester.js
12919b74 106src/tools/rustdoc-gui/tester.js
55de384d 107
3fd5c24b 108# Embedded libraries, justified in README.source
e2a86b73
XL
109vendor/dlmalloc/src/dlmalloc.c
110vendor/mdbook/src/theme/book.js
111vendor/mdbook/src/theme/searcher/searcher.js
22149143
FG
112vendor/windows_*_gnu/lib/libwindows.a
113vendor/windows_*_msvc/lib/windows.lib
2be80207
FG
114vendor/windows_*_gnu-0.*/lib/libwindows.a
115vendor/windows_*_msvc-0.*/lib/windows.lib
116
117# Trivial glue code for C <-> Rust
118library/backtrace/src/android-api.c
119library/backtrace/crates/line-tables-only/src/callback.c
120vendor/backtrace/src/android-api.c
121vendor/errno-dragonfly/src/errno.c
122vendor/stacker/src/arch/windows.c
3fd5c24b 123
02aa35f3 124# False-positive, misc
bd465bd4 125src/doc/rustc-dev-guide/src/queries/example-0.counts.txt
5e2e2384 126src/stage0.json
55de384d 127src/test/run-make-fulldeps/target-specs/*.json
dc9f0328 128src/tools/clippy/.remarkrc
55de384d 129vendor/elasticlunr-rs/src/lang/*.rs
02aa35f3
XL
130
131# False-positive, hand-editable small image
132src/etc/installer/gfx/
4a099bab 133src/doc/embedded-book/src/assets/*.png
52c96905
XL
134src/doc/embedded-book/src/assets/*.svg
135src/doc/embedded-book/src/assets/f3.jpg
52c96905 136src/doc/embedded-book/src/assets/verify.jpeg
02aa35f3
XL
137src/doc/nomicon/src/img/safeandunsafe.svg
138src/doc/book/second-edition/src/img/*.png
139src/doc/book/second-edition/src/img/*.svg
8b8d4564
XL
140src/doc/book/src/img/ferris/*.svg
141src/doc/book/src/img/*.png
142src/doc/book/src/img/*.svg
7c6c09c3 143src/doc/book/2018-edition/src/img/ferris/*.svg
8598b294
XL
144src/doc/book/2018-edition/src/img/*.svg
145src/doc/book/2018-edition/src/img/*.png
8b8d4564 146src/doc/book/tools/docx-to-md.xsl
1a8e8b30 147src/doc/rustc/src/images/*.png
bd465bd4
XL
148src/doc/rustc-dev-guide/src/img/rustc_stages.svg
149src/doc/rustc-dev-guide/src/queries/example-0.png
12919b74 150src/doc/rustc-dev-guide/src/img/*.png
7f1c04c2 151src/librustdoc/html/static/images/*.svg
7f1c04c2 152src/librustdoc/html/static/images/favicon-*.png
d2688de9 153src/test/mir-opt/coverage_graphviz.*.InstrumentCoverage.0.dot
2be80207 154src/tools/rust-analyzer/assets/logo-*.svg
4a099bab 155vendor/mdbook/src/theme/favicon.svg
f56f18fe 156vendor/mdbook/src/theme/favicon.png
6932c92e 157vendor/pretty_assertions-0.7.2/examples/*.png
02aa35f3 158
ed9ea08d 159# Example code
f56f18fe 160vendor/html5ever/examples/capi/tokenize.c
6932c92e 161vendor/sysinfo/examples/simple.c
ed9ea08d 162
02aa35f3 163# Test data
d20d63a5
FG
164library/portable-simd/crates/core_simd/webdriver.json
165library/portable-simd/crates/core_simd/tests/mask_ops_impl/*.rs
166library/std/src/sys/windows/path/tests.rs
3aade234
XL
167library/stdarch/ci/gba.json
168library/stdarch/crates/stdarch-verify/arm-intrinsics.html
169library/stdarch/crates/stdarch-verify/x86-intel.xml
170library/stdarch/crates/std_detect/src/detect/test_data/*.auxv
83f055ab 171library/core/benches/str.rs
7f1c04c2 172library/core/tests/num/dec2flt/parse.rs
7f1c04c2 173src/test/debuginfo/type-names.cdb.js
3aade234
XL
174src/test/mir-opt/*.mir
175src/test/mir-opt/*.diff
29bee6d5
XL
176src/test/mir-opt/*/*.mir
177src/test/mir-opt/*/*.diff
6932c92e 178src/test/rustdoc/tuples.link2_i32.html
02aa35f3 179src/test/*/*.rs
2be80207 180src/test/*/*.stdout
7c6c09c3 181src/test/*/issues/*.rs
bd465bd4 182src/test/*/*/issue-*.rs
dc81e000 183src/test/*/*/issues/*.rs
3f21282e 184src/test/*/*.stderr
4a099bab 185src/test/*/*/*.rs
07dfc0c0 186src/test/*/*/*.json
ed9ea08d 187src/test/*/*/*.stderr
07dfc0c0 188src/test/*/*/*.stdout
3aade234 189src/test/*/*/*/*.stdout
0ae8a120 190src/test/*/*/*/*.stderr
7f1c04c2 191src/test/*/*/*/*/*.stderr
a19150c2
XL
192src/test/run-make/*-sgx-lvi/enclave/*/*/*.c
193src/test/run-make/*-sgx-lvi/enclave/*.c
2be80207 194src/test/rustdoc/*.html
e63388c8 195src/test/ui/macros/not-utf8.bin
ed9ea08d 196src/tools/*/tests/*/*.stderr
dc9f0328 197src/tools/clippy/tests/ui-toml/*/*.stderr
ce532669 198src/tools/clippy/tests/ui-toml/large_include_file/too_big.txt
dc9f0328 199src/tools/clippy/tests/ui/wildcard_enum_match_arm.fixed
31104e2d
FG
200src/tools/rustfmt/tests/writemode/target/*.json
201src/tools/rustfmt/tests/writemode/target/*.xml
202src/tools/rustfmt/tests/source/*.rs
d20d63a5 203src/tools/rustfmt/tests/source/*/*.rs
3023d514 204src/tools/rustfmt/tests/target/issue-5088/very_long_comment_wrap_comments_false.rs
2be80207
FG
205src/tools/rust-analyzer/bench_data/numerous_macro_rules
206src/tools/rust-analyzer/crates/syntax/test_data/reparse/fuzz-failures/0005.rs
207src/tools/rust-analyzer/crates/project-model/test_data/*.json
208src/tools/rust-analyzer/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt
209src/tools/rust-analyzer/crates/parser/test_data/lexer/ok/*
210src/tools/rust-analyzer/crates/ide/src/syntax_highlighting/test_data/highlight_*.html
6932c92e 211vendor/annotate-snippets/tests/fixtures/no-color/strip_line_non_ws.toml
fce69b58 212vendor/bstr/src/unicode/data/*Test.txt
a19150c2 213vendor/cargo_metadata*/tests/test_samples.rs
2be80207 214vendor/diff/tests/data/gitignores.chars.diff
e63388c8 215vendor/dissimilar/benches/*.txt
3aade234 216vendor/elasticlunr-rs/tests/data/*.in.txt
d2688de9 217vendor/elasticlunr-rs/tests/searchindex_fixture_*.json
f56f18fe 218vendor/flate2/tests/*.gz
5e2e2384 219vendor/flate2/tests/corrupt-gz-file.bin
ce532669 220vendor/fluent-syntax/benches/parser.rs
44be201e 221vendor/gimli-0*/fixtures/self/*
3023d514 222vendor/gimli/fixtures/self/*
1a8e8b30 223vendor/gsgdt/tests/*.json
f56f18fe 224vendor/html5ever/data/bench/*.html
3023d514
FG
225vendor/idna/tests/IdnaTest*.txt
226vendor/idna/tests/punycode_tests.json
4a099bab 227vendor/libloading/tests/*.dll
2be80207 228vendor/lsp-types/tests/tsc-unix.lsif
3023d514 229vendor/md-5/tests/data/*.blb
83f055ab
FG
230vendor/mdbook/test_book/src/individual/paragraph.md
231vendor/mdbook/test_book/src/individual/table.md
032ac1ba 232vendor/mdbook/tests/searchindex_fixture.json
e63388c8 233vendor/memchr/src/tests/*.json
032ac1ba
XL
234vendor/minifier/tests/files/main.js
235vendor/minifier/tests/files/minified_main.js
3023d514
FG
236vendor/minifier/tests/files/test.json
237vendor/minimal-lexical/tests/parse_tests.rs
238vendor/minimal-lexical/tests/slow_tests.rs
4a099bab 239vendor/petgraph/tests/res/*.txt
3023d514
FG
240vendor/regex-automata/data/fowler-tests/basic.dat
241vendor/regex-automata/data/tests/fowler/basic.dat
242vendor/regex/src/testdata/basic.dat
243vendor/regex/tests/crates_regex.rs
244vendor/regex/tests/fowler.rs
f56f18fe 245vendor/rustc-demangle/src/lib.rs
54eb16b4 246vendor/rustc-demangle/src/v0-large-test-symbols/early-recursion-limit
3023d514 247vendor/serde_json/tests/lexical/parse.rs
d2688de9 248vendor/sha-1-0*/tests/data/*.bin
3023d514 249vendor/sha-1-0*/tests/data/*.blb
3023d514 250vendor/sha-1/tests/data/*.blb
3023d514 251vendor/sha2/tests/data/*.blb
3023d514 252vendor/term/tests/data/*
6932c92e 253vendor/unicode-ident/tests/fst/*.fst
b7926139 254vendor/unicode-segmentation/src/testdata.rs
55de384d 255vendor/url/tests/*.json
2be80207 256vendor/walkdir/compare/nftw.c
31104e2d 257
02aa35f3
XL
258# Compromise, ideally we'd autogenerate these
259# Should already by documented in debian/copyright
bd465bd4 260src/doc/rustc-dev-guide/src/mir/mir_*.svg
7f1c04c2 261src/librustdoc/html/static/css/normalize.css
2be80207
FG
262src/tools/rust-analyzer/crates/ide-db/src/generated/lints.rs
263src/tools/rust-analyzer/crates/parser/src/syntax_kind/generated.rs
264vendor/linux-raw-sys/src/x86_64/general.rs
52c96905 265vendor/pest_meta/src/grammar.rs
4a099bab 266vendor/regex-syntax/src/unicode_tables/*.rs
3aade234
XL
267vendor/ucd-parse/src/sentence_break.rs
268vendor/ucd-trie/src/general_category.rs
f56f18fe 269vendor/unicode-normalization/src/tables.rs
fce69b58 270vendor/unicode-script/src/tables.rs
e2a86b73 271vendor/unicode-segmentation/src/tables.rs
3023d514 272vendor/wasi/src/lib_generated.rs
02aa35f3
XL
273
274# Compromise, ideally we'd package these in their own package
7f1c04c2 275src/librustdoc/html/static/fonts/*.woff2
fce69b58
FG
276
277# Compromise, ideally we'd autogenerate these
278vendor/bstr/src/unicode/fsm/*.dfa
5e2e2384
FG
279
280# file brokenness (detected as Algol source code)
3023d514
FG
281vendor/digest/src/core_api/wrapper.rs
282vendor/digest/src/core_api/rt_variable.rs
283vendor/ahash/src/hash_quality_test.rs
ce532669 284vendor/clap/src/derive.rs
3023d514
FG
285vendor/futures-macro/src/select.rs
286vendor/nom/src/error.rs
287vendor/nom/src/internal.rs
288vendor/nom/src/bits/mod.rs
289vendor/nom/src/bits/streaming.rs
290vendor/nom/src/bits/complete.rs
291vendor/nom/src/bytes/streaming.rs
292vendor/nom/src/bytes/complete.rs
293vendor/nom/src/branch/mod.rs
294vendor/nom/src/branch/tests.rs
295vendor/nom/src/multi/tests.rs
296vendor/nom/src/multi/mod.rs
297vendor/nom/src/number/complete.rs
298vendor/nom/src/number/streaming.rs
299vendor/nom/src/combinator/tests.rs
300vendor/nom/src/character/streaming.rs
301vendor/nom/src/character/complete.rs
302vendor/nom/src/sequence/mod.rs
303vendor/nom/tests/multiline.rs
304vendor/nom/tests/css.rs
305vendor/askama_shared/src/generator.rs
306vendor/block-buffer/tests/mod.rs
307src/tools/rustfmt/src/parse/parser.rs
5e2e2384
FG
308vendor/libm/src/math/atan.rs
309vendor/pest/tests/calculator.rs
310vendor/pest/src/position.rs
311vendor/pest/src/parser_state.rs
312vendor/pest/src/span.rs
313vendor/aho-corasick/src/nfa.rs
314vendor/miniz_oxide/src/deflate/mod.rs
315vendor/miniz_oxide/src/inflate/mod.rs
ce532669
FG
316vendor/miniz_oxide-0.4.0/src/deflate/mod.rs
317vendor/miniz_oxide-0.4.0/src/inflate/mod.rs
5e2e2384
FG
318vendor/thiserror-impl/src/attr.rs
319vendor/shlex/src/lib.rs
d20d63a5 320vendor/semver/src/parse.rs
5e2e2384 321vendor/rustc-rayon/tests/sort-panic-safe.rs
5e2e2384
FG
322vendor/url/src/parser.rs
323vendor/utf-8/tests/unit.rs
324vendor/rustversion/src/attr.rs
6932c92e 325vendor/env_logger/src/fmt/writer/mod.rs
d20d63a5 326vendor/env_logger-0.*/src/fmt/writer/mod.rs
5e2e2384
FG
327vendor/pest_generator/src/generator.rs
328vendor/digest/src/dev.rs
329vendor/proc-macro2/src/parse.rs
330vendor/xz2/src/stream.rs
331vendor/xz2/src/bufread.rs
5e2e2384 332vendor/digest-0.8.1/src/dev.rs
5e2e2384
FG
333vendor/pulldown-cmark/tests/lib.rs
334vendor/pulldown-cmark/src/linklabel.rs
5e2e2384
FG
335vendor/pulldown-cmark/benches/html_rendering.rs
336vendor/gimli/src/read/aranges.rs
337vendor/gimli/src/read/rnglists.rs
338vendor/gimli/src/read/unit.rs
339vendor/gimli/src/read/loclists.rs
340vendor/gimli/src/read/line.rs
341vendor/gimli/src/read/lookup.rs
d20d63a5
FG
342vendor/gimli-0.25.0/src/read/aranges.rs
343vendor/gimli-0.25.0/src/read/rnglists.rs
344vendor/gimli-0.25.0/src/read/unit.rs
345vendor/gimli-0.25.0/src/read/loclists.rs
346vendor/gimli-0.25.0/src/read/line.rs
347vendor/gimli-0.25.0/src/read/lookup.rs
5e2e2384
FG
348vendor/regex-automata/src/regex.rs
349vendor/rayon/tests/sort-panic-safe.rs
350vendor/syn/tests/test_meta.rs
351vendor/syn/src/punctuated.rs
352vendor/syn/src/derive.rs
353vendor/syn/src/token.rs
354vendor/syn/src/data.rs
355vendor/syn/src/ty.rs
356vendor/syn/src/stmt.rs
357vendor/syn/src/pat.rs
358vendor/syn/src/custom_punctuation.rs
359vendor/syn/src/path.rs
360vendor/syn/src/attr.rs
361vendor/syn/src/group.rs
5e2e2384
FG
362vendor/sha2/src/sha512.rs
363vendor/sha2/src/sha256.rs
364vendor/compiler_builtins/libm/src/math/atan.rs
365vendor/snap/src/decompress.rs
366vendor/snap/src/compress.rs
367vendor/flate2/src/mem.rs
368vendor/flate2/src/zio.rs
369compiler/rustc_expand/src/mbe/quoted.rs
370compiler/rustc_macros/src/symbols/tests.rs
371src/librustdoc/html/markdown/tests.rs
2be80207 372src/test/run-make-fulldeps/symbol-visibility/Makefile
5e2e2384
FG
373src/tools/clippy/clippy_lints/src/needless_pass_by_value.rs
374src/tools/clippy/clippy_lints/src/pass_by_ref_or_value.rs
2be80207 375src/tools/rust-analyzer/crates/ide-assists/src/handlers/number_representation.rs
5e2e2384
FG
376src/tools/rustfmt/src/string.rs
377src/tools/rustfmt/src/formatting.rs
5e2e2384 378library/std/src/sys/unix/process/process_unix.rs