Skip to content

feat(rust-crane): add testFlagsExtra to interface #1095

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snpschaaf
Copy link

I extended the interface to access cranes setting cargoTestExtraArgs . Users can do so now via testFlagsExtra (named like testFlags does for cargoTestFlags).

@snpschaaf snpschaaf force-pushed the rust-crane-testFlagsExtra branch from abf9e89 to 80ab9ca Compare March 14, 2025 13:24
@snpschaaf snpschaaf marked this pull request as draft March 14, 2025 13:32
testFlagsExtra = {
type = t.str;
description = "additional flags to be passed in the cargoTestCommand invocation";
default = "--no-run";
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO:FIXME: this default should not be streamlined.

crane expect a string here. Without default everyone needs to set it. With some default some crane default would be overwritten. Make this interface optional.

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