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 support to gst-plugins-rs #56

Open
rgonzalezfluendo opened this issue Oct 23, 2024 · 5 comments
Open

Add support to gst-plugins-rs #56

rgonzalezfluendo opened this issue Oct 23, 2024 · 5 comments

Comments

@rgonzalezfluendo
Copy link
Contributor

Issue to track the status.

@rgonzalezfluendo
Copy link
Contributor Author

Build gst-plugins-rs with wasm32-unknown-emscripten target is blocked in rust-lang/libc#3306

Related PR:

@sdroege
Copy link

sdroege commented Dec 5, 2024

I think for the time being it would be OK to require a custom rustc with those changes. Building rustc is simple enough and in my experience building/deploying anything wasm-related more often than not requires a very specific toolchain anyway. Just like you need exactly emscripten 3.1.61 AFAIU.

If you need help with that part, let me know!

@sdroege
Copy link

sdroege commented Dec 5, 2024

It also seems like this has more urgency now considering https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8079 as the lack of Rust support here is the deciding factor on your side to use C for upstream code that really shouldn't be in C nowadays.

@sdroege
Copy link

sdroege commented Dec 5, 2024

Also this is apparently already fixed in nightly and beta, and will be in the next Rust release in 6 weeks. So simply requiring a beta 1.84 or nightly toolchain would already solve this part too.

@rgonzalezfluendo
Copy link
Contributor Author

rgonzalezfluendo commented Dec 6, 2024

Right, Rust 1.84 will include emsdk 3.1.68. A good Xmas present.

First PR to work on this fluendo/cerbero#406, next steps fork glib-rs as was done for glib.

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

No branches or pull requests

2 participants