Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions in Packages with custom lib names Undetected by Mutants #185

Closed
ASuciuX opened this issue Dec 14, 2023 · 3 comments
Closed

Functions in Packages with custom lib names Undetected by Mutants #185

ASuciuX opened this issue Dec 14, 2023 · 3 comments

Comments

@ASuciuX
Copy link
Contributor

ASuciuX commented Dec 14, 2023

In this repository, I've been utilizing cargo mutants for testing. I noticed an issue where certain packages' functions weren't being detected. Specifically, this occurred in packages with custom-named lib files, like libsigner or libclarity, even though they were correctly listed in the Cargo.toml path. Interestingly, once these files were renamed to lib, they started working properly.

Is there a possibility to enhance implementation so that custom-named lib files are also recognized effectively?

Ref link: stacks-network/stacks-core#4089 (comment) and files renamed.

@ASuciuX ASuciuX changed the title Mutants not discoverable for functions on packages with custom lib names Functions in Packages with custom lib names Undetected by Mutants Dec 15, 2023
@sourcefrog
Copy link
Owner

I actually recently fixed what I think is the same bug, in #183. It just needs some test. Please try out that branch and let me know?

@sourcefrog
Copy link
Owner

Probably a dupe of #115

@sourcefrog
Copy link
Owner

Dupe of #115, fixed in #183, will be in a near future release

@sourcefrog sourcefrog closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2023
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

No branches or pull requests

2 participants