Skip to content

Conversation

@lukewilliamboswell
Copy link
Collaborator

@lukewilliamboswell lukewilliamboswell commented Apr 28, 2024

This PR separates the rust host files from the roc platform files, and adds a build script using a release of basic-cli.

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.

@Anton-4
Copy link
Collaborator

Anton-4 commented Apr 29, 2024

Looks great, nice to have a Roc build script!

@lukewilliamboswell
Copy link
Collaborator Author

Ok, I'll continue working on this and see if I can get the surgical linker part working too.

@lukewilliamboswell lukewilliamboswell changed the title WIP Refactor host into crate Refactor host into crate May 31, 2024
@lukewilliamboswell lukewilliamboswell marked this pull request as ready for review May 31, 2024 04:14
add preprocessed host for surgical linking

refactor to build artefacts for both legacy and surgical linking

update build for preprocessing

update build script

add a glue script

refactor host into crates

try adding linker=legacy

fix build.roc extensions

add build platform binary step to CI

stage the changes for surgical linker
@lukewilliamboswell lukewilliamboswell force-pushed the refactor-host branch 2 times, most recently from 49769d4 to 6c7b159 Compare July 2, 2024 23:40
Copy link
Collaborator

@Anton-4 Anton-4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's just this question, all the rest looks great ❤️

@Anton-4
Copy link
Collaborator

Anton-4 commented Jul 16, 2024

🍾 we're ready to merge for my part, I'll just let @lukewilliamboswell review my changes

@lukewilliamboswell lukewilliamboswell dismissed Anton-4’s stale review July 16, 2024 21:52

No longer applicable

@lukewilliamboswell
Copy link
Collaborator Author

@Anton-4 -- looks good to me. Thank you for making those changes.

@lukewilliamboswell lukewilliamboswell merged commit d84516a into main Jul 16, 2024
@lukewilliamboswell lukewilliamboswell deleted the refactor-host branch July 16, 2024 22:01
@Anton-4
Copy link
Collaborator

Anton-4 commented Jul 17, 2024

Massive effort 💪 Thank you very much @lukewilliamboswell ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants