Skip to content

run-make-support: tidy up support library#123699

Merged
bors merged 4 commits intorust-lang:masterfrom
jieyouxu:rmake-refactor
Apr 14, 2024
Merged

run-make-support: tidy up support library#123699
bors merged 4 commits intorust-lang:masterfrom
jieyouxu:rmake-refactor

Conversation

@jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Apr 9, 2024

  • Make handle_failed_output take &Command instead of having the caller keep doing format!("{:#?}", s).
  • Introduce a helper macro for implementing common command wrappers, such as arg, args, run, run_fail.
    • Use the helper macro on existing command wrappers and remove manual copy-pasta'd implementations.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants