about summary refs log tree commit diff
path: root/src/libproc_macro/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-11/+0
2019-08-23bootstrap: Merge the libtest build step with libstdAlex Crichton-0/+3
Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-02-04libproc_macro => 2018Taiki Endo-0/+1
2018-11-30Statically link proc_macro into proc macros.Eduard-Mihai Burtescu-2/+0
2018-11-30proc_macro: move the rustc server to syntax_ext.Eduard-Mihai Burtescu-5/+0
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-0/+1
2017-08-28Initial diagnostic API for proc-macros.Sergio Benitez-0/+1
This commit introduces the ability to create and emit `Diagnostic` structures from proc-macros, allowing for proc-macro authors to emit warning, error, note, and help messages just like the compiler does.
2017-06-26Implement `quote!` and other `proc_macro` API.Jeffrey Seyfried-0/+1
2016-10-06rustc: Rename rustc_macro to proc_macroAlex Crichton-4/+0
This commit blanket renames the `rustc_macro` infrastructure to `proc_macro`, which reflects the general consensus of #35900. A follow up PR to Cargo will be required to purge the `rustc-macro` name as well.
2016-08-16Proc_macro is alivecgswords-0/+15