@HenrikLievonen@mastodon.hli.fi
Post #1963476
2026-05-03 20:33 UTC
@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
Replies (1)
-
@bjorn3@hachyderm.io 2026-05-03 20:36
@HenrikLievonen @laund @tamme Maybe having rustc set LC_MESSAGES=C instead of LC_ALL=C would work?