Skip to content

Remove usage of cfg! from the build script#21

Merged
wez merged 1 commit intowez:mainfrom
nathaniel-daniel:fix-cross-compile
Nov 27, 2023
Merged

Remove usage of cfg! from the build script#21
wez merged 1 commit intowez:mainfrom
nathaniel-daniel:fix-cross-compile

Conversation

@nathaniel-daniel
Copy link
Copy Markdown
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
@wez
Copy link
Copy Markdown
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