]> git.proxmox.com Git - rustc.git/blame - debian/upstream-tarball-unsuspicious.txt
drop patch applied in 1.52
[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
02aa35f3 7# False-positive, very small so suspicious-source thinks "octet-stream"
02aa35f3 8src/test/run-pass/raw-str.rs
02aa35f3 9
b7926139
XL
10# False-positive, file(1) misidentifies mime type
11src/ci/docker/*/patches/glibc/*/*.patch
12vendor/itertools*/examples/iris.data
13vendor/regex/tests/unicode.rs
3f640735 14vendor/regex/tests/suffix_reverse.rs
b7926139 15
02aa35f3 16# False-positive, "verylongtext" but OK
3fd5c24b 17CONTRIBUTING.md
d2688de9 18compiler/rustc_codegen_cranelift/docs/dwarf.md
3aade234
XL
19library/std/sys/cloudabi/abi/cloudabi.rs
20library/std/src/os/raw/*.md
21library/std/src/sys/sgx/abi/entry.S
1a8e8b30 22library/stdarch/CONTRIBUTING.md
02aa35f3 23src/doc/book/first-edition/src/the-stack-and-the-heap.md
8598b294 24src/doc/book/*/tools/docx-to-md.xsl
3aade234 25src/doc/edition-guide/src/rust-next/cargo-vendor.md
52c96905 26src/doc/embedded-book/src/*/*.md
bd465bd4 27src/doc/rust-by-example/src/flow_control/if_let.md
3aade234 28src/doc/rust-by-example/src/std/arc.md
07dfc0c0 29src/doc/rust-by-example/src/trait/dyn.md
8598b294 30src/doc/rustc/src/lints/groups.md
ca9f05dc 31src/doc/rustc/src/targets/known-issues.md
bd465bd4
XL
32src/doc/rustc-dev-guide/.travis.yml
33src/doc/rustc-dev-guide/src/*.md
34src/doc/rustc-dev-guide/src/*/*.md
4a099bab 35src/doc/rustdoc/src/*.md
f56f18fe 36src/doc/*/CODE_OF_CONDUCT.md
bd465bd4 37src/doc/unstable-book/src/*/*.md
02aa35f3 38src/etc/third-party/README.txt
f56f18fe 39src/librustc_codegen_ssa/README.md
a19150c2 40src/librustdoc/html/highlight/fixtures/sample.html
f56f18fe
XL
41vendor/*/.travis.yml
42vendor/*/Cargo.toml
43vendor/*/CHANGELOG.md
44vendor/*/CODE_OF_CONDUCT.md
45vendor/*/CONTRIBUTORS.md
46vendor/*/README.md
47vendor/*/README.tpl
48vendor/*/LICENSE
49vendor/*/*/LICENSE
50vendor/*/*/*/LICENSE
51vendor/ammonia/src/lib.rs
4a099bab 52vendor/base64/RELEASE-NOTES.md
07dfc0c0 53vendor/clap/SPONSORS.md
4a099bab 54vendor/clap/.github/CONTRIBUTING.md
d2688de9 55vendor/cranelift-codegen/src/isa/x86/unwind/systemv.rs
a19150c2 56vendor/generic-array/DESIGN.md
f56f18fe
XL
57vendor/handlebars/src/lib.rs
58vendor/maplit/README.rst
59vendor/lazy_static/src/lib.rs
3aade234 60vendor/oorandom/tarpaulin-report.html
dbc92140
XL
61vendor/pulldown-cmark/tests/suite/footnotes.rs
62vendor/pulldown-cmark/third_party/xi-editor/crdt.md
f56f18fe 63vendor/pulldown-cmark/specs/footnotes.txt
07dfc0c0
XL
64vendor/pulldown-cmark-*/tests/suite/footnotes.rs
65vendor/pulldown-cmark-*/third_party/xi-editor/crdt.md
f56f18fe 66vendor/pulldown-cmark-*/specs/footnotes.txt
924c33f4 67vendor/rustc-demangle/src/legacy.rs
e63388c8 68vendor/socket2/diff.patch
f56f18fe 69vendor/stable_deref_trait/src/lib.rs
e63388c8 70vendor/tinyvec/LICENSE-*.md
3aade234 71vendor/tracing-subscriber/src/fmt/format/json.rs
dbc92140 72vendor/unicase/src/lib.rs
e63388c8 73vendor/unicode-normalization/src/stream_safe.rs
f56f18fe
XL
74vendor/winapi-*/src/winnt.rs
75vendor/winapi/src/lib.rs
3aade234 76vendor/xml5ever/examples/README.md
02aa35f3 77
55de384d 78# False-positive, audit-vendor-source automatically flags JS/C files
e2a86b73
XL
79# The below ones are OK since they're actually part of rust's own source code
80# and are not "embedded libraries".
3aade234 81library/backtrace/crates/line-tables-only/src/callback.c
c0bc9210 82src/ci/docker/scripts/qemu-bare-bones-addentropy.c
55de384d
XL
83src/doc/book/*/ferris.js
84src/doc/book/ferris.js
85src/etc/wasm32-shim.js
c0bc9210 86src/grammar/parser-lalr-main.c
55de384d 87src/librustdoc/html/static/*.js
e2a86b73 88src/librustdoc/html/static/.eslintrc.js
55de384d
XL
89src/test/auxiliary/rust_test_helpers.c
90src/test/run-make/wasm-*/*.js
91src/test/run-make-fulldeps/*.c
92src/test/run-make-fulldeps/*/*.c
93src/test/rustdoc-js/*.js
52c96905 94src/test/rustdoc-js-std/*.js
c0bc9210 95src/tools/rustdoc-js/tester.js
52c96905 96src/tools/rustdoc-js-std/tester.js
12919b74 97src/tools/rustdoc-gui/tester.js
d2688de9
XL
98vendor/errno-dragonfly/src/errno.c
99vendor/raw-cpuid/src/cpuid.c
4a099bab 100vendor/salsa/book/mermaid-init.js
3f640735 101vendor/stacker/src/arch/windows.c
55de384d 102
3fd5c24b 103# Embedded libraries, justified in README.source
3aade234
XL
104library/backtrace/crates/backtrace-sys/src/libbacktrace/configure
105library/backtrace/crates/backtrace-sys/src/libbacktrace/config/libtool.m4
106library/backtrace/crates/backtrace-sys/src/libbacktrace/*.c
107library/backtrace/crates/backtrace-sys/src/android-api.c
e2a86b73
XL
108vendor/compiler_builtins/compiler-rt/lib/BlocksRuntime/*.c
109vendor/compiler_builtins/compiler-rt/lib/builtins/*.c
110vendor/compiler_builtins/compiler-rt/lib/builtins/*/*.c
111vendor/compiler_builtins/compiler-rt/utils/generate_*.awk
112vendor/dlmalloc/src/dlmalloc.c
113vendor/mdbook/src/theme/book.js
114vendor/mdbook/src/theme/searcher/searcher.js
115vendor/walkdir/compare/nftw.c
116vendor/walkdir-*/compare/nftw.c
3fd5c24b 117
02aa35f3 118# False-positive, misc
3aade234
XL
119library/backtrace/crates/backtrace-sys/src/libbacktrace/libtool.m4
120library/stdarch/.travis.yml
121library/stdarch/crates/core_arch/foo.wasm
bd465bd4 122src/doc/rustc-dev-guide/src/queries/example-0.counts.txt
55de384d
XL
123src/test/run-make-fulldeps/target-specs/*.json
124src/test/run-make-fulldeps/libtest-json/output.json
125vendor/clap/.mention-bot
f56f18fe 126vendor/cloudabi/cloudabi.rs
55de384d 127vendor/elasticlunr-rs/src/lang/*.rs
4a099bab 128vendor/inotify-sys/inotify-sys.sublime-project
55de384d
XL
129vendor/markup5ever/data/entities.json
130vendor/num/ci/deploy.enc
59c2dd54 131vendor/term-0*/scripts/id_rsa.enc
02aa35f3
XL
132
133# False-positive, hand-editable small image
134src/etc/installer/gfx/
4a099bab 135src/doc/embedded-book/src/assets/*.png
52c96905
XL
136src/doc/embedded-book/src/assets/*.svg
137src/doc/embedded-book/src/assets/f3.jpg
138src/doc/embedded-book/src/assets/nrf52-memory-map.png
139src/doc/embedded-book/src/assets/nrf52-spi-frequency-register.png
140src/doc/embedded-book/src/assets/verify.jpeg
02aa35f3
XL
141src/doc/nomicon/src/img/safeandunsafe.svg
142src/doc/book/second-edition/src/img/*.png
143src/doc/book/second-edition/src/img/*.svg
8b8d4564
XL
144src/doc/book/src/img/ferris/*.svg
145src/doc/book/src/img/*.png
146src/doc/book/src/img/*.svg
7c6c09c3 147src/doc/book/2018-edition/src/img/ferris/*.svg
8598b294
XL
148src/doc/book/2018-edition/src/img/*.svg
149src/doc/book/2018-edition/src/img/*.png
8b8d4564 150src/doc/book/tools/docx-to-md.xsl
1a8e8b30 151src/doc/rustc/src/images/*.png
bd465bd4
XL
152src/doc/rustc-dev-guide/src/img/rustc_stages.svg
153src/doc/rustc-dev-guide/src/queries/example-0.png
12919b74 154src/doc/rustc-dev-guide/src/img/*.png
d2688de9 155src/doc/unstable-book/src/compiler-flags/img/llvm-cov-show-01.png
8598b294 156src/librustdoc/html/static/*.svg
52c96905
XL
157src/librustdoc/html/static/rust-logo.png
158src/librustdoc/html/static/favicon.ico
a19150c2 159src/librustdoc/html/static/favicon-*.png
d2688de9 160src/test/mir-opt/coverage_graphviz.*.InstrumentCoverage.0.dot
4a099bab
XL
161vendor/addr2line/memory.png
162vendor/addr2line/time.png
163vendor/base64/icon_CLion.svg
f56f18fe 164vendor/difference/assets/*.png
e2a86b73
XL
165vendor/fortanix-sgx-abi/images/enclave-execution-lifecycle.png
166vendor/heck/no_step_on_snek.png
4a099bab 167vendor/mdbook/src/theme/favicon.svg
f56f18fe
XL
168vendor/mdbook/src/theme/favicon.png
169vendor/num/doc/favicon.ico
170vendor/num/doc/rust-logo-128x128-blk-v2.png
171vendor/pest/pest-logo.svg
172vendor/pretty_assertions/examples/*.png
173vendor/termion/logo.svg
02aa35f3 174
ed9ea08d 175# Example code
f56f18fe 176vendor/html5ever/examples/capi/tokenize.c
ed9ea08d 177
02aa35f3 178# Test data
3aade234
XL
179library/stdarch/ci/gba.json
180library/stdarch/crates/stdarch-verify/arm-intrinsics.html
181library/stdarch/crates/stdarch-verify/x86-intel.xml
182library/stdarch/crates/std_detect/src/detect/test_data/*.auxv
02aa35f3 183src/test/compile-fail/not-utf8.bin
3aade234
XL
184src/test/mir-opt/*.mir
185src/test/mir-opt/*.diff
186src/test/mir-opt/*.diff.*
29bee6d5
XL
187src/test/mir-opt/*/*.mir
188src/test/mir-opt/*/*.diff
3aade234 189src/test/mir-opt/*/*.diff.*
29bee6d5
XL
190src/test/mir-opt/*/*/*.mir
191src/test/mir-opt/*/*/*.diff
192src/test/mir-opt/*/*/*/*.mir
193src/test/mir-opt/*/*/*/*.diff
02aa35f3 194src/test/*/*.rs
7c6c09c3 195src/test/*/issues/*.rs
bd465bd4 196src/test/*/*/issue-*.rs
dc81e000 197src/test/*/*/issues/*.rs
3f21282e 198src/test/*/*.stderr
4a099bab 199src/test/*/*/*.rs
07dfc0c0 200src/test/*/*/*.json
ed9ea08d 201src/test/*/*/*.stderr
07dfc0c0 202src/test/*/*/*.stdout
3aade234 203src/test/*/*/*/*.stdout
0ae8a120 204src/test/*/*/*/*.stderr
a19150c2
XL
205src/test/run-make/*-sgx-lvi/enclave/*/*/*.c
206src/test/run-make/*-sgx-lvi/enclave/*.c
207src/test/run-make-fulldeps/*/*/*.html
1a8e8b30 208src/test/rustdoc-json/*.expected
e63388c8 209src/test/ui/macros/not-utf8.bin
07dfc0c0 210src/test/ui/terminal-width/non-whitespace-trimming*.rs
ed9ea08d 211src/tools/*/tests/*/*.stderr
fce69b58 212vendor/bstr/src/unicode/data/*Test.txt
a19150c2 213vendor/cargo_metadata*/tests/test_samples.rs
f56f18fe
XL
214vendor/cssparser/src/css-parsing-tests/*.json
215vendor/cssparser/src/big-data-url.css
e63388c8 216vendor/dissimilar/benches/*.txt
3aade234 217vendor/elasticlunr-rs/tests/data/*.in.txt
d2688de9 218vendor/elasticlunr-rs/tests/searchindex_fixture_*.json
f56f18fe 219vendor/flate2/tests/*.gz
4a099bab
XL
220vendor/gimli/fixtures/self/*
221vendor/goblin/etc/*.rs
222vendor/goblin/tests/bins/elf/gnu_hash/helloworld.c
223vendor/goblin/tests/bins/elf/gnu_hash/*.so
1a8e8b30 224vendor/gsgdt/tests/*.json
12919b74 225vendor/idna/tests/IdnaTest*.txt
55de384d 226vendor/idna/tests/punycode_tests.json
032ac1ba
XL
227vendor/idna-0*/tests/IdnaTest.txt
228vendor/idna-0*/tests/punycode_tests.json
b7926139 229vendor/itertools/examples/iris.data
f56f18fe
XL
230vendor/html5ever/data/bench/*.html
231vendor/html5ever/html5lib-tests/*/*.dat
232vendor/html5ever/html5lib-tests/*/*.test
4a099bab 233vendor/libloading/tests/*.dll
ad1f144f 234vendor/libz-sys/src/smoke.c
29bee6d5
XL
235vendor/md-5/tests/data/*.blb
236vendor/md-5/tests/data/*.bin
032ac1ba
XL
237vendor/mdbook/src/theme/searcher/searcher.js
238vendor/mdbook/tests/searchindex_fixture.json
e63388c8 239vendor/memchr/src/tests/*.json
55de384d 240vendor/minifier/tests/files/test.json
032ac1ba
XL
241vendor/minifier/tests/files/main.js
242vendor/minifier/tests/files/minified_main.js
55de384d 243vendor/pest/benches/data.json
4a099bab 244vendor/petgraph/tests/res/*.txt
f56f18fe 245vendor/pretty_assertions/src/format_changeset.rs
4a099bab
XL
246vendor/regex-automata/data/tests/fowler/basic.dat
247vendor/regex-automata/data/fowler-tests/basic.dat
f56f18fe
XL
248vendor/regex/src/testdata/basic.dat
249vendor/regex/tests/crates_regex.rs
250vendor/regex/tests/fowler.rs
251vendor/regex-0*/src/testdata/basic.dat
252vendor/regex-0*/tests/fowler.rs
253vendor/rustc-demangle/src/lib.rs
d2688de9
XL
254vendor/sha-1-0*/tests/data/*.blb
255vendor/sha-1-0*/tests/data/*.bin
29bee6d5
XL
256vendor/sha-1/tests/data/*.blb
257vendor/sha-1/tests/data/*.bin
a19150c2
XL
258vendor/sha2/tests/data/*.blb
259vendor/sha2/tests/data/*.bin
260vendor/snap/data/*
f56f18fe 261vendor/tar/tests/archives/*.tar
59c2dd54 262vendor/term-0*/tests/data/*
f56f18fe
XL
263vendor/toml/tests/*/*.toml
264vendor/toml/tests/*/*.json
b7926139 265vendor/unicode-segmentation/src/testdata.rs
55de384d 266vendor/url/tests/*.json
032ac1ba 267vendor/url-1*/tests/*.json
3aade234 268vendor/xml5ever/data/bench/strong.xml
f56f18fe 269vendor/yaml-rust/tests/specexamples.rs.inc
29bee6d5 270vendor/yaml-rust-0*/tests/specexamples.rs.inc
02aa35f3
XL
271
272# Compromise, ideally we'd autogenerate these
273# Should already by documented in debian/copyright
bd465bd4 274src/doc/rustc-dev-guide/src/mir/mir_*.svg
02aa35f3 275src/librustdoc/html/static/normalize.css
52c96905 276vendor/pest_meta/src/grammar.rs
4a099bab 277vendor/regex-syntax/src/unicode_tables/*.rs
3aade234
XL
278vendor/ucd-parse/src/sentence_break.rs
279vendor/ucd-trie/src/general_category.rs
f56f18fe 280vendor/unicode-normalization/src/tables.rs
fce69b58 281vendor/unicode-script/src/tables.rs
e2a86b73 282vendor/unicode-segmentation/src/tables.rs
02aa35f3
XL
283
284# Compromise, ideally we'd package these in their own package
285src/librustdoc/html/static/*.woff
12919b74 286src/librustdoc/html/static/*.woff2
fce69b58
FG
287
288# Compromise, ideally we'd autogenerate these
289vendor/bstr/src/unicode/fsm/*.dfa