* Add riscv64 support (#152)
Thanks!
* Fix panic msg is not a string literal warning (#149)
Fixes the non_fmt_panic warning.
* Update rand. (#164)
* Use memoffset instead of homebrew offset_of (#171)
Co-authored-by: R. Martinho Fernandes <bugs@rmf.io>
* Remove base64 from dev-dependencies, as it is now a normal dependency
* Bump application-services to the version currently vendored in mozilla-central
Co-authored-by: Makoto Kato <m_kato@ga2.so-net.ne.jp>
Co-authored-by: est31 <est31@users.noreply.github.com>
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>
Co-authored-by: R. Martinho Fernandes <rmf@rmf.io>
Co-authored-by: R. Martinho Fernandes <bugs@rmf.io>
Co-authored-by: Martin Sirringhaus <>
One cannot use #[cfg(target_os)] checks in build.rs.
Build scripts can be used to generate code so the target
is set to the host platform when they are compiled.
Having this setting exported an unconditional link
depencency whenever the host was macOS, which broke
cross-compiling, in particular for fennec builds
targetting Android.
Instead, declare the IOKit dependency on the `extern`
block which imports the symbol inside macOS-specific
code. That way final link still works, but the extra
dependency is only enabled when appropriate for the
final target, like the other platform-dependent code.