Stream: compiler development

Topic: Glue generating roc_std


view this post on Zulip Sven van Caem (Sep 24 2024 at 12:05):

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?

view this post on Zulip Richard Feldman (Sep 24 2024 at 12:43):

I think it's fine to generate all of it. :thumbs_up:


Last updated: Jul 06 2025 at 12:14 UTC