!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

641 Members
Rust147 Servers

Load older messages


SenderMessageTime
13 Aug 2025
@emilazy:matrix.orgemily I think the real question is whether you can build a working rustc using a rustc with the Cranelift backend 18:55:35
@emilazy:matrix.orgemilyi.e. whether it can bootstrap18:55:40
@emilazy:matrix.orgemily(also maybe someone should… fix the comment?)18:55:46
@rosssmyth:matrix.orgrosssmythApparently, yes. As there is a test in the cranelift backend repo for it18:57:59
@emilazy:matrix.orgemilygot a link?18:58:44
@rosssmyth:matrix.orgrosssmythhttps://github.com/rust-lang/rustc_codegen_cranelift/blob/master/scripts/test_bootstrap.sh18:58:50
@emilazy:matrix.orgemily isn't that just checking that you can build rustc once? 19:02:01
@emilazy:matrix.orgemilyI'm talking about19:02:04
@emilazy:matrix.orgemily
  1. build Rust n with only the Cranelift backend
  2. use that Rust to build Rust n+1
19:02:15
@emilazy:matrix.orgemily this only does --stage 1, so I think it's just checking you can build "rustc with Cranelift backend" using an existing Rust binary 19:02:29
@emilazy:matrix.orgemily maybe I'm wrong though and the rustc in the environment here is a Cranelift one? 19:02:41
@rosssmyth:matrix.orgrosssmythYes, I believe you are correct 19:03:14
@qyliss:fairydust.spaceAlyssa Rossmrustc apparently supports 1.74.0 anyway now which should be a significantly newer LLVM19:09:50
@emilazy:matrix.orgemilyonly 1619:22:26
@emilazy:matrix.orgemilywhich I am also dropping19:22:28
@emilazy:matrix.orgemily🔪19:22:41
@emilazy:matrix.orgemily12, 13, 14, 15, 16, 17 are all dying19:22:56
@emilazy:matrix.orgemily anyway the mrustc-bootstrap compiler is useless 19:23:33
@emilazy:matrix.orgemilybecause it gives you a Rust too old for Nixpkgs19:23:36
@emilazy:matrix.orgemilyand no chain from there to the Rust we use19:23:42
@emilazy:matrix.orgemilyso I am only marking it broken and giving pointers to how you could resurrect it in a comment19:23:53
@emilazy:matrix.orgemilyactually maybe 17 too19:24:10
@emilazy:matrix.orgemily Cranelift or backporting LLVM 18 support patches to 1.74 or hoping mrustc adds support for new versions all seem like viable paths forward if you cared about it 19:24:21
@emilazy:matrix.orgemilymy suspicion is nobody does19:24:24
@rosscomputerguy:matrix.orgTristan Ross
In reply to @emilazy:matrix.org
12, 13, 14, 15, 16, 17 are all dying
Excellent, I support that
19:24:47
@emilazy:matrix.orgemilyGCC 9, 10, 11, 12 too19:25:05
@rosscomputerguy:matrix.orgTristan Ross18, 19, 20, 21, and git should suffice19:25:10
@emilazy:matrix.orgemilyI have every package that depends on any of those either dropped, marked broken, or fixed-in-principle locally19:25:14
@emilazy:matrix.orgemilyjust a lot of testing and fixups to do19:25:19
@rosscomputerguy:matrix.orgTristan RossAwesome, that GCC stuff will make it easier to move to GCC NG.19:25:41

Show newer messages


Back to Room ListRoom Version: 6