From ac3e4e476f67411177e73e80f0e932aaba5a6593 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Sun, 8 Apr 2018 18:25:41 -0400 Subject: Avoid new validation in proc-macro2 Evidently, we run afoul of this. --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3