Skip to content

regex-automata/test: ignore some tests in 32-bit targets #1040

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

Merged
merged 1 commit into from
Jul 12, 2023

Conversation

BurntSushi
Copy link
Member

One of these tests (the captures one) is very specific to 64-bit since it uses a numeric literal that is bigger than what can be fit into 32 bits.

The other two tests, for determinize_size_limit, are not specific to 64-bit targets but do somewhat depend on the specific memory usages in play. We could probably find some limits that work for both 32-bit and 64-bit, but since 'cross' doesn't run doc tests, doing this is pretty annoying. So just ignore the tests.

Fixes #1039

One of these tests (the captures one) is very specific to 64-bit since
it uses a numeric literal that is bigger than what can be fit into
32 bits.

The other two tests, for determinize_size_limit, are not specific to
64-bit targets but do somewhat depend on the specific memory usages in
play. We could probably find some limits that work for both 32-bit and
64-bit, but since 'cross' doesn't run doc tests, doing this is pretty
annoying. So just ignore the tests.

Fixes #1039
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.

regex-automata v0.3.2: test failures on 32-bit architectures
1 participant