Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proc_macro: implement TokenTree, TokenKind, hygienic quote!, and other API #40939

Merged
merged 13 commits into from
Jul 6, 2017
Merged
9 changes: 0 additions & 9 deletions src/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,9 @@ impl Build {
}
}

if self.config.extended && compiler.is_final_stage(self) {
if mode == Mode::Libstd &&
self.config.extended &&
compiler.is_final_stage(self) {
cargo.env("RUSTC_SAVE_ANALYSIS", "api".to_string());
}

Expand Down
7 changes: 7 additions & 0 deletions src/doc/unstable-book/src/library-features/proc-macro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# `proc_macro`

The tracking issue for this feature is: [#38356]

[#38356]: https://github.com/rust-lang/rust/issues/38356

------------------------
1 change: 1 addition & 0 deletions src/libproc_macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ crate-type = ["dylib"]

[dependencies]
syntax = { path = "../libsyntax" }
syntax_pos = { path = "../libsyntax_pos" }
Loading