the rust std library has been changed to not try to reallocate
a guard page on the stack.
as the rust std library is statically linked in rust programs,
bump REVISION to force reinstall.
the syntax is compatible with older edition, and more crates are using the
edition 2018 which require it.
avoid using MODCARGO_INSTALL_ARGS just to pass "--path ."
ok landry@ (some time ago, the diff was sleeping in my tree)
0.12.0 required to build mozilla-central since #1604160
add MODCARGO_INSTALL_ARGS=--path . to workaround cargo now requiring it
built firefox 68.3.0esr and 71.0 with it without fallout
it is a manual setting to have while upstream doesn't use higher libc-rs
version.
don't bump REVISION as the build on sparc64 doesn't work with older
version, and on others platforms it doesn't change anything.
for some reason tests are supposed to use CXX/CC from the env, but with
TEST_ENV = CC=${CC} CXX=${CXX} seems its not working, so adapt the patch
accordingly. same 4 tests still fail.
The new syntax to have version with '-' character:
-MODCARGO_CRATES += aho-corasick-0.6.8 # Unlicense/MIT
+MODCARGO_CRATES += aho-corasick 0.6.8 # Unlicense/MIT
update all customers of devel/cargo to use the new syntax
ok landry@
This project can be used to generate C bindings for Rust code:
* Builds bindings for a crate, its mods, its dependent crates, and their mods
* Only the necessary types for exposed functions are given bindings
* Can specify annotations for controlling some aspects of binding
* Support for generic structs and unions
* Support for exporting constants and statics
* Customizable formatting, can be used in C or C++ projects
* Support for generating #ifdef's for #[cfg] attributes
* Support for #[repr(sized)] tagged enum's
Will be a BDEP for firefox 63, per
https://groups.google.com/forum/#!topic/mozilla.dev.platform/t4Bc-I0lxBY
ok sthen@ semarie@