devel/rust-bindgen-cli 0.72.1_8 MidnightBSD
Generate Rust bindings from C (and some C++) code
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
2c5b66a909- License
- bsd3
- Categories
- devel
Description
bindgen automatically generates Rust FFI bindings to C and C++ libraries.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/rust-bindgen-cli | 0.72.1_8 |
| FreeBSD | devel/rust-bindgen-cli | 0.73.2_1 |
| DragonFly | devel/rust-bindgen-cli | 0.71.1_2 |
Install
Binary package:
mport install rust-bindgen-cli
From mports:
cd /usr/mports/devel/rust-bindgen-cli && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rust-bindgen-cli>0:devel/rust-bindgen-cli
Dependencies
Configuration
No options to configure.
- USES
- cargo llvm:run,noexport
- Service scripts
- none
Files
distinfo 61
| File | Size | SHA256 |
|---|---|---|
| rust/crates/bindgen-cli-0.72.1.crate | 8668 | 8a408c0fcb20bf7bd4ceaf4bf990e223e3543a04b84d2394f3edeee29a0e87e2 |
| rust/crates/aho-corasick-1.1.3.crate | 183311 | 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916 |
| rust/crates/annotate-snippets-0.11.4.crate | 46876 | 24e35ed54e5ea7997c14ed4c70ba043478db1112e98263b3b035907aa197d991 |
| rust/crates/anstyle-1.0.10.crate | 15725 | 55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9 |
| rust/crates/bindgen-0.72.1.crate | 246071 | 993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895 |
| rust/crates/bitflags-1.3.2.crate | 23021 | bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a |
| rust/crates/bitflags-2.2.1.crate | 35798 | 24a6904aef64d73cf10ab17ebace7befb918b82164785cb89907993be7f83813 |
| rust/crates/cexpr-0.6.0.crate | 17966 | 6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766 |
| rust/crates/cfg-if-1.0.0.crate | 7934 | baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd |
| rust/crates/clang-sys-1.8.1.crate | 44009 | 0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4 |
| rust/crates/clap-4.1.4.crate | 207077 | f13b9c79b5d1dd500d20ef541215a6423c75829ef43117e1b4d17fd8af0b5d76 |
| rust/crates/clap_complete-4.2.0.crate | 33353 | 01c22dcfb410883764b29953103d9ef7bb8fe21b3fa1158bc99986c2067294bd |
| rust/crates/clap_derive-4.1.0.crate | 27897 | 684a277d672e91966334af371f1a7b5833f9aa00b07c84e92fbce95e00208ce8 |
| rust/crates/clap_lex-0.3.1.crate | 9653 | 783fe232adfca04f90f56201b26d79682d4cd2625e0bc7290b95123afe558ade |
| rust/crates/either-1.13.0.crate | 19169 | 60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0 |
| rust/crates/env_logger-0.10.0.crate | 36574 | 85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0 |
| rust/crates/glob-0.3.1.crate | 18880 | d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b |
| rust/crates/heck-0.4.1.crate | 11567 | 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 |
| rust/crates/hermit-abi-0.4.0.crate | 16310 | fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc |
| rust/crates/humantime-2.1.0.crate | 16749 | 9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4 |
Master sites 1
- CRATESIO
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
2c5b66a909 |
Lucas Holt | devel/rust-bindgen-cli: update to 0.72.1 Sync with FreeBSD. bindgen >=0.71 emits 'unsafe extern' blocks, required
by rust 1.94 (edition 2024) when generating FFI bindings; the previous
0.69.1 emitted bare 'extern "C"' which newer rustc rejects. Needed to
build www/ungoogled-chromium and other rust-bindgen consumers.
AI-Assisted-by: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |