<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/rustc-macro-crate.rs, branch 1.60.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.60.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.60.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-08-24T17:11:57+00:00</updated>
<entry>
<title>Improve Rustdoc's handling of procedural macros</title>
<updated>2019-08-24T17:11:57+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2019-07-20T20:34:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=14986081355db0a2ae67df6a43dd9e6e360d718c'/>
<id>urn:sha1:14986081355db0a2ae67df6a43dd9e6e360d718c</id>
<content type='text'>
Fixes #58700
Fixes #58696
Fixes #49553
Fixes #52210

This commit removes the special rustdoc handling for proc macros, as we
can now
retrieve their span and attributes just like any other item.

A new command-line option is added to rustdoc: `--crate-type`. This
takes the same options as rustc's `--crate-type` option. However, all
values other than `proc-macro` are treated the same. This allows Rustdoc
to enable 'proc macro mode' when handling a proc macro crate.

In compiletest, a new 'rustdoc-flags' option is added. This allows us to
pass in the '--proc-macro-crate' flag in the absence of Cargo.

I've opened [an additional PR to
Cargo](https://github.com/rust-lang/cargo/pull/7159) to support passing
in this flag.
These two PRS can be merged in any order - the Cargo changes will not
take effect until the 'cargo' submodule is updated in this repository.
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: use `force-host` and `no-prefer-dynamic` in all proc_macro tests.</title>
<updated>2018-11-30T04:15:20+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-11-24T13:34:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3369929ddb7a3be8048636ed376d05f1a3295378'/>
<id>urn:sha1:3369929ddb7a3be8048636ed376d05f1a3295378</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: remove ignore-stage1 where possible in proc_macro tests.</title>
<updated>2018-11-30T04:15:20+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-03-20T18:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d3ab4a74efad266155fcd402c8d159af9e443e3d'/>
<id>urn:sha1:d3ab4a74efad266155fcd402c8d159af9e443e3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rustdoc itself no longer requires proc macros to build</title>
<updated>2018-06-02T15:32:22+00:00</updated>
<author>
<name>Mark Simulacrum</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-06-02T13:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf24a1df331ae4314245825c4ce668bc74b6d55c'/>
<id>urn:sha1:cf24a1df331ae4314245825c4ce668bc74b6d55c</id>
<content type='text'>
This avoids a full compiler build in order to build and/or run tests for
rustdoc.
</content>
</entry>
<entry>
<title>rustc: Stabilize the `proc_macro` feature</title>
<updated>2017-01-02T20:13:30+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2017-01-02T00:14:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=045f8f69293fae924ee4998439ec0e34f98320be'/>
<id>urn:sha1:045f8f69293fae924ee4998439ec0e34f98320be</id>
<content type='text'>
This commit stabilizes the `proc_macro` and `proc_macro_lib` features in the
compiler to stabilize the "Macros 1.1" feature of the language. Many more
details can be found on the tracking issue, #35900.

Closes #35900
</content>
</entry>
<entry>
<title>rustc: Rename rustc_macro to proc_macro</title>
<updated>2016-10-06T18:07:23+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-10-03T16:49:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2148bdfcc7ea7b9614d8cbe596cbe7bb75b57cd1'/>
<id>urn:sha1:2148bdfcc7ea7b9614d8cbe596cbe7bb75b57cd1</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>rustdoc: Fix documenting rustc-macro crates</title>
<updated>2016-09-30T17:49:30+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-09-30T02:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7724a04b0f69ac298b308e09402042410e8a928c'/>
<id>urn:sha1:7724a04b0f69ac298b308e09402042410e8a928c</id>
<content type='text'>
This commit adds a "hack" to the session to track whether we're a rustdoc
session or not. If we're rustdoc then we skip the expansion to add the
rustc-macro infrastructure.

Closes #36820
</content>
</entry>
</feed>
