summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-01-26 14:32:00 +0100
committerBert Belder <bertbelder@gmail.com>2019-01-26 16:32:03 +0100
commitc03ff8556b5a469996b42697cbb10fb89a18e94c (patch)
tree34278f69ee71006697a10e2e56fe682504954a19
parentd3e5a132013ca514cf6aa779a1ee307acbe98ea9 (diff)
third_party: add the 'integer-atomics' crate
-rw-r--r--Cargo.lock7
-rw-r--r--Cargo.toml1
-rw-r--r--build_extra/rust/BUILD.gn9
m---------third_party0
4 files changed, 17 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 2713f602d..517d921bd 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)",
@@ -388,6 +389,11 @@ 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"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -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 110aadaae..86b1c10f0 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 7e0c23625..09a32d849 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
-Subproject 1ffcb4c9fb3cf7dd67850bb9cd6f25d7206d991
+Subproject 5ff36c849d4eece1fe910d74dc5318e554d1822