// `bytes.build_string` on bytes that are not valid UTF-8 stops the actor, // on both backends. import std/bytes import std/io pub fn main :: -> () / { let b = bytes.builder () |> bytes.append_string "abc" |> bytes.append_byte 255 io.println (bytes.build_string b) } //! panic: bytes.build_string: invalid UTF-8 at byte 3