about summary refs log tree commit diff
path: root/src/tools/rustdoc
AgeCommit message (Collapse)AuthorLines
2025-03-04`librustdoc`: 2024 edition! 🎊Yotam Ofek-1/+1
2024-08-11Link `std` statically in `rustc_driver`John KÃ¥re Alsaker-0/+3
2024-05-02Change `SIGPIPE` ui from `#[unix_sigpipe = "..."]` to `-Zon-broken-pipe=...`Martin Nordholts-3/+0
In the stabilization attempt of `#[unix_sigpipe = "sig_dfl"]`, a concern was raised related to using a language attribute for the feature: Long term, we want `fn lang_start()` to be definable by any crate, not just libstd. Having a special language attribute in that case becomes awkward. So as a first step towards towards the next stabilization attempt, this PR changes the `#[unix_sigpipe = "..."]` attribute to a compiler flag `-Zon-broken-pipe=...` to remove that concern, since now the language is not "contaminated" by this feature. Another point was also raised, namely that the ui should not leak **how** it does things, but rather what the **end effect** is. The new flag uses the proposed naming. This is of course something that can be iterated on further before stabilization.
2022-10-24rustdoc: Use `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`Martin Nordholts-0/+3
Start using `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`. After this has been merged, we can completely remove `rustc_driver::set_sigpipe_handler`. Verification of this change --------------------------- 1. Remove `#[unix_sigpipe = "sig_dfl"]` 1. Run `./x.py build` 1. Run `./build/aarch64-apple-darwin/stage1/bin/rustdoc --help | false` 1. Observe ICE 1. Add back `#[unix_sigpipe = "sig_dfl"]` 1. Run `./x.py build` 1. Run `./build/aarch64-apple-darwin/stage1/bin/rustdoc --help | false` 1. Observe ICE fixed
2021-09-20Migrate to 2021Mark Rousskov-1/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-04-04use jemallocator in rustc/rustdocGus Wynn-0/+3
2019-12-22Format the worldMark Rousskov-1/+3
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-2/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-03-10Make the rustc driver and interface demand drivenJohn KÃ¥re Alsaker-12/+0
2019-02-05Transition rustdoc to 2018 editionHirokazu Hata-2/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-05-17Rename rustdoc to use underscoresMark Simulacrum-1/+1
2018-04-10Allow incorrectly reported unused attribute warningMark Simulacrum-0/+2
2018-03-28Set link args for rustdocTatsuyuki Ishi-0/+10
2017-08-13Cargotest needs only one rustdoc.exe to exist on WindowsMark Simulacrum-1/+4
2017-07-27Build rustdoc on-demand.Mark Simulacrum-0/+24
Rustdoc is no longer compiled in every stage, alongside rustc, instead it is only compiled when requested, and generally only for the last stage.