21 Commits

Author SHA1 Message Date
landry
c711fa76b0 Use libc 0.2.63 for sparc64, reminded by semarie@ 2019-09-04 06:31:08 +00:00
semarie
fc944f3a11 keep libc-rs >= 0.2.63 for sparc64 compatibility
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.
2019-09-04 06:18:20 +00:00
landry
15a0e0ca1a Update to cbindgen 0.9.1, required by gecko 70. 2019-09-03 18:33:39 +00:00
semarie
0fb585e377 update libc-rs for include sparc64 compatibility
ok landry@
2019-08-30 12:24:00 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
landry
5faa6a9f61 Update to cbindgen 0.9.0, required by gecko 69 since #1559814
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.
2019-07-10 07:56:08 +00:00
jca
b308769288 Compile tests with cc/c++ instead of gcc/g++ and drop SEPARATE_BUILD
This lets tests run. Failures:
test_expand
test_expand_default_features
test_expand_features
test_expand_no_default_features
2019-07-01 11:25:58 +00:00
landry
3efa7245b1 Update to cbindgen 0.8.7.
Required to build upcoming gecko 68 per
https://bugzilla.mozilla.org/show_bug.cgi?id=1529002
2019-05-23 12:05:15 +00:00
landry
c369e1fcd8 Update to cbindgen 0.8.3.
required to build mozilla-central since
https://bugzilla.mozilla.org/show_bug.cgi?id=1536582

Also means 6.5-stable wont get firefox 68, unless cbindgen gets
backported there.
2019-04-26 07:29:11 +00:00
landry
ec67940f3f Update to cbindgen 0.8.2.
Needed for mozilla-central since #1533142 5 days ago
2019-03-11 18:57:25 +00:00
landry
2d74b6ba63 Update cbindgen to 0.7.1.
Required to build mozilla-central since #1523071
2019-02-15 14:48:35 +00:00
landry
9515b3b384 Update cbindgen to 0.6.8.
required to build mozilla-central since #1519501
2019-01-25 16:01:54 +00:00
semarie
b19d4110a9 change MODCARGO_CRATES syntax for devel/cargo module.
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@
2018-12-16 08:50:11 +00:00
landry
dee9cffd96 Update cbindgen to 0.6.7, again a requirement for mozilla-central.
Per #1503401 firefox 63 needs a patch to keep building with that
version, this will be handled in a few.
2018-11-03 21:31:59 +00:00
landry
3444d69147 Update to cbindgen 0.6.6.
Required by m-c since https://bugzilla.mozilla.org/show_bug.cgi?id=1496619
2018-10-29 14:40:31 +00:00
landry
afc8fd37e9 Update to cbindgen 0.6.4.
Required to build mozilla-central since https://bugzilla.mozilla.org/show_bug.cgi?id=1496486
2018-10-16 19:38:04 +00:00
landry
87f241ee73 Bump all ports using rust to ensure they get rebuilt/updated. 2018-10-08 15:28:05 +00:00
sthen
202fbf484e bump REVISION on ports using rust, to ensure that they pick up the fix
for out of bounds write due to integer overflow that was fixed in rust's
libstd (which is statically linked).
2018-09-25 21:16:37 +00:00
landry
544bc7ac2d Update to cbindgen 0.6.3 2018-09-06 11:51:33 +00:00
landry
48b0089bbf Update to cbindgen 0.6.2.
Because https://bugzilla.mozilla.org/show_bug.cgi?id=1485197.
2018-08-24 06:32:30 +00:00
landry
a169eb7294 Import cbindgen 0.6.1.
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@
2018-08-21 19:16:52 +00:00