about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCameron Taggart <cameron.taggart@gmail.com>2020-05-07 22:13:50 -0600
committerCameron Taggart <cameron.taggart@gmail.com>2020-05-07 22:13:50 -0600
commit60c66e3f8245072a0b4f8a16260933cc0828eb44 (patch)
tree2bf3a1b0f1702c4201960732a63c0f4b97fb9835
parent1eefa6783c0c5160ca20becf0c9bd2e73048a7db (diff)
downloadrust-60c66e3f8245072a0b4f8a16260933cc0828eb44.tar.gz
rust-60c66e3f8245072a0b4f8a16260933cc0828eb44.zip
allow wasm target for rustc-ap-rustc_span
-rw-r--r--src/librustc_span/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_span/lib.rs b/src/librustc_span/lib.rs
index 060ad604369..78661cd61a3 100644
--- a/src/librustc_span/lib.rs
+++ b/src/librustc_span/lib.rs
@@ -14,6 +14,9 @@
 #![feature(optin_builtin_traits)]
 #![feature(specialization)]
 
+// allow wasm target for rustc-ap-rustc_span
+extern crate rustc_macros;
+
 use rustc_data_structures::AtomicRef;
 use rustc_macros::HashStable_Generic;
 use rustc_serialize::{Decodable, Decoder, Encodable, Encoder};