summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2018-04-08 18:25:41 -0400
committerTamir Duberstein <tamird@gmail.com>2018-04-08 18:31:14 -0400
commitac3e4e476f67411177e73e80f0e932aaba5a6593 (patch)
treea4e3160663c9488cc66dcbf835228ad06c50b3f0
parent8fe4d63bb7f610d26704dbdfaa4a36b71660b084 (diff)
Avoid new validation in proc-macro2
Evidently, we run afoul of this.
-rw-r--r--Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a9f2bdc6..c15674c9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -53,7 +53,9 @@ peeking_take_while = "0.1.2"
quote = { version = "0.5", default-features = false }
regex = "0.2"
which = "1.0.2"
-proc-macro2 = { version = "0.3.2", default-features = false }
+# New validation in 0.3.6 breaks bindgen-integration:
+# https://github.com/alexcrichton/proc-macro2/commit/489c642.
+proc-macro2 = { version = "0.3.2, < 0.3.6", default-features = false }
[dependencies.env_logger]
optional = true