-
Notifications
You must be signed in to change notification settings - Fork 13k
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
refactor write_output_file to merge two invocation paths into one. #93331
Conversation
r? @oli-obk (rust-highfive has picked a reviewer for you, use r? to override) |
dwo_output_c.as_ptr(), | ||
file_type, | ||
) | ||
let dwo_output_c; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤣 Wasn't there a twitter thread just yesterday about this pattern?
@bors r+ rollup |
📌 Commit 3d5c92096d817e13d6d7985b722e42c22714645d has been approved by |
This comment has been minimized.
This comment has been minimized.
@bors r- rustfmt is unhappy. |
r=me with rustfmt run |
Argh I cannot believe I messed that up. I thought I had my local builds set up to catch this... |
3d5c920
to
39f2529
Compare
This comment has been minimized.
This comment has been minimized.
39f2529
to
927de94
Compare
@bors r=oli-obk rollup |
📌 Commit 927de94 has been approved by |
…askrgr Rollup of 6 pull requests Successful merges: - rust-lang#93331 (refactor write_output_file to merge two invocation paths into one.) - rust-lang#97928 (Removes debug settings from wasm32_unknown_emscripten default link args) - rust-lang#97940 (Use relative links instead of linking to doc.rust-lang.org when possible) - rust-lang#97941 (nit: Fixed several error_codes/Exxxx.md messages which used UpperCamelCase…) - rust-lang#97953 (Add regression test for rust-lang#54378) - rust-lang#97957 (Make `std::` prefix suggestion test `run-rustfix`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
this is a trivial refactor I did while I was investigating issue #91671.