Skip to content

gh-117888: print failing command when platform triplet detection errors #134905

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

duaneg
Copy link
Contributor

@duaneg duaneg commented May 29, 2025

The build system determines the platform triplet using the C preprocessor. If that fails for whatever reason we presently just report "none" for the triplet and continue until the invalid triplet causes a messy failure down the line.

Instead, store any error output, and in the event of a failure send it to stderr and fail immediately with a clear error message.

…n errors

The build system determines the platform triplet using the C preprocessor. If
that fails for whatever reason we presently just report "none" for the triplet
and continue until the invalid triplet causes a messy failure down the line.

Instead, store any error output, and in the event of a failure send it to
stderr and fail immediately with a clear error message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant