Skip to content

Conversation

@blorente
Copy link
Contributor

@blorente blorente commented Dec 12, 2025

Draft implementation of #3771
I'll add tests once the maintainers have confirmed that this behaviour is wanted.

args.process_wrapper_flags.add("--touch-file", success_marker)
outputs.append(success_marker)

if forward_clippy_exit_code == False:
Copy link
Contributor

Choose a reason for hiding this comment

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

simpler: would a user ever need to set one option but not the other? If there's an exit code file, then capture, otherwise forward

Copy link
Contributor Author

@blorente blorente Dec 12, 2025

Choose a reason for hiding this comment

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

I thought about it, but I'm not convinced it's the right approach. Because this is the process wrapper so it can be used for anything, I can see someone wanting to ignore non-zero exit values but not wanting to declare a file, e.g. if we 'bazel run'.

I agree that this is not a real use case right now, so I could definitely be convinced to collapse the arguments.

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