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

Force using system clang #50

Closed
lucasfernog opened this issue Jun 13, 2023 · 1 comment · Fixed by #54
Closed

Force using system clang #50

lucasfernog opened this issue Jun 13, 2023 · 1 comment · Fixed by #54

Comments

@lucasfernog
Copy link
Contributor

We're currently spawning the clang command here. If the PATH is modified (mine was export PATH="/opt/homebrew/opt/llvm/bin:$PATH", clang will actually point to a different version of clang which does not include libclang_rt.ios.a or libclang_rt.iossim.a.

What do you think about changing Command::new("clang") to Command::new("/usr/bin/clang") so it always use the clang we're expecting?

@Brendonovich
Copy link
Owner

Idk anything about this but if we can guarantee that /usr/bin/clang always exists then this sounds fine

@Brendonovich Brendonovich linked a pull request Aug 6, 2023 that will close this issue
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 a pull request may close this issue.

2 participants