| 6 Jul 2025 |
K900 | Possibly | 15:18:00 |
Andrew | That's interesting. | 15:18:09 |
K900 | Oh actually no it won't because you're building for MinGW | 15:18:12 |
K900 | So presumably you'll run into Exciting ABI Fuckery | 15:18:18 |
Andrew | OK, is there a better way? | 15:18:36 |
K900 | Build on native Windows | 15:18:43 |
Andrew | Are you saying Nix can't save me? | 15:18:57 |
K900 | We don't really have good Windows support in nixpkgs | 15:18:59 |
K900 | I am saying that nixpkgs, in its current state, can't save you | 15:19:09 |
Andrew | So you're telling there is a chance... | 15:19:22 |
K900 | Maybe if someone puts in a good half a year of work and gets us a working MSVC toolchain | 15:19:24 |
K900 | But you'd need to find someone with nixpkgs AND Windows expertise | 15:19:42 |
K900 | And such people are extremely rare | 15:19:49 |
K900 | If they even exist | 15:19:52 |
Andrew | Do I understand correctly, that Windows platform support is not good, but Rust makes it even worse? | 15:20:20 |
Andrew | Because more variables etc. | 15:20:25 |
K900 | No, Rust can actually make it OK-ish sometimes maybe | 15:20:37 |
Andrew | Because there are separate targets in Nixpkgs and separate ones in Rust. | 15:20:56 |
K900 | But having native dependencies is what will generally get you | 15:21:01 |
K900 | That's how literally every compiler works | 15:21:08 |
Andrew | Okay, so I'll try installing the runtime first, and hope for the best. Otherwise... don't really wanna install Rust on that machine. | 15:21:57 |
Andrew | * Okay, so I'll try installing the runtime first, and hope for the best. Otherwise... don't really wanna install Rust on that machine. Though maybe I will. | 15:22:25 |
Andrew | Thanks for the pointers. | 15:22:39 |
K900 | You don't have to install Rust on the machines you're deploying to | 15:23:39 |
K900 | You just need to install Rust (and MSVC++) on a single machine for the actual build | 15:23:49 |
K900 | So yeah I can't find any specifics on Dioxus | 15:25:24 |
K900 | But Tauri specifically says they only support MSVC ABI on Windows | 15:25:31 |
K900 | And Dioxus uses Tauri for all the OS specific bits | 15:25:50 |
K900 | So presumably they inherit that limitation | 15:25:58 |
| Derpy (they/any) changed their display name from Any (they/any) to Derpy (they/any). | 17:00:28 |