devel/rust-cbindgen: update to 0.16.0 (like r558794)

With fixes for firefox-esr and thunderbird.

Changes:	https://github.com/eqrion/cbindgen/compare/v0.15.0...v0.16.0
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2020-12-31 00:31:41 +00:00
parent a331475c4b
commit b6c2e134a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559688
4 changed files with 99 additions and 5 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= cbindgen
DISTVERSION= 0.15.0
PORTREVISION= 2
DISTVERSION= 0.16.0
CATEGORIES= devel
MASTER_SITES= CRATESIO
PKGNAMEPREFIX= rust-
@ -25,14 +24,19 @@ CARGO_CRATES= ansi_term-0.11.0 \
bitflags-1.2.1 \
cfg-if-0.1.10 \
clap-2.33.3 \
cloudabi-0.0.3 \
getrandom-0.1.15 \
hashbrown-0.9.1 \
heck-0.3.1 \
hermit-abi-0.1.16 \
indexmap-1.6.0 \
itoa-0.4.6 \
lazy_static-1.4.0 \
libc-0.2.77 \
lock_api-0.3.4 \
log-0.4.11 \
parking_lot-0.10.2 \
parking_lot_core-0.7.2 \
ppv-lite86-0.2.9 \
proc-macro2-1.0.21 \
quote-1.0.7 \
@ -43,9 +47,13 @@ CARGO_CRATES= ansi_term-0.11.0 \
redox_syscall-0.1.57 \
remove_dir_all-0.5.3 \
ryu-1.0.5 \
scopeguard-1.1.0 \
serde-1.0.116 \
serde_derive-1.0.116 \
serde_json-1.0.57 \
serial_test-0.5.0 \
serial_test_derive-0.5.0 \
smallvec-1.4.2 \
strsim-0.8.0 \
syn-1.0.41 \
tempfile-3.1.0 \

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1602068123
SHA256 (rust/crates/cbindgen-0.15.0.tar.gz) = 1df6a11bba1d7cab86c166cecf4cf8acd7d02b7b65924d81b33d27197f22ee35
SIZE (rust/crates/cbindgen-0.15.0.tar.gz) = 181832
TIMESTAMP = 1608505652
SHA256 (rust/crates/cbindgen-0.16.0.tar.gz) = 9344318b9c787667b95cd2c5124f5eaf2bde35e959dd01ea04fc5b234c542c11
SIZE (rust/crates/cbindgen-0.16.0.tar.gz) = 178160
SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b
SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087
SHA256 (rust/crates/atty-0.2.14.tar.gz) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
@ -13,6 +13,8 @@ SHA256 (rust/crates/cfg-if-0.1.10.tar.gz) = 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf
SIZE (rust/crates/cfg-if-0.1.10.tar.gz) = 7933
SHA256 (rust/crates/clap-2.33.3.tar.gz) = 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002
SIZE (rust/crates/clap-2.33.3.tar.gz) = 201925
SHA256 (rust/crates/cloudabi-0.0.3.tar.gz) = ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f
SIZE (rust/crates/cloudabi-0.0.3.tar.gz) = 22156
SHA256 (rust/crates/getrandom-0.1.15.tar.gz) = fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6
SIZE (rust/crates/getrandom-0.1.15.tar.gz) = 24786
SHA256 (rust/crates/hashbrown-0.9.1.tar.gz) = d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04
@ -25,10 +27,18 @@ SHA256 (rust/crates/indexmap-1.6.0.tar.gz) = 55e2e4c765aa53a0424761bf9f41aa7a6ac
SIZE (rust/crates/indexmap-1.6.0.tar.gz) = 47565
SHA256 (rust/crates/itoa-0.4.6.tar.gz) = dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6
SIZE (rust/crates/itoa-0.4.6.tar.gz) = 12167
SHA256 (rust/crates/lazy_static-1.4.0.tar.gz) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
SIZE (rust/crates/lazy_static-1.4.0.tar.gz) = 10443
SHA256 (rust/crates/libc-0.2.77.tar.gz) = f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235
SIZE (rust/crates/libc-0.2.77.tar.gz) = 507233
SHA256 (rust/crates/lock_api-0.3.4.tar.gz) = c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75
SIZE (rust/crates/lock_api-0.3.4.tar.gz) = 18750
SHA256 (rust/crates/log-0.4.11.tar.gz) = 4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b
SIZE (rust/crates/log-0.4.11.tar.gz) = 36276
SHA256 (rust/crates/parking_lot-0.10.2.tar.gz) = d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e
SIZE (rust/crates/parking_lot-0.10.2.tar.gz) = 39536
SHA256 (rust/crates/parking_lot_core-0.7.2.tar.gz) = d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3
SIZE (rust/crates/parking_lot_core-0.7.2.tar.gz) = 33875
SHA256 (rust/crates/ppv-lite86-0.2.9.tar.gz) = c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20
SIZE (rust/crates/ppv-lite86-0.2.9.tar.gz) = 20933
SHA256 (rust/crates/proc-macro2-1.0.21.tar.gz) = 36e28516df94f3dd551a587da5357459d9b36d945a7c37c3557928c1c2ff2a2c
@ -49,12 +59,20 @@ SHA256 (rust/crates/remove_dir_all-0.5.3.tar.gz) = 3acd125665422973a33ac9d3dd2df
SIZE (rust/crates/remove_dir_all-0.5.3.tar.gz) = 9184
SHA256 (rust/crates/ryu-1.0.5.tar.gz) = 71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e
SIZE (rust/crates/ryu-1.0.5.tar.gz) = 49570
SHA256 (rust/crates/scopeguard-1.1.0.tar.gz) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
SIZE (rust/crates/scopeguard-1.1.0.tar.gz) = 11470
SHA256 (rust/crates/serde-1.0.116.tar.gz) = 96fe57af81d28386a513cbc6858332abc6117cfdb5999647c6444b8f43a370a5
SIZE (rust/crates/serde-1.0.116.tar.gz) = 74443
SHA256 (rust/crates/serde_derive-1.0.116.tar.gz) = f630a6370fd8e457873b4bd2ffdae75408bc291ba72be773772a4c2a065d9ae8
SIZE (rust/crates/serde_derive-1.0.116.tar.gz) = 50697
SHA256 (rust/crates/serde_json-1.0.57.tar.gz) = 164eacbdb13512ec2745fb09d51fd5b22b0d65ed294a1dcf7285a360c80a675c
SIZE (rust/crates/serde_json-1.0.57.tar.gz) = 114723
SHA256 (rust/crates/serial_test-0.5.0.tar.gz) = 1b15f74add9a9d4a3eb2bf739c9a427d266d3895b53d992c3a7c234fec2ff1f1
SIZE (rust/crates/serial_test-0.5.0.tar.gz) = 2305
SHA256 (rust/crates/serial_test_derive-0.5.0.tar.gz) = 65f59259be9fc1bf677d06cc1456e97756004a1a5a577480f71430bd7c17ba33
SIZE (rust/crates/serial_test_derive-0.5.0.tar.gz) = 2899
SHA256 (rust/crates/smallvec-1.4.2.tar.gz) = fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252
SIZE (rust/crates/smallvec-1.4.2.tar.gz) = 26109
SHA256 (rust/crates/strsim-0.8.0.tar.gz) = 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a
SIZE (rust/crates/strsim-0.8.0.tar.gz) = 9309
SHA256 (rust/crates/syn-1.0.41.tar.gz) = 6690e3e9f692504b941dc6c3b188fd28df054f7fb8469ab40680df52fdcc842b

