Merge "Bindgen 0.65.1 no longer supports size_t-is-usize"

This commit is contained in:
Matthew Maurer 2023-06-28 18:48:34 +00:00 committed by Gerrit Code Review
commit 36accbd957
3 changed files with 0 additions and 5 deletions

View file

@ -125,7 +125,6 @@ rust_defaults {
crate_name: "open_dice_cbor_bindgen", crate_name: "open_dice_cbor_bindgen",
source_stem: "bindings", source_stem: "bindings",
bindgen_flags: [ bindgen_flags: [
"--size_t-is-usize",
"--rustified-enum DiceConfigType", "--rustified-enum DiceConfigType",
"--rustified-enum DiceMode", "--rustified-enum DiceMode",
"--rustified-enum DiceResult", "--rustified-enum DiceResult",
@ -177,8 +176,6 @@ rust_defaults {
crate_name: "open_dice_bcc_bindgen", crate_name: "open_dice_bcc_bindgen",
source_stem: "bindings", source_stem: "bindings",
bindgen_flags: [ bindgen_flags: [
"--size_t-is-usize",
// By generating only essential functions, we can make bindings concise and // By generating only essential functions, we can make bindings concise and
// optimize compilation time. // optimize compilation time.
"--allowlist-function=BccFormatConfigDescriptor", "--allowlist-function=BccFormatConfigDescriptor",

View file

@ -38,7 +38,6 @@ rust_bindgen {
source_stem: "bindings", source_stem: "bindings",
bindgen_flags: [ bindgen_flags: [
"--size_t-is-usize",
"--allowlist-function=aaid_keystore_attestation_id", "--allowlist-function=aaid_keystore_attestation_id",
"--allowlist-var=KEY_ATTESTATION_APPLICATION_ID_MAX_SIZE", "--allowlist-var=KEY_ATTESTATION_APPLICATION_ID_MAX_SIZE",
], ],

View file

@ -69,7 +69,6 @@ rust_bindgen {
vendor_available: true, vendor_available: true,
shared_libs: ["libcrypto"], shared_libs: ["libcrypto"],
bindgen_flags: [ bindgen_flags: [
"--size_t-is-usize",
"--allowlist-function", "hmacSha256", "--allowlist-function", "hmacSha256",
"--allowlist-function", "randomBytes", "--allowlist-function", "randomBytes",
"--allowlist-function", "AES_gcm_encrypt", "--allowlist-function", "AES_gcm_encrypt",