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

Remove usage of cfg! from the build script #21

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

nathaniel-daniel
Copy link
Contributor

The build script uses cfg! for vendored builds. However, cfg! targets the host machine and not the target, breaking cross compilation. I have replaced the uses of this macro in this library's build script with an equivalent that checks the target machine instead of the host.

@wez wez merged commit 0baf910 into wez:main Nov 27, 2023
6 checks passed
@wez
Copy link
Owner

wez commented Nov 27, 2023

Thanks!

@nathaniel-daniel nathaniel-daniel deleted the fix-cross-compile branch November 28, 2023 00:48
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.

2 participants