about summary refs log tree commit diff
path: root/src/libsyntax/lib.rs
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2018-03-03 06:24:49 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2018-03-28 01:27:58 +0200
commit3f0cb8ccffa55abd430074cf2b2d785c85c7de54 (patch)
tree5d874f9b6dbd8ea0f7da153ddf695b636beb5cfc /src/libsyntax/lib.rs
parent11ccc4cac6d1c8fbe27d55714a78e8118c07379c (diff)
downloadrust-3f0cb8ccffa55abd430074cf2b2d785c85c7de54.tar.gz
rust-3f0cb8ccffa55abd430074cf2b2d785c85c7de54.zip
Make SyntaxExtension thread-safe
Diffstat (limited to 'src/libsyntax/lib.rs')
-rw-r--r--src/libsyntax/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs
index 74f1ee373ec..ce7fa226b96 100644
--- a/src/libsyntax/lib.rs
+++ b/src/libsyntax/lib.rs
@@ -28,6 +28,8 @@
 #![feature(const_atomic_usize_new)]
 #![feature(rustc_attrs)]
 
+#![recursion_limit="256"]
+
 // See librustc_cratesio_shim/Cargo.toml for a comment explaining this.
 #[allow(unused_extern_crates)]
 extern crate rustc_cratesio_shim;