!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

671 Members
Rust154 Servers

Load older messages


SenderMessageTime
13 Aug 2025
@apyh:matrix.orgapyhyou could have a different src/ filter for different target platforms, perhaps?15:27:43
@apyh:matrix.orgapyhsince it'll have to build wasm stuff from scratch anyways 15:27:57
@mpiechotka:matrix.orgmpiechotka
In reply to @apyh:matrix.org
you could have a different src/ filter for different target platforms, perhaps?
It's for dependencies
15:51:54
@mpiechotka:matrix.orgmpiechotkaIndirect dependencies15:52:02
@rosssmyth:matrix.orgrosssmythI have been told that the commend in bootstrap.example.toml is a lie. So just put it in there without llvm and apparently it just does it. I have also been warned that it might be unusable slow. 18:52:17
@rosssmyth:matrix.orgrosssmyth* I have been told that the comment in bootstrap.example.toml is a lie. So just put it in there without llvm and apparently it just does it. I have also been warned that it might be unusable slow. 18:52:22
@rosssmyth:matrix.orgrosssmyth* I have been told that the comment in bootstrap.example.toml is a lie. So just put it in there without llvm and apparently it just does it. I have also been warned that it might be unusably slow. 18:52:32
@rosssmyth:matrix.orgrosssmythThe future is now18:52:51
@emilazy:matrix.orgemilythat's cool18:53:34
@emilazy:matrix.orgemily I only wanted it to give hope to the next person trying to unbreak mrustc-bootstrap 18:53:41
@emilazy:matrix.orgemilyafter I drop its LLVM 12 dependency18:53:44
@emilazy:matrix.orgemilythe idea would be to bootstrap to something that can use a modern LLVM so slowness probably wouldn't matter there18:54:04
@emilazy:matrix.orgemilysince from-source Rust bootstrapping is already the slowest activity you can perform18:54:23
@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

Show newer messages


Back to Room ListRoom Version: 6