Nix Rust | 691 Members | |
| Rust | 157 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 Mar 2025 | ||
| <bait>can we just disable fat lto globally</bait> | 19:28:37 | |
| (this message is brought to you by uv taking 30 minutes and 10GB of RAM to build with fatlto) | 19:49:51 | |
In reply to @k900:0upti.methink of the children | 19:58:49 | |
| who would want to put a 40-year-old file system on tapes... | 20:45:25 | |
| 8 Mar 2025 | ||
| 19:06:45 | ||
| 21:41:03 | ||
| 9 Mar 2025 | ||
| 15:32:07 | ||
| I have this:
But cargo build still doesn't see any of the wasm targets installed. I used the overlay usage approach. | 15:34:08 | |
| * I have this:
But cargo build still doesn't see any of the wasm targets installed. I used the overlay usage approach. | 15:34:33 | |
| Is there a different place where the different targets needs to go? | 15:39:52 | |
| * Is there a different place where the different targets need to go? | 15:39:57 | |
You probably need to do it differently with fenix, I would try with combine:https://github.com/nix-community/fenix/blob/6781661e331d1efe11023d4a35f2dfe65272f248/README.md?plain=1#L139-L151 | 15:53:37 | |
You probably need to do it differently with fenix, I would try with combine:https://github.com/nix-community/fenix/blob/6781661e331d1efe11023d4a35f2dfe65272f248/README.md?plain=1#L139-L151 (ignoring how it would be better to do it in shell and not "globally" in your HM config) | 15:58:10 | |
| 15:59:17 | |
| Doesn't work. | 15:59:25 | |
| 16:00:01 | |
| why use fenix for latest stable? | 16:00:15 | |
| you can just get it from Nixpkgs | 16:00:18 | |
| Does it matter? | 16:00:42 | |
| it might reduce your problems | 16:00:50 | |
| generally Nixpkgs Rust is less headache-inducing for cross in my experience | 16:01:03 | |
| Then how do I add these targets via nixpkgs? | 16:02:56 | |
Regarding your error, there is no wasm32-wasi target in stable.I assume combine the way you want it, would look for it there. | 16:03:15 | |
wasm32-unknown-unknown comes out of the box. otherwise pkgsCross | 16:03:15 | |
| I can't combine latest for main target and latest for other targets? | 16:04:28 | |
| * I can't combine stable for main target and latest for other targets? | 16:04:37 | |
no, you cannot mix rustc version and std version | 16:04:55 | |
| those are tightly coupled | 16:04:57 | |
also, target support is not solely in std. | 16:05:04 | |
| this is what fenix tells | 16:05:30 | |