devel/cbindgen: update to 0.16.0.

This commit is contained in:
landry 2021-01-05 10:27:06 +00:00
parent 699f9abd3f
commit b1b92791d5
3 changed files with 34 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.32 2020/10/21 10:54:27 landry Exp $
# $OpenBSD: Makefile,v 1.33 2021/01/05 10:27:06 landry Exp $
COMMENT = C bindings generator from rust code
GH_ACCOUNT = eqrion
GH_PROJECT = cbindgen
GH_TAGNAME = v0.15.0
GH_TAGNAME = v0.16.0
CATEGORIES = devel
@ -26,14 +26,19 @@ MODCARGO_CRATES += autocfg 1.0.1 # Apache-2.0 OR MIT
MODCARGO_CRATES += bitflags 1.2.1 # MIT/Apache-2.0
MODCARGO_CRATES += cfg-if 0.1.10 # MIT/Apache-2.0
MODCARGO_CRATES += clap 2.33.3 # MIT
MODCARGO_CRATES += cloudabi 0.0.3 # BSD-2-Clause
MODCARGO_CRATES += getrandom 0.1.15 # MIT OR Apache-2.0
MODCARGO_CRATES += hashbrown 0.9.1 # Apache-2.0/MIT
MODCARGO_CRATES += heck 0.3.1 # MIT OR Apache-2.0
MODCARGO_CRATES += hermit-abi 0.1.16 # MIT/Apache-2.0
MODCARGO_CRATES += indexmap 1.6.0 # Apache-2.0/MIT
MODCARGO_CRATES += itoa 0.4.6 # MIT OR Apache-2.0
MODCARGO_CRATES += lazy_static 1.4.0 # MIT/Apache-2.0
MODCARGO_CRATES += libc 0.2.77 # MIT OR Apache-2.0
MODCARGO_CRATES += lock_api 0.3.4 # Apache-2.0/MIT
MODCARGO_CRATES += log 0.4.11 # MIT OR Apache-2.0
MODCARGO_CRATES += parking_lot 0.10.2 # Apache-2.0/MIT
MODCARGO_CRATES += parking_lot_core 0.7.2 # Apache-2.0/MIT
MODCARGO_CRATES += ppv-lite86 0.2.9 # MIT/Apache-2.0
MODCARGO_CRATES += proc-macro2 1.0.21 # MIT OR Apache-2.0
MODCARGO_CRATES += quote 1.0.7 # MIT OR Apache-2.0
@ -44,9 +49,13 @@ MODCARGO_CRATES += rand_hc 0.2.0 # MIT/Apache-2.0
MODCARGO_CRATES += redox_syscall 0.1.57 # MIT
MODCARGO_CRATES += remove_dir_all 0.5.3 # MIT/Apache-2.0
MODCARGO_CRATES += ryu 1.0.5 # Apache-2.0 OR BSL-1.0
MODCARGO_CRATES += scopeguard 1.1.0 # MIT/Apache-2.0
MODCARGO_CRATES += serde 1.0.116 # MIT OR Apache-2.0
MODCARGO_CRATES += serde_derive 1.0.116 # MIT OR Apache-2.0
MODCARGO_CRATES += serde_json 1.0.57 # MIT OR Apache-2.0
MODCARGO_CRATES += serial_test 0.5.0 # MIT
MODCARGO_CRATES += serial_test_derive 0.5.0 # MIT
MODCARGO_CRATES += smallvec 1.4.2 # MIT/Apache-2.0
MODCARGO_CRATES += strsim 0.8.0 # MIT
MODCARGO_CRATES += syn 1.0.41 # MIT OR Apache-2.0
MODCARGO_CRATES += tempfile 3.1.0 # MIT OR Apache-2.0

View File

