-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rustc not supported on OS X? #10864
Comments
Well, apparently it isn't (yet). Which doesn't mean it won't just work, but it might need some changes (I don't know). |
After stopping by the IRC channel, the issue was found to be with LLVM. First
|
@andrewrynhard @vcunat I have a fix for this but it's based on the
Some other non-obvious changes are required to get cargo working properly, and they'll be included in the commit that I eventually make to master (unless you want to cherry-pick my changes now, which I'm happy to make available). |
@pikajude: I think I can wait for the merge into master. Got caught up with something else for now. Thanks for the fixes! |
@pikajude have your changes been merged yet? |
Along with PR NixOS#13879, these patches let julia build and run on darwin. Using an llvm with shared library support is an idea adopted from a @pikajude comment here NixOS#10864 The libgit2 change is mechanical to pull in iconv on darwin. The frameworks are referenced by julia's build system.
@andrewrynhard I created pull request here: #14870, which enables Rust Darwin compatibility. Would be good if you could test it :) |
I have the following
default.nix
and when invoking
nix-shell .
I getIs this a bug? How can I get rustc to work on OS X?
The text was updated successfully, but these errors were encountered: