tvix: byte index 1 is not a char boundary; it is inside '🕰' (bytes 0..4) of 🕰️

#337
Opened by aspen at 2023-12-05T21·56+00

To reproduce, checkout depot at 113d8c75a5ac9b62864b735b267b4a2e926df5b9 and eval:

tvix-repl> (import ./. {}).third_party.nixpkgs.hello
thread 'main' panicked at src/builtins/mod.rs:954:36:
byte index 1 is not a char boundary; it is inside '🕰' (bytes 0..4) of `🕰️`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  1. See https://b.tvl.fyi/issues/189#comment-306, where this is mentioned. It seems this is notably load-bearing (!)

    aspen at 2023-12-05T22·07+00

  2. cl/10200 fixes this

    aspen at 2024-01-31T14·52+00

  3. aspen closed this issue at 2024-01-31T14·52+00