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

Enable cross-compilation for cargo plugins #6

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

rucoder
Copy link
Contributor

@rucoder rucoder commented Aug 18, 2024

No description provided.

Even though rust can do cross-compilation, it cannot do linking for
target platform. We have to define target specific rustc options and
have required toolchain installed as well as libraries for target
platfrom

clang is a very good choice for cross-compilation unless we are going to
build for some exotic targets

Signed-off-by: Mikhail Malyshev <[email protected]>
@rucoder rucoder requested a review from deitch August 18, 2024 09:14
@rucoder
Copy link
Contributor Author

rucoder commented Aug 18, 2024

@deitch this PR is based on #4 so we can just merge this one

@deitch deitch merged commit 92a0c01 into lf-edge:main Aug 18, 2024
2 checks passed
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.

2 participants