Skip to content

Check for actual target OS#57

Open
kornelski wants to merge 1 commit intozmwangx:masterfrom
kornelski:wrong-use-of-cfg
Open

Check for actual target OS#57
kornelski wants to merge 1 commit intozmwangx:masterfrom
kornelski:wrong-use-of-cfg

Conversation

@kornelski
Copy link
Contributor

cfg!() evaluates host on which build.rs runs, not the platform the code is being compiled for. It's invalid for cross-compilation.

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.

1 participant