View File

@ -0,0 +1,34 @@
commit 383a82da4808
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date: Mon Dec 28 04:39:00 2020 -0800
Bug 1684180 - Fix ESR build with newer versions of cbindgen. r=kvark
---
dom/webgpu/ipc/WebGPUParent.cpp | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git dom/webgpu/ipc/WebGPUParent.cpp dom/webgpu/ipc/WebGPUParent.cpp
index ff93c0630d02..17c2ace6b4ae 100644
--- dom/webgpu/ipc/WebGPUParent.cpp
+++ dom/webgpu/ipc/WebGPUParent.cpp
@@ -423,17 +423,15 @@ ipc::IPCResult WebGPUParent::RecvDeviceCreateBindGroup(
switch (entry.mType) {
case SerialBindGroupEntryType::Buffer:
bgb.resource.tag = ffi::WGPUBindingResource_Buffer;
- bgb.resource.buffer._0.buffer = entry.mValue;
- bgb.resource.buffer._0.offset = entry.mBufferOffset;
- bgb.resource.buffer._0.size = entry.mBufferSize;
+ bgb.resource.buffer = {entry.mValue, entry.mBufferOffset, entry.mBufferSize};
break;
case SerialBindGroupEntryType::Texture:
bgb.resource.tag = ffi::WGPUBindingResource_TextureView;
- bgb.resource.texture_view._0 = entry.mValue;
+ bgb.resource.texture_view = {entry.mValue};
break;
case SerialBindGroupEntryType::Sampler:
bgb.resource.tag = ffi::WGPUBindingResource_Sampler;
- bgb.resource.sampler._0 = entry.mValue;
+ bgb.resource.sampler = {entry.mValue};
break;
default:
MOZ_CRASH("unreachable");

View File

@ -0,0 +1,34 @@
commit 383a82da4808
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date: Mon Dec 28 04:39:00 2020 -0800
Bug 1684180 - Fix ESR build with newer versions of cbindgen. r=kvark
---
dom/webgpu/ipc/WebGPUParent.cpp | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git dom/webgpu/ipc/WebGPUParent.cpp dom/webgpu/ipc/WebGPUParent.cpp
index ff93c0630d02..17c2ace6b4ae 100644
--- dom/webgpu/ipc/WebGPUParent.cpp
+++ dom/webgpu/ipc/WebGPUParent.cpp
@@ -423,17 +423,15 @@ ipc::IPCResult WebGPUParent::RecvDeviceCreateBindGroup(
switch (entry.mType) {
case SerialBindGroupEntryType::Buffer:
bgb.resource.tag = ffi::WGPUBindingResource_Buffer;
- bgb.resource.buffer._0.buffer = entry.mValue;
- bgb.resource.buffer._0.offset = entry.mBufferOffset;
- bgb.resource.buffer._0.size = entry.mBufferSize;
+ bgb.resource.buffer = {entry.mValue, entry.mBufferOffset, entry.mBufferSize};
break;
case SerialBindGroupEntryType::Texture:
bgb.resource.tag = ffi::WGPUBindingResource_TextureView;
- bgb.resource.texture_view._0 = entry.mValue;
+ bgb.resource.texture_view = {entry.mValue};
break;
case SerialBindGroupEntryType::Sampler:
bgb.resource.tag = ffi::WGPUBindingResource_Sampler;
- bgb.resource.sampler._0 = entry.mValue;
+ bgb.resource.sampler = {entry.mValue};
break;
default:
MOZ_CRASH("unreachable");