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

Add Cross.toml to allow easy cross-building #143

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

srd424
Copy link
Contributor

@srd424 srd424 commented Sep 28, 2023

This allows easy cross-building / cross-compiling using https://github.com/cross-rs/cross.

This allows easy cross-building / cross-compiling using https://github.com/cross-rs/cross.
@izderadicka izderadicka merged commit ee4ae1c into izderadicka:master Sep 30, 2023
1 check passed
@srd424
Copy link
Contributor Author

srd424 commented Oct 2, 2023

Though it would help if the cross-rs docker images had a reasonably up-to-date libavformat :(

@izderadicka
Copy link
Owner

@srd424 I do not know cross.rs. Concerning libavformat I keep prebuild bindgen bindings for several major past versions to keep building simpler. Oldest is from ffmpeg 4.3. I did not find any notable benefit(from perspective of audioserve) in newer version - 5 and 6. If there is any problem with supported versions of libavformat pls let me know.

And thank you for PR.

@srd424
Copy link
Contributor Author

srd424 commented Oct 3, 2023

Ah, I'll have to look at the bindgen stuff, I'm not very familiar with the rust ecosystem - let alone the actual language! At the moment I have my hand-crafted arm64 build environment, I was hoping to be able to dump it and use cross-rs, but looks like I need to do a little more work. According to docs I should be able to create a custom cross-rs-compatible build image quite easily so that's perhaps the easiest compromise.

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