Stream: contributing

Topic: basic-cli glue


view this post on Zulip Luke Boswell (Oct 19 2023 at 07:16):

I started working on some basic-cli issues and got distracted converting it to use RustGlue. I came up with a creative workaround to get glue to generate for all the types.

There are some rust issues with the generated glue and so I thought I would share as this may be useful for debugging glue - with a lot of types.

Pushed the WIP to basic-cli/tree/glue-gen branch. You can (re)generate the glue files using roc glue ../roc/crates/glue/src/RustGlue.roc src/src/ src/main-glue.roc.


Last updated: Jul 05 2025 at 12:14 UTC