6 ms·
It was a happy day when Servo ditched a big hairy pile of makefiles + git submodules and switched to Cargo :)
by SimonSapin 10y ago
It was a happy day when Servo ditched a big hairy pile of makefiles + git submodules and switched to Cargo :)
- Gankro 10y agoHappier than Rust 1.0 and the end of The Rustup?
- cm3 10y agoEnd of The Rustup? AFAICS, it's still downloading a very specific servo-only rustc.
- kibwen 10y agoServo's efforts to upgrade their version of rustc used to be legendarily traumatic, these days it's comparatively tame. :)
- cm3 10y agoRight, and if the binary toolchains would be built with musl (not targeting musl) statically, we could have a rustc+cargo that works on both glibc and musl, avoiding two versions.
- dbaupp 10y agoCould you explain what you're referring to? It seems like a total non sequitur, since as far as I know, there has never been any pain (or even rumour of pain) in a Rust upgrade caused by what libc the compiler uses, but rather breakage in the unstable features that servo uses.
- cm3 10y agoIf the official rust+cargo was built statically with musl, then a single download would work on glibc and musl distros. Right now, we don't have a download that works on musl, and one has to bootstrap on a glibc system, targeting musl, which makes it impossible to bootstrap rust+cargo on a musl distro without glibc because bootstrapping requires a snapshot.
- dbaupp 10y agoAh, it is a total non sequitur, unrelated to what servo encounters when changing Rust versions?
- cm3 10y agoI don't understand what you're saying. I suggested that linux builds of rust+cargo ought to be done as musl-static (not for targeting musl) so that a single download works on both Ubuntu and Alpine. Now we have only glibc builds. Yes, it's not related to servo, but it is relevant to you mentioning glibc, though this is off-topic so let's stop arguing.
- dbaupp 10y agoI think you should go back and re-read the conversation, particularly kibwen's comment above and your reply: they seem to be totally unconnected. I was trying to understand how you thought they (Servo upgrading Rust versions and a musl-compiled rustc) were related, I was not arguing. There is in fact no mention of glibc until your comments, nor is there any implication in my comments that I don't understand what musl does nor do I disagree that it is useful (in fact, I used Rust's easy ability to link binaries against musl just a few days ago). This discussion is purely prompted by me trying to understand why you thought it made sense to talk about musl on a seemingly unrelated comment... maybe there was some insightful connection I missed, but it seems not.
- cm3 10y agoYou're right.
- mbrubeck 10y agoIt downloads a regular Rust nightly build these days. It depends on the specific nightly date (because we use compiler plugins that link to unstable rustc internals), but at least we no longer have to build our own Servo-specific snapshots.
- cm3 10y agoI really wish downvotes would require a comment so that I knew why the two posts in this thread branch went negative after being positive for a long time. I feel like people treat it like a personal spam filter although it's the same view for everybody. Odd.