Skip to content

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