Skip to content

test: cover output-dir cdylib package filtering#211

Open
StantonMatt wants to merge 1 commit into
bbqsrc:mainfrom
StantonMatt:test-output-dir-current-package-cdylib
Open

test: cover output-dir cdylib package filtering#211
StantonMatt wants to merge 1 commit into
bbqsrc:mainfrom
StantonMatt:test-output-dir-current-package-cdylib

Conversation

@StantonMatt
Copy link
Copy Markdown
Contributor

Refs #193.

This adds regression coverage around the --output-dir artifact selection path that was fixed on main: sibling workspace cdylib artifacts should not be considered copy candidates for the current package, including the case where a sibling artifact has no .so filename.

The implementation extracts the existing current-package cdylib filter into a helper so it can be tested directly; the copy behavior is otherwise unchanged.

Verification:

  • cargo +1.86.0-x86_64-pc-windows-gnu fmt --check
  • git diff --check origin/main...HEAD
  • cargo +1.86.0-x86_64-pc-windows-gnu build --locked
  • cargo +1.86.0-x86_64-pc-windows-gnu test --locked
  • cargo +1.86.0-x86_64-pc-windows-gnu clippy --locked --all-targets -- -D warnings

Signed-off-by: Matthew Stanton <stantonmatthewj@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant