Skip to content

test: add regression tests for cross-arch flag_if_supported#1637

Draft
naoNao89 wants to merge 1 commit intorust-lang:mainfrom
naoNao89:test/issue-486-flag-if-supported-cross-arch
Draft

test: add regression tests for cross-arch flag_if_supported#1637
naoNao89 wants to merge 1 commit intorust-lang:mainfrom
naoNao89:test/issue-486-flag-if-supported-cross-arch

Conversation

@naoNao89
Copy link
Contributor

This adds tests to catch the bug from #486 where flag_if_supported rejects valid flags during cross-compilation.

The tests check that -Wall and -std=c++11 work correctly when building on ARM64 for x86_64 (and vice versa). They'll skip gracefully if cross-compilers aren't available

@naoNao89 naoNao89 marked this pull request as draft December 22, 2025 03:04
…g#486)

Adds tests to reproduce issue where flag_if_supported incorrectly
rejects valid compiler flags during cross-compilation. Tests
gracefully skip when cross-compilers are unavailable.
@naoNao89 naoNao89 force-pushed the test/issue-486-flag-if-supported-cross-arch branch from 0ed8142 to 11628dd Compare December 22, 2025 04:05
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.

1 participant