Skip to content

user/cbindgen: new package

Molly Miller requested to merge (removed):cbindgen into master

This package is needed to build recent versions of Firefox. This was initially based on Alpine's APKBUILD file, which was then converted to use vendored sources, with Gentoo's cargo.eclass used as a reference (thanks @smaeul).

This compiles correctly on aarch64, and an early draft of this package has been used to compile Firefox 67 on aarch64 and x86_64, however the package in its current form has not received any further testing at this time.

One possible issue here is that the Rust dependency list was pulled verbatim from the Cargo.lock created by running cargo build inside a copy of the unpacked source tarball, and includes a number of platform-specific libraries (e.g. for Windows and RedoxOS) which are not actually used in the build -- I don't see any harm in this, but others may have objections.

Merge request reports