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

Fix a @debug statement that fails if host_platform is nothing #48

Merged
merged 2 commits into from
Oct 9, 2022

Conversation

DilumAluthge
Copy link
Member

If host_plaform is nothing, then triplet(host_platform) will throw MethodError: no method matching triplet(::Nothing), and thus the @debug statement will fail to be printed. Therefore, if host_platform is nothing, we should not try to call triplet(host_platform) in the @debug statement.

@DilumAluthge
Copy link
Member Author

Is Drone CI stuck?

@giordano
Copy link
Member

giordano commented Oct 8, 2022

#47

src/toplevel_generators.jl Outdated Show resolved Hide resolved
Co-authored-by: Valentin Churavy <[email protected]>
@vchuravy vchuravy merged commit 50b7574 into master Oct 9, 2022
@vchuravy vchuravy deleted the dpa/fix-debug-statement branch October 9, 2022 00:44
contra-bit pushed a commit to contra-bit/JLLWrappers.jl that referenced this pull request Jul 10, 2024
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.

None yet

3 participants