From: Mike Hommey Date: Wed, 23 Sep 2020 03:52:35 +0000 (+0900) Subject: Add missing bindings for mips* in the authenticator crate X-Git-Tag: archive/raspbian/78.14.0esr-1+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0889abd5bd825b2a3181415861dde8ecde6b095b;p=firefox-esr.git Add missing bindings for mips* in the authenticator crate Gbp-Pq: Topic porting Gbp-Pq: Name Add-missing-bindings-for-mips-in-the-authenticator-c.patch --- diff --git a/Cargo.lock b/Cargo.lock index 990d6a4a582..e3c25ee4c07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -183,8 +183,6 @@ dependencies = [ [[package]] name = "authenticator" version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff593fb4dd388fe452c5e63d4d668699466bd46b571c4b852dfbca4bac8f0706" dependencies = [ "bitflags", "boxfnonce", diff --git a/Cargo.toml b/Cargo.toml index 897daad41be..1a022429ea0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,6 +73,7 @@ spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu3" } # failure's backtrace feature might break our builds, see bug 1608157. failure = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" } failure_derive = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" } +authenticator = { path = "third_party/rust/authenticator" } [patch.crates-io.cranelift-codegen] git = "https://github.com/bytecodealliance/wasmtime" diff --git a/third_party/rust/authenticator/src/linux/ioctl_mipsbe.rs b/third_party/rust/authenticator/src/linux/ioctl_mipsbe.rs new file mode 100644 index 00000000000..1ca187fa1f4 --- /dev/null +++ b/third_party/rust/authenticator/src/linux/ioctl_mipsbe.rs @@ -0,0 +1,5 @@ +/* automatically generated by rust-bindgen */ + +pub type __u32 = ::std::os::raw::c_uint; +pub const _HIDIOCGRDESCSIZE: __u32 = 1074022401; +pub const _HIDIOCGRDESC: __u32 = 1342457858; diff --git a/third_party/rust/authenticator/src/linux/ioctl_mipsle.rs b/third_party/rust/authenticator/src/linux/ioctl_mipsle.rs new file mode 100644 index 00000000000..1ca187fa1f4 --- /dev/null +++ b/third_party/rust/authenticator/src/linux/ioctl_mipsle.rs @@ -0,0 +1,5 @@ +/* automatically generated by rust-bindgen */ + +pub type __u32 = ::std::os::raw::c_uint; +pub const _HIDIOCGRDESCSIZE: __u32 = 1074022401; +pub const _HIDIOCGRDESC: __u32 = 1342457858;