| 13 Aug 2025 |
apyh | since it'll have to build wasm stuff from scratch anyways | 15:27:57 |
mpiechotka | 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 | Indirect dependencies | 15:52:02 |
rosssmyth | I 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 | * 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 | * 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 | The future is now | 18:52:51 |
emily | that's cool | 18:53:34 |
emily | I only wanted it to give hope to the next person trying to unbreak mrustc-bootstrap | 18:53:41 |
emily | after I drop its LLVM 12 dependency | 18:53:44 |
emily | the idea would be to bootstrap to something that can use a modern LLVM so slowness probably wouldn't matter there | 18:54:04 |
emily | since from-source Rust bootstrapping is already the slowest activity you can perform | 18:54:23 |
emily | I think the real question is whether you can build a working rustc using a rustc with the Cranelift backend | 18:55:35 |
emily | i.e. whether it can bootstrap | 18:55:40 |
emily | (also maybe someone should… fix the comment?) | 18:55:46 |
rosssmyth | Apparently, yes. As there is a test in the cranelift backend repo for it | 18:57:59 |
emily | got a link? | 18:58:44 |
rosssmyth | https://github.com/rust-lang/rustc_codegen_cranelift/blob/master/scripts/test_bootstrap.sh | 18:58:50 |
emily | isn't that just checking that you can build rustc once? | 19:02:01 |
emily | I'm talking about | 19:02:04 |
emily |
- build Rust n with only the Cranelift backend
- use that Rust to build Rust n+1
| 19:02:15 |
emily | 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 |
emily | maybe I'm wrong though and the rustc in the environment here is a Cranelift one? | 19:02:41 |
rosssmyth | Yes, I believe you are correct | 19:03:14 |
Alyssa Ross | mrustc apparently supports 1.74.0 anyway now which should be a significantly newer LLVM | 19:09:50 |
emily | only 16 | 19:22:26 |
emily | which I am also dropping | 19:22:28 |
emily | 🔪 | 19:22:41 |
emily | 12, 13, 14, 15, 16, 17 are all dying | 19:22:56 |
emily | anyway the mrustc-bootstrap compiler is useless | 19:23:33 |