Skip to content

Conversation

@szabgab
Copy link
Contributor

@szabgab szabgab commented Mar 9, 2025

testing error message of ask_the_preprocessor_to_blow_up

Apparently the output.status is different on windows and the rest of the OSes. That's why we need the cfg!(windows)
We could replace output.status by output.status.code().unwrap_or(-1) or by output.status.code().unwrap() thereby making sure the error message is the same on all (currently tested) OSes.

szabgab added 2 commits March 5, 2025 23:24
in ask_the_preprocessor_to_blow_up
Alternatively we could change the error message to
only include take the status code from the os by
using

output.status.code().unwrap() in preprocess/cmd.rs
where this error message is generated.

In that case we could have the exact same error
message on all the OS-es.
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Mar 9, 2025
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

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

Thanks!

@ehuss ehuss added this pull request to the merge queue Mar 16, 2025
Merged via the queue into rust-lang:master with commit 3a8faba Mar 16, 2025
12 checks passed
@szabgab szabgab deleted the ask_the_preprocessor_to_blow_up branch March 16, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: waiting on a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants