!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

638 Members
Rust146 Servers

Load older messages


SenderMessageTime
1 Nov 2025
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaoh if I were to know the cause...17:07:38
@ihar.hrachyshka:matrix.orgIhar Hrachyshkafor now I'm just waiting for mozilla folks who are now looking into it to come back with a fix. then we will probably know if we have a path with llvm21.17:08:20
@emilazy:matrix.orgemilyhave you tried bisecting? shouldn't take too long17:08:47
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabisecting whom? llvm?17:08:57
@emilazy:matrix.orgemilyyeah17:09:38
@emilazy:matrix.orgemilywe have a known good and known bad version17:09:45
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI am not sure about "shouldn't take too long" :D but maybe I'm missing something. AFAIU it means rebuilding the world a bunch of times.17:10:25
@emilazy:matrix.orgemilynot the world. just LLVM, Rust, Firefox17:10:33
@emilazy:matrix.orgemily which sure, take a long time, but bisect is O(log n). 17:10:41
@emilazy:matrix.orgemilyso if you've built a handful of Firefoxes already you're well on the way to the total time it'd take to just find the problematic commit.17:10:54
@emilazy:matrix.orgemilywhich is going to be required for any long-term solution17:11:00
@ihar.hrachyshka:matrix.orgIhar Hrachyshka:) I wasn't planning to spend a week babysitting a bisect but yeah sure :D17:12:01
@emilazy:matrix.orgemilyI'd expect more like a couple days, but who knows17:13:51
@emilazy:matrix.orgemilyGit will at least tell you immediately how many steps it anticipates17:14:02
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI mean... I hear you, just not what I was planning to spend time on in the next few weeks, but if mozilla folks don't come back with some solution, we'll of course have to do it ourselves.17:14:58
@emilazy:matrix.orgemily the immediate ergonomic solution would be to just get rid of the llvmSharedForBuild stuff in Rust 17:15:52
@emilazy:matrix.orgemilybut in general17:16:35
@emilazy:matrix.orgemilywe will not be able to support what you are doing for too long17:16:40
@emilazy:matrix.orgemilysince IIRC Rust only supports the last couple LLVM versions17:16:48
@emilazy:matrix.orgemilyof course this will also be a problem for Mozilla…17:16:54
@ihar.hrachyshka:matrix.orgIhar Hrachyshkathey are still on llvm1917:18:14
@ihar.hrachyshka:matrix.orgIhar Hrachyshkalooking at adopting 20 I think17:18:19
@ihar.hrachyshka:matrix.orgIhar Hrachyshkafun fact - mozilla dude had to compile 21 himself because they apparently don't release builds of 21 for macos yet?17:18:53
@emilazy:matrix.orgemilyI thought they switched to 20 already.17:20:39
@emilazy:matrix.orgemilybut are they on an old Rust then? because I'd be surprised if latest Rust supports LLVM 1917:20:51
@ihar.hrachyshka:matrix.orgIhar Hrachyshkahttps://bugzilla.mozilla.org/show_bug.cgi?id=192325517:23:02
@emilazy:matrix.orgemily fyi, this is the function: https://searchfox.org/firefox-main/source/image/encoders/png/nsPNGEncoder.cpp#718. I am wondering if something dodgy is going on with alignment here. (perhaps → #mozilla:nixos.org) 17:23:39
@ihar.hrachyshka:matrix.orgIhar Hrachyshkatheir rust policy: https://github.com/mozilla-firefox/firefox/blob/main/docs/writing-rust-code/update-policy.md17:26:08
@ihar.hrachyshka:matrix.orgIhar HrachyshkaFirefox 143 Rust 1.86.0 1.82.0 Firefox 144 Rust 1.89.0 ?17:27:08
@ihar.hrachyshka:matrix.orgIhar Hrachyshkabisect for llvm would be 15 steps if all goes well (I don't know how often I'd need to skip in the process)17:35:44

Show newer messages


Back to Room ListRoom Version: 6