Skip to content

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

Merged
taiki-e merged 1 commit into
mainfrom
detect-alt
Sep 10, 2023
Merged

detect: Add test-only alternative implementations for Linux/Android/FreeBSD#121
taiki-e merged 1 commit into
mainfrom
detect-alt

Conversation

@taiki-e

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

Copy link
Copy Markdown
Owner

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
@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