Skip to content
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

detect: Add test-only alternative implementations for Linux/Android/FreeBSD #121

Merged
merged 1 commit into from
Sep 10, 2023

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Sep 9, 2023

This adds alternative CPU detection implementations that don't depend on libc, previously mentioned in rust-lang/compiler-builtins#532 (comment).

This is currently used only for testing. In the future it could be used to replace or supplement the current implementation, taking into account a variety of factors.

@taiki-e taiki-e added O-arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state O-powerpc Target: PowerPC processors labels Sep 9, 2023
@taiki-e taiki-e force-pushed the detect-alt branch 5 times, most recently from 4d65eae to d60f0ea Compare September 10, 2023 07:43
@taiki-e taiki-e merged commit a6c880c into main Sep 10, 2023
101 checks passed
@taiki-e taiki-e deleted the detect-alt branch September 10, 2023 11:14
@taiki-e taiki-e added O-aarch64 Target: Armv8-A, Armv8-R, or later processors in AArch64 mode and removed O-arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-aarch64 Target: Armv8-A, Armv8-R, or later processors in AArch64 mode O-powerpc Target: PowerPC processors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant