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

Update preprocess host API #6808

Merged
merged 7 commits into from
Jul 3, 2024
Merged

Update preprocess host API #6808

merged 7 commits into from
Jul 3, 2024

Conversation

lukewilliamboswell
Copy link
Collaborator

Splitting this off from #6696

This PR modifies the API for preprocessing host binaries for surgical linking.

$ roc preprocess-host --help
Runs the surgical linker preprocessor to generate `.rh` and `.rm` files.

Usage: roc preprocess-host [OPTIONS] <host> <platform> <lib>

Arguments:
  <host>      Path to the host executable where the app was linked dynamically
  <platform>  Path to the platform/main.roc file
  <lib>       Path to a stubbed app dynamic library (e.g. roc build --lib app.roc)

Options:
      --verbose  Print detailed information while pre-processing host
  -h, --help     Print help

Copy link
Sponsor Collaborator

@agu-z agu-z left a comment

Choose a reason for hiding this comment

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

Nice

@lukewilliamboswell lukewilliamboswell merged commit f69d39d into main Jul 3, 2024
17 checks passed
@lukewilliamboswell lukewilliamboswell deleted the process-host branch July 3, 2024 00:23
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