roc-lang / basic-webserver

A basic webserver in Roc
https://roc-lang.github.io/basic-webserver/
Universal Permissive License v1.0
76 stars 16 forks source link

Refactor host files into crates #54

Closed lukewilliamboswell closed 3 months ago

lukewilliamboswell commented 5 months ago

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.

lukewilliamboswell commented 4 months ago
Anton-4 commented 3 months ago

Looks like some of these are used...

bhansconnect commented 3 months ago

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.

bhansconnect commented 3 months ago

So they are unused, but referenced by RocResult. So they can't be deleted.