Skip to content

Commit

Permalink
Cargo.toml: Exclude idna/tests for vendor tarball
Browse files Browse the repository at this point in the history
Exclude test files from the `idna` create that we don't need for
rpm-ostree. Those test fiels include invalid Unicode code points for
testing and that triggers rpminspect checks for Fedora RPM packaging.

Fixes: #4760
See: https://github.com/servo/rust-url/blob/master/idna/tests/IdnaTestV2.txt
  • Loading branch information
travier authored and cgwalters committed Jan 8, 2024
1 parent a827afb commit 4056e33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ exclude-crate-paths = [ { name = "libz-sys", exclude = "src/zlib" },
{ name = "rustix", exclude = "src/imp/linux_raw" },
# Test files that include binaries
{ name = "system-deps", exclude = "src/tests" },
# Test files that include invalid Unicode code points
{ name = "idna", exclude = "tests" },
]

# This currently needs to duplicate the libraries in configure.ac
Expand Down

0 comments on commit 4056e33

Please sign in to comment.