Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor host into crate #194

Merged
merged 51 commits into from
Jul 16, 2024
Merged

Refactor host into crate #194

merged 51 commits into from
Jul 16, 2024

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.

build.roc Outdated Show resolved Hide resolved
@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.

build.roc Outdated Show resolved Hide resolved
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
glue.roc Outdated Show resolved Hide resolved
ci/all_tests.sh Outdated Show resolved Hide resolved
ci/rust_http_server/Cargo.toml Show resolved Hide resolved
build.roc Outdated Show resolved Hide resolved
build.roc Outdated Show resolved Hide resolved
build.roc Outdated Show resolved Hide resolved
build.roc Outdated Show resolved Hide resolved
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 ❤️

build.roc Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@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
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
5 checks passed
@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.

4 participants