Closed lukewilliamboswell closed 3 months ago
roc_http
and refactored the roc_host
crate.glue-get.sh
script to top level so it is easier to discover. The generated code still requires some manual clean-up but this is much simpler now. impl<T, E> RocRefcounted for RocResult<T, E>
in roc_std
that needs to be added into roc-lang/roc/crates/roc_std
Looks like some of these are used...
Looks like some of these are used...
Oh, I know whats happening. They type is being used in a RocResult. Which does use the refcounting impl. But still, the actual impl won't be called unless eventually the type is used in a list.
So they are unused, but referenced by RocResult. So they can't be deleted.
This PR separates the rust host files from the roc platform files, and adds a
build.roc
script.The purpose of this change is to simplify the build process, and to have a clearer separation between these elements as this repository serves as an example of roc platforms.