./devel/cbindgen [C bindings generator from rust code]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.15.0, Package name: cbindgen-0.15.0
Maintained by: The OpenBSD ports mailing-list
Master sites:
Description
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


Filesize: 185.675 KB
Version History (View Complete History)
  • (2020-10-21) Updated to version: cbindgen-0.15.0
  • (2020-09-23) Updated to version: cbindgen-0.14.6
  • (2020-07-29) Updated to version: cbindgen-0.14.3
  • (2020-04-12) Updated to version: cbindgen-0.14.1
  • (2020-03-06) Updated to version: cbindgen-0.13.1
  • (2020-02-07) Updated to version: cbindgen-0.13.0
  • (2020-01-03) Updated to version: cbindgen-0.12.1
  • (2019-12-16) Updated to version: cbindgen-0.11.1
  • (2019-12-04) Updated to version: cbindgen-0.11.0
  • (2019-09-04) Updated to version: cbindgen-0.9.1
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-10-21 04:54:27 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.15.0, required by gecko 83.
   2020-09-23 02:57:26 by Landry Breuil | Files touched by this commit (3)
Log message:
Update to cbindgen 0.14.6.
   2020-08-04 04:47:44 by Landry Breuil | Files touched by this commit (1)
Log message:
Fix most tests by cherrypicking https://github.com/eqrion/cbindgen/pull/557
test result: FAILED. 97 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out
of all the remaining failures, 6 of them are due to 'error: the option
`Z` is only accepted on the nightly compiler', the only real error
standing out is test_enum from a macro definition conflict ?
error: expected parameter declarator
static_assert(offsetof(CBINDGEN_STRUCT(P), tag) == 0,"unexpected offset for tag");
/usr/include/stddef.h:69:32: note: expanded from macro 'offsetof'
#define offsetof(type, member)  __builtin_offsetof(type, member)
   2020-07-29 04:05:37 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.14.3, somehow i completely forgot to push this..
noticed by pvk@
   2020-04-12 00:28:05 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.14.1
required to build m-c since #1628754, tested with fx 76.0b3 & tb 76.0b1
   2020-03-05 10:23:18 by Landry Breuil | Files touched by this commit (2)
Log message:
update to cbindgen 0.13.1
   2020-03-02 00:13:55 by Sebastien Marie | Files touched by this commit (2)
Log message:
small devel/cargo cleanup
MODCARGO_CRATES_UPDATE, for libc crate, isn't need anymore when >=0.2.63
   2020-02-07 06:02:19 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbingen 0.13.0, required to build m-c since #1612092
   2020-01-20 22:27:19 by Sebastien Marie | Files touched by this commit (3)
Log message:
devel/cargo: use edition 2018 syntax by default for installing using cargo
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)
   2020-01-02 10:18:13 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.12.1.
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
   2019-12-15 10:05:09 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.11.1, required to build m-c since #1602317
   2019-12-04 04:17:54 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.11.0.
   2019-09-04 00:31:08 by Landry Breuil | Files touched by this commit (2)
Log message:
Use libc 0.2.63 for sparc64, reminded by semarie@
   2019-09-04 00:18:20 by Sebastien Marie | Files touched by this commit (1)
Log message:
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-03 12:33:39 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.9.1, required by gecko 70.
   2019-08-30 06:24:00 by Sebastien Marie | Files touched by this commit (8)
Log message:
update libc-rs for include sparc64 compatibility
ok landry@
   2019-07-12 14:44:13 by Stuart Henderson | Files touched by this commit (877)
Log message:
replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes
   2019-07-10 01:56:08 by Landry Breuil | Files touched by this commit (3)
Log message:
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-01 05:25:58 by Jeremie Courreges-Anglas | Files touched by this commit (2)
Log message:
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-05-23 06:05:15 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.8.7.
Required to build upcoming gecko 68 per
https://bugzilla.mozilla.org/show_bug.cgi?id=1529002
   2019-04-26 01:29:11 by Landry Breuil | Files touched by this commit (2)
Log message:
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-03-11 12:57:25 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.8.2.
Needed for mozilla-central since #1533142 5 days ago
   2019-02-15 07:48:35 by Landry Breuil | Files touched by this commit (2)
Log message:
Update cbindgen to 0.7.1.
Required to build mozilla-central since #1523071
   2019-01-25 09:01:54 by Landry Breuil | Files touched by this commit (2)
Log message:
Update cbindgen to 0.6.8.
required to build mozilla-central since #1519501
   2018-12-16 01:50:11 by Sebastien Marie | Files touched by this commit (6)
Log message:
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-11-03 15:31:59 by Landry Breuil | Files touched by this commit (2)
Log message:
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-10-29 08:40:31 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.6.6.
Required by m-c since https://bugzilla.mozilla.org/show_bug.cgi?id=1496619
   2018-10-16 13:38:04 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.6.4.
Required to build mozilla-central since https://bugzilla.mozilla.org/show_bug.cgi?id=1496486
   2018-10-08 09:28:05 by Landry Breuil | Files touched by this commit (8)
Log message:
Bump all ports using rust to ensure they get rebuilt/updated.
   2018-09-25 15:16:37 by Stuart Henderson | Files touched by this commit (5)
Log message:
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-06 05:51:33 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.6.3
   2018-08-24 00:32:30 by Landry Breuil | Files touched by this commit (2)
Log message:
Update to cbindgen 0.6.2.
Because https://bugzilla.mozilla.org/show_bug.cgi?id=1485197.