@ -4,14 +4,19 @@ SHA256 (cargo/autocfg-1.0.1.tar.gz) = zbAx3XjihzHYfVbMj/70qPNsomw4/i3nAFQ+Yn+KRk
SHA256 (cargo/bitflags-1.2.1.tar.gz) = zx3i/ox1vBRaL1d63ZUfgTSIm0eV1HRmpUpchG1pFpM=
SHA256 (cargo/cfg-if-0.1.10.tar.gz) = R4W90clrKoRrK9fMAuhraz2/FOflNEbE9UySo2EECCI=
SHA256 (cargo/clap-2.33.3.tar.gz) = N+WKx4VzxAcI1FUi8NgPovAcxPm04r90mAclVFQxIAI=
SHA256 (cargo/cloudabi-0.0.3.tar.gz) = 3fxbmqXUUHrK+HLecQUd/Q4wmGDoiWbhBR5GKgd6rE8=
SHA256 (cargo/getrandom-0.1.15.tar.gz) = /Fh7wOwpMVXVv6a5iR7Bih4zDCNPiW6kf7raTK2+R+Y=
SHA256 (cargo/hashbrown-0.9.1.tar.gz) = 16/kpCDj/nmWegCJjMH023yKSakzOin4pL12olPVzQQ=
SHA256 (cargo/heck-0.3.1.tar.gz) = IFZOeNU9K7E1w0Oz9HcUpWryBh8cko/bVB3Huf3ZQgU=
SHA256 (cargo/hermit-abi-0.1.16.tar.gz) = TDD20LxrAGkzRzaKZ9QbWPL7hRIV/x2knpD+LFxmcVE=
SHA256 (cargo/indexmap-1.6.0.tar.gz) = VeLkx2WqU6BCR2G/n0GqemrB76hyOPWVYGQOJ/ygKPI=
SHA256 (cargo/itoa-0.4.6.tar.gz) = 3G8617nRGgwAhC/43htg7lhmEEjrgEntM8c1lPNZ1+Y=
SHA256 (cargo/lazy_static-1.4.0.tar.gz) = 4qutI/vEKzcA8vJ5hE3IMq2ysusGmy35GPRVxOGMxkY=
SHA256 (cargo/libc-0.2.77.tar.gz) = 8vlrEOwlYAiKjnaWGwDUcQezpiX+y3be2ynufMv5gjU=
SHA256 (cargo/lock_api-0.3.4.tar.gz) = xNokp3o9im1IYtlfcub9ucCaZD7NtALXVABKVX8r7HU=
SHA256 (cargo/log-0.4.11.tar.gz) = T6vtF12kL+0foHRrDqcfQSqp01526V5ZsZLGS53Cv4s=
SHA256 (cargo/parking_lot-0.10.2.tar.gz) = 06cE6zkKr9wQew45L1aoK2aOOnE2aZO1NA9YM/1iUF4=
SHA256 (cargo/parking_lot_core-0.7.2.tar.gz) = 1Yx8do1Lo0Tj6NclGKwT4lnXx63iQWcAO4SI4QtnQKM=
SHA256 (cargo/ppv-lite86-0.2.9.tar.gz) = w2+pRxEfXGKnM7ZSVE3QAWpDzolhlTio75JySm9QGiA=
SHA256 (cargo/proc-macro2-1.0.21.tar.gz) = NuKFFt+U891VGlh9pTV0WdmzbZRafDfDVXkowcL/Kiw=
SHA256 (cargo/quote-1.0.7.tar.gz) = qlY9F+yxgOUA2hz9KwKDEKx1jeVI790gPhjyg69pPzc=
@ -22,9 +27,13 @@ SHA256 (cargo/rand_hc-0.2.0.tar.gz) = yjEpr3uSoXES1ZrUmMb4Hq9GMlN2a5A5bTnqejnWYT
SHA256 (cargo/redox_syscall-0.1.57.tar.gz) = QcwPfk1dRUTohhYGooW7CNPnBxLMx9K4TXwMz69LBc4=
SHA256 (cargo/remove_dir_all-0.5.3.tar.gz) = Os0SVmVCKXOjOsnT3S34XtrQ9K6bANr7GgXkOp9e+Oc=
SHA256 (cargo/ryu-1.0.5.tar.gz) = cdMB1Bk9Axq915/3491yEWipVy7z/lGhUXq6I1vY+G4=
SHA256 (cargo/scopeguard-1.1.0.tar.gz) = 0pqwxtP8Dukv5m4tmfcA6rF6jVfRwdO3SDgPsguqeM0=
SHA256 (cargo/serde-1.0.116.tar.gz) = lv5Xr4HSg4alE8vGhYMyq8YRfP21mZZHxkRLj0OjcKU=
SHA256 (cargo/serde_derive-1.0.116.tar.gz) = 9jCmNw/Y5FeHO0vS/9rnVAi8KRunK+dzdypMKgZdmug=
SHA256 (cargo/serde_json-1.0.57.tar.gz) = Fk6svbE1EuwnRfsJ1R/VsisNZe0pSh3PcoWjYMgKZ1w=
SHA256 (cargo/serial_test-0.5.0.tar.gz) = GxX3St2anUo+sr9znJpCfSZtOJW1PZksOnwjT+wv8fE=
SHA256 (cargo/serial_test_derive-0.5.0.tar.gz) = ZfWSWb6fwb9nfQbMFFbpd1YAShpaV3SA9xQwvXwXujM=
SHA256 (cargo/smallvec-1.4.2.tar.gz) = ++52lrhLvz2JocLsz/CFDjBH7Ua/zS6SwpotB01X4lI=
SHA256 (cargo/strsim-0.8.0.tar.gz) = jqURnNtMVbVdQyq7UToEKThIeMFd3mDMd7HJneGpWmo=
SHA256 (cargo/syn-1.0.41.tar.gz) = ZpDj6faSUEuUHcbDsYj9KN8FT3+4Rpq0BoDfUv3MhCs=
SHA256 (cargo/tempfile-3.1.0.tar.gz) = em4k2TOKClvnlZPi+hWmSK3WE4yqgD4tW8eCw3FzLKk=
@ -38,21 +47,26 @@ SHA256 (cargo/wasi-0.9.0+wasi-snapshot-preview1.tar.gz) = zM3fMlVP7MastYX4KjKnLi
SHA256 (cargo/winapi-0.3.9.tar.gz) = XIOaZ0/NepiVLlkyQupACr6TmSdGdh44ZBQF0osA9Bk=
SHA256 (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = rDuHxjYgQm3ZuZHlzgMp7/VFvMu7NPO+Cf9vtqtRt7Y=
SHA256 (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = cS4ieEHQV8HuHNL7Ivp+WlRhro5I+iynnsQs/BkxGD8=
SHA256 (cbindgen-0.15.0.tar.gz) = nidWopKjsRgrj3Qda7nlqLio3C6s+xh8fbZJlmRSeY0=
SHA256 (cbindgen-0.16.0.tar.gz) = x7VF8n8Z2gaYPTjhSbdsRGoTud90TSKyobOtt52r8Ks=
SIZE (cargo/ansi_term-0.11.0.tar.gz) = 17087
SIZE (cargo/atty-0.2.14.tar.gz) = 5470
SIZE (cargo/autocfg-1.0.1.tar.gz) = 12908
SIZE (cargo/bitflags-1.2.1.tar.gz) = 16745
SIZE (cargo/cfg-if-0.1.10.tar.gz) = 7933
SIZE (cargo/clap-2.33.3.tar.gz) = 201925
SIZE (cargo/cloudabi-0.0.3.tar.gz) = 22156
SIZE (cargo/getrandom-0.1.15.tar.gz) = 24786
SIZE (cargo/hashbrown-0.9.1.tar.gz) = 77734
SIZE (cargo/heck-0.3.1.tar.gz) = 54666
SIZE (cargo/hermit-abi-0.1.16.tar.gz) = 9889
SIZE (cargo/indexmap-1.6.0.tar.gz) = 47565
SIZE (cargo/itoa-0.4.6.tar.gz) = 12167
SIZE (cargo/lazy_static-1.4.0.tar.gz) = 10443
SIZE (cargo/libc-0.2.77.tar.gz) = 507233
SIZE (cargo/lock_api-0.3.4.tar.gz) = 18750
SIZE (cargo/log-0.4.11.tar.gz) = 36276
SIZE (cargo/parking_lot-0.10.2.tar.gz) = 39536
SIZE (cargo/parking_lot_core-0.7.2.tar.gz) = 33875
SIZE (cargo/ppv-lite86-0.2.9.tar.gz) = 20933
SIZE (cargo/proc-macro2-1.0.21.tar.gz) = 36909
SIZE (cargo/quote-1.0.7.tar.gz) = 25170
@ -63,9 +77,13 @@ SIZE (cargo/rand_hc-0.2.0.tar.gz) = 11670
SIZE (cargo/redox_syscall-0.1.57.tar.gz) = 17087
SIZE (cargo/remove_dir_all-0.5.3.tar.gz) = 9184
SIZE (cargo/ryu-1.0.5.tar.gz) = 49570
SIZE (cargo/scopeguard-1.1.0.tar.gz) = 11470
SIZE (cargo/serde-1.0.116.tar.gz) = 74443
SIZE (cargo/serde_derive-1.0.116.tar.gz) = 50697
SIZE (cargo/serde_json-1.0.57.tar.gz) = 114723
SIZE (cargo/serial_test-0.5.0.tar.gz) = 2305
SIZE (cargo/serial_test_derive-0.5.0.tar.gz) = 2899
SIZE (cargo/smallvec-1.4.2.tar.gz) = 26109
SIZE (cargo/strsim-0.8.0.tar.gz) = 9309
SIZE (cargo/syn-1.0.41.tar.gz) = 224979
SIZE (cargo/tempfile-3.1.0.tar.gz) = 25823
@ -79,4 +97,4 @@ SIZE (cargo/wasi-0.9.0+wasi-snapshot-preview1.tar.gz) = 31521
SIZE (cargo/winapi-0.3.9.tar.gz) = 1200382
SIZE (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815
SIZE (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998
SIZE (cbindgen-0.15.0.tar.gz) = 190131
SIZE (cbindgen-0.16.0.tar.gz) = 188599

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-tests_tests_rs,v 1.4 2020/09/23 08:57:26 landry Exp $
$OpenBSD: patch-tests_tests_rs,v 1.5 2021/01/05 10:27:06 landry Exp $
supposed to read CXX & CC from env, but for some reason this doesnt work ?
Index: tests/tests.rs
--- tests/tests.rs.orig
+++ tests/tests.rs
@@ -71,8 +71,8 @@ fn compile(
@@ -69,8 +69,8 @@ fn compile(
skip_warning_as_error: bool,
) {
let cc = match language {
@ -13,6 +13,6 @@ Index: tests/tests.rs
- Language::C => env::var("CC").unwrap_or_else(|_| "gcc".to_owned()),
+ Language::Cxx => env::var("CXX").unwrap_or_else(|_| "c++".to_owned()),
+ Language::C => env::var("CC").unwrap_or_else(|_| "cc".to_owned()),
Language::Cython => env::var("CYTHON").unwrap_or_else(|_| "cython".to_owned()),
};
let file_name = cbindgen_output