News for hackers. Stuff that matters.
Re:Announcing Rust 1.23 by Q6T46nT668w6i3m on Thursday January 04, 2018 @11:52AM (#16071814)
Steve, what’s your recommendation for installing and managing Rust releases on macOS in 2018 in a manner that’s compatible with Homebrew? Last time I looked into this (early 2017) the recommendation was using rustup outside of Homebrew. Has this changed?
Re:Announcing Rust 1.23 by steveklabnik on Thursday January 04, 2018 @12:01PM (#16071901)
I haven't used macOS as a primary machine in years, so I'm slightly out of the loop on it, honestly.

My opinions are basically the same as https://users.rust-lang.org/t/best-way-to-install-rust-on-os...

One other note, I heard at least one Homebrew user saying that rustc was compiled from source, and so it takes a really, really long time. I don't know if they've added binary packages, but that'd help.

Re:Announcing Rust 1.23 by Q6T46nT668w6i3m on Thursday January 04, 2018 @12:08PM (#16071963)
Thanks for the reply. It sounds like rustup outside of Homebrew is still the best option. I should add, it’s tottaly fine. My only annoyance is that Homebrew’s doctor command complains, but I suppose that’s more of a Homebrew issue.
Re:Announcing Rust 1.23 by teilo on Thursday January 04, 2018 @01:39PM (#16072832)
My biggest issue with Homebrew has been it's default prefix: /usr/local. Too many other packages put stuff there, and cause Homebrew breakage.

This is why I put Hombrew in /opt/homebrew. Despite the freakout warnings about this potentially breaking homebrew packages, I have never had an issue.

Re:Announcing Rust 1.23 by papermule on Thursday January 04, 2018 @12:16PM (#16072035)
Devils advocate: I’m the other kind of Mac user who hates homebrew and refuses to use it. Give me a package or bash script to run!
Re:Announcing Rust 1.23 by dfee on Thursday January 04, 2018 @12:24PM (#16072093)
What are your problems with homebrew? I have my share of them, but I wonder if your problems are more community oriented, MacOS oriented, or brew itself.
Re:Announcing Rust 1.23 by lilyball on Thursday January 04, 2018 @02:16PM (#16073178)
(Not the parent)

I used to love Homebrew, but I recently uninstalled it from my machines and went back to MacPorts. This was motivated by the discovery that the lead maintainer of Homebrew is a huge jerk. The tl;dr is he deliberately took offense at inadvertent rudeness in someone's GitHub comment that they had already edited to remove (he recognized this and quoted the original form from the email anyway), then subsequently threatened to ban them from the Homebrew GitHub organization for politely asking that their issue be reopened, and when I pointed this out, he banned me and deleted the relevant comments.

Re:Announcing Rust 1.23 by rrdharan on Thursday January 04, 2018 @03:39PM (#16073862)
Given that he self identifies as “often a dick” this doesn’t seem too surprising:

https://www.quora.com/Whats-the-logic-behind-Google-rejectin...

Re:Announcing Rust 1.23 by lilyball on Thursday January 04, 2018 @03:47PM (#16073925)
That's Max Howell. He's got his own set of issues, but he's not the lead maintainer of Homebrew anymore. The person I'm talking about is Mike McQuaid.
Re:Announcing Rust 1.23 by papermule on Thursday January 04, 2018 @06:29PM (#16075094)
I used Homebrew back when it wouldn’t work without chowning /usr/local/bin. I’m not sure if that is still a requirement, but it did leave a bitter after taste.

Beside that, I like to install packages from their canonical source. That could mean installing Go from golang.org to MariaDB from mariadb.org. It’s simple to compare sha256 checksums, which I suspect is also possible with Homebrew, I just don’t know how.

Re:Announcing Rust 1.23 by orf on Thursday January 04, 2018 @02:22PM (#16073237)
How about a ruby script to run instead of a bash script? With perhaps a shared repository of them that you could use? Hmm...
Re:Announcing Rust 1.23 by tomjakubowski on Thursday January 04, 2018 @07:00PM (#16075280)
Homebrew has made binary packages (“bottles”) for rust available for as long as I can remember. You might want to build from source if you’d rather use Homebrew’s LLVM than the one bundled with Rust.
Re:Announcing Rust 1.23 by steveklabnik on Friday January 05, 2018 @07:57AM (#16078264)
Great, the person I was helping must have just made a huge mistake then :)
Re:Announcing Rust 1.23 by sirodoht on Thursday January 04, 2018 @02:21PM (#16073217)
I use rustup and works perfectly. Why do you want a Homebrew-compatible manner and why rustup is not?
Re:Announcing Rust 1.23 by AsyncAwait on Thursday January 04, 2018 @03:00PM (#16073524)
Adding my own experience, rustup works well on macOS and I don't have any issues with brew doctor either.