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

Add logic to build.rs to autodetect whether we need to use thumb-mode. #420

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

sunfishcode
Copy link
Member

#[cfg(target_feature = "thumb-mode")] isn't available on stable, so use a build.rs script to detect whether we can use r7 in inline asm on ARM targets.

`#[cfg(target_feature = "thumb-mode")]` isn't available on stable, so
use a build.rs script to detect whether we can use `r7` in inline asm
on ARM targets.
@nibon7
Copy link

nibon7 commented Sep 30, 2022

LGTM. Thanks.

@sunfishcode sunfishcode merged commit 97c8b94 into main Oct 10, 2022
@sunfishcode sunfishcode deleted the sunfishcode/thumb-mode-detect branch October 10, 2022 20:29
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.

3 participants