From c03ff8556b5a469996b42697cbb10fb89a18e94c Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sat, 26 Jan 2019 14:32:00 +0100 Subject: [PATCH] third_party: add the 'integer-atomics' crate --- Cargo.lock | 7 +++++++ Cargo.toml | 1 + build_extra/rust/BUILD.gn | 9 +++++++++ third_party | 2 +- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 2713f602db..517d921bdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,6 +192,7 @@ dependencies = [ "http 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.12.23 (registry+https://github.com/rust-lang/crates.io-index)", "hyper-rustls 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)", + "integer-atomics 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -387,6 +388,11 @@ name = "indexmap" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "integer-atomics" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "iovec" version = "0.1.2" @@ -1344,6 +1350,7 @@ dependencies = [ "checksum hyper-rustls 0.16.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ff2c61fbda2bc72e793e329190a3e8f0ae74cb896905c8b301304c4c93f2755" "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" "checksum indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7e81a7c05f79578dbc15793d8b619db9ba32b4577003ef3af1a91c416798c58d" +"checksum integer-atomics 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5c33cd4d18b4ade167caace0e92364e8568c1e47c193738397b4b48a3e414139" "checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08" "checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b" "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" diff --git a/Cargo.toml b/Cargo.toml index 110aadaae4..86b1c10f06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,7 @@ getopts = "0.2.18" http = "0.1.15" hyper = "0.12.23" hyper-rustls = "0.16.0" +integer-atomics = "1.0.2" lazy_static = "1.2.0" libc = "0.2.48" log = "0.4.6" diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index 7e0c23625b..09a32d8496 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -398,6 +398,15 @@ rust_crate("indexmap") { ] } +rust_crate("integer_atomics") { + edition = "2015" + source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/integer-atomics-1.0.2/src/lib.rs" + args = [ + "--cap-lints", + "allow", + ] +} + rust_crate("iovec") { edition = "2015" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/iovec-0.1.2/src/lib.rs" diff --git a/third_party b/third_party index 1ffcb4c9fb..5ff36c849d 160000 --- a/third_party +++ b/third_party @@ -1 +1 @@ -Subproject commit 1ffcb4c9fb3cf7dd67850bb9cd6f25d7206d9915 +Subproject commit 5ff36c849d4eece1fe910d74dc5318e554d1822b