Nix Rust | 667 Members | |
| Rust | 149 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Jan 2026 | ||
| https://doc.rust-lang.org/cargo/reference/profiles.html#release | 22:22:24 | |
| 22:22:39 | |
| oh I see | 22:28:03 | |
| sorry for the misunderstanding, I'm not sure where I read the thin lto by default thing | 22:28:31 | |
| the profiles page you linked to does say that lto=false is different from lto=off though, and that lto=false enables "thin local lto" | 22:29:54 | |
That should be our default as well, as I don't think we explicitly pass lto=false? | 22:39:17 | |
| i think we just inherit whatever upstream has profile.release set to? | 22:42:20 | |
| probably is? idk how rustc deals with default options | 22:42:21 | |
| * | 22:42:42 | |
| * | 22:43:12 | |
In reply to @k900:0upti.menever thought about this but I guess it's a good thing rust release builds don't use fast-math by default... | 22:44:11 | |
| i looked into this more and it seems thin local lto is redundant with codegen-units=1 anyway (and rustc disables thin local lto if codegen-units=1 and the lto level is unspecified) buildRustCrate has | 23:28:51 | |
| 18 Jan 2026 | ||
| dynamic derivations | 00:21:58 | |
| ? | 00:21:59 | |
| 20:43:40 | ||
| i get flashbacks to random segfaults in c/c++ when this happens:
💀 | 23:43:35 | |
| beginning to understand why the maintainer abandoned trying to update this package. somehow it compiles fine on darwin, but trying with aarch64 it throws this junk | 23:44:43 | |
| what are you trying to compile | 23:46:03 | |
| this one: https://github.com/NixOS/nixpkgs/blob/49213403e38ca893cafc83571d05bebbb782ff89/pkgs/by-name/st/stalwart-mail/package.nix | 23:48:12 | |
| think it might just be a local issue with vm, probably wont see this issue on hydra | 23:56:07 | |
| what signal was rustc terminated by | 23:56:56 | |
| not sure, only got this in the output:
| 23:58:51 | |
| 19 Jan 2026 | ||
| It does default to thin local LTO between codegen units within a single crate aka between modules | 01:31:31 | |
| 20:16:20 | ||
| 20 Jan 2026 | ||
| 05:54:14 | ||
I must be doing something wrong because I get proc-macro server version check failed from rust-analyzer. I'm on a steamdeck and it's all setup to run most everything from podman and nix making assumptions about a "pristine" system breaks things. Like keeping the provided LD_LIBRARY_PATH, this made the installer(nix-store) segfault. | 06:09:47 | |
| I actually came to ask about developing for android, from amd64. I think I should be using cargo-ndk and there is a package for that. | 06:11:20 | |
/nix/store/n234xvnsajgvn5lym30idk66397s86sq-rust-nightly-complete-2026-01-19/bin/rust-analyzer and.../nix/store/n234xvnsajgvn5lym30idk66397s86sq-rust-nightly-complete-2026-01-19/libexec/rust-analyzer-proc-macro-srv | 06:16:40 | |
| 06:18:30 | |
| 06:20:47 | |