Elektrine lite

← Feed

@laund@wetdry.world

Post #1963475

2026-04-28 21:53 UTC

@HenrikLievonen @bjorn3 @tamme likely. i generally recommend linking with mold anyways, so maybe switching to that is a workaround, as it shouldn't need a shell script even if the system default linker uses one for one reason or another

Replies (1)

  • @laund @bjorn3 @tamme After some searching, it seems that this is a bug with NixOS and Rust: rustc overrides locale to LC_ALL=C, but this changes the behavior of printf %q used by the cc wrapper on NixOS so that it encodes non-ASCII characters in octal, which clang does not understand. https://github.com/NixOS/nixpkgs/issues/419771

    Open ##1963476