Skip to content

test: cover output-dir cdylib package filtering#211

Merged
bbqsrc merged 1 commit into
bbqsrc:mainfrom
StantonMatt:test-output-dir-current-package-cdylib
Jun 12, 2026
Merged

test: cover output-dir cdylib package filtering#211
bbqsrc merged 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>
@bbqsrc bbqsrc merged commit 263131b into bbqsrc:main Jun 12, 2026
18 checks passed
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.

2 participants