File tree Expand file tree Collapse file tree 3 files changed +20465
-12369
lines changed
Expand file tree Collapse file tree 3 files changed +20465
-12369
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ name = "capsule_ffi"
1616doctest = false
1717
1818[build-dependencies ]
19- bindgen = " 0.57 "
19+ bindgen = " 0.60 "
2020cc = " 1.0"
2121libc = " 0.2"
2222
Original file line number Diff line number Diff line change @@ -181,9 +181,9 @@ fn bind(path: &Path) {
181181 // treat as opaque as per issue w/ combining align/packed:
182182 // https://github.com/rust-lang/rust-bindgen/issues/1538
183183 . opaque_type ( r"rte_arp_ipv4|rte_arp_hdr" )
184- . whitelist_type ( r"(rte|eth|pcap)_.*" )
185- . whitelist_function ( r"(_rte|rte|eth|numa|pcap)_.*" )
186- . whitelist_var ( r"(RTE|DEV|ETH|MEMPOOL|PKT|rte)_.*" )
184+ . allowlist_type ( r"(rte|eth|pcap)_.*" )
185+ . allowlist_function ( r"(_rte|rte|eth|numa|pcap)_.*" )
186+ . allowlist_var ( r"(RTE|DEV|ETH|MEMPOOL|PKT|rte)_.*" )
187187 . derive_copy ( true )
188188 . derive_debug ( true )
189189 . derive_default ( true )
You can’t perform that action at this time.
0 commit comments