There's a comment in RustGlue.roc:
# These types (read: roc builtins) don't need to be declared in Rust.
# TODO: Eventually we want to generate roc_std. So these types will need to be emitted.
Currently Roc glue does output the Roc standard library on generation. This seems like a fine solution. Is different behavior desired (e.g: only generating the parts of the standard library that the platform will need), or is this a vestigial TODO?
I think it's fine to generate all of it. :thumbs_up:
Last updated: Jul 06 2025 at 12:14 UTC