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

Use cross to build linux artifact #185

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

ethankhall
Copy link
Contributor

By using cross, the build of the artifact will have a more stable ABI because the docker image has a well defined version of libraries that are defined, meaning that updates to "ubuntu-latest" won't impact the compatible version of the built binaries.

This change defines the "toolchain" for rust, meaning that new versions of rust won't automatically be picked up (unless changed to stable).

This also removes the action-rs uses, because they are deprecated and the github actions install rustup by default

By using cross, the build of the artifact will have a more stable ABI
because the docker image has a [well defined version of libraries][1]
that are defined, meaning that updates to "ubuntu-latest" won't impact
the compatible version of the built binaries.

This change defines the "toolchain" for rust, meaning that new versions
of rust won't automatically be picked up (unless changed to stable).

This also removes the `action-rs` uses, because they are deprecated and
the github actions install rustup by default

  [1]: https://github.com/cross-rs/cross?tab=readme-ov-file#supported-targets
@alexevanczuk alexevanczuk merged commit df41b4b into alexevanczuk:main Apr 25, 2024
6 checks passed
@alexevanczuk
Copy link
Owner

Thank you!

@ethankhall ethankhall deleted the ethankhall/use-cross branch April 25, 2024 20:46
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.

3 participants