<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_errors/Cargo.toml, branch 1.73.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.73.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.73.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-07-31T07:19:23+00:00</updated>
<entry>
<title>Replace the many arguments of `EmitterWriter::stderr` with builder methods</title>
<updated>2023-07-31T07:19:23+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-07-25T13:09:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=29de70da1be1c71b89b006f9955fedc70e084067'/>
<id>urn:sha1:29de70da1be1c71b89b006f9955fedc70e084067</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a simple markdown parser for formatting `rustc --explain`</title>
<updated>2023-07-03T20:04:18+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2022-12-19T18:09:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6a1c10bd85442f52f1d55d51005481cfa5cb40b5'/>
<id>urn:sha1:6a1c10bd85442f52f1d55d51005481cfa5cb40b5</id>
<content type='text'>
Currently, the output of `rustc --explain foo` displays the raw markdown in a
pager. This is acceptable, but using actual formatting makes it easier to
understand.

This patch consists of three major components:

1.  A markdown parser. This is an extremely simple non-backtracking recursive
    implementation that requires normalization of the final token stream
2.  A utility to write the token stream to an output buffer
3.  Configuration within rustc_driver_impl to invoke this combination for
    `--explain`. Like the current implementation, it first attempts to print to
    a pager with a fallback colorized terminal, and standard print as a last
    resort.

    If color is disabled, or if the output does not support it, or if printing
    with color fails, it will write the raw markdown (which matches current
    behavior).

    Pagers known to support color are: `less` (with `-r`), `bat` (aka `catbat`),
    and `delta`.

The markdown parser does not support the entire markdown specification, but
should support the following with reasonable accuracy:

-   Headings, including formatting
-   Comments
-   Code, inline and fenced block (no indented block)
-   Strong, emphasis, and strikethrough formatted text
-   Links, anchor, inline, and reference-style
-   Horizontal rules
-   Unordered and ordered list items, including formatting

This parser and writer should be reusable by other systems if ever needed.
</content>
</entry>
<entry>
<title>bump windows crate 0.46 -&gt; 0.48 in workspace</title>
<updated>2023-05-09T15:20:13+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2023-05-09T15:20:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3c03cce341ef9be288f05e0be3e9fe56100d37ba'/>
<id>urn:sha1:3c03cce341ef9be288f05e0be3e9fe56100d37ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`</title>
<updated>2023-04-18T18:56:22+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2023-04-16T12:33:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5d3d970fa64c25eecfbd8ebbae601a2c6cb2cb3'/>
<id>urn:sha1:b5d3d970fa64c25eecfbd8ebbae601a2c6cb2cb3</id>
<content type='text'>
Fluent, with all the icu4x it brings in, takes quite some time to
compile. `fluent_messages!` is only needed in further downstream rustc
crates, but is blocking more upstream crates like `rustc_index`. By
splitting it out, we allow `rustc_macros` to be compiled earlier, which
speeds up `x check compiler` by about 5 seconds (and even more after the
needless dependency on `serde_json` is removed from
`rustc_data_structures`).
</content>
</entry>
<entry>
<title>migrate compiler, bootstrap, and compiletest to windows-rs</title>
<updated>2023-03-20T17:19:35+00:00</updated>
<author>
<name>Andy Russell</name>
<email>arussell123@gmail.com</email>
</author>
<published>2023-01-15T18:43:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bb7c373fdf6c7c3fb8e204dcc178d870644fcc4b'/>
<id>urn:sha1:bb7c373fdf6c7c3fb8e204dcc178d870644fcc4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>UPDATE - migrate fn simd_simple_float_intrinsic error messages</title>
<updated>2022-12-28T01:59:21+00:00</updated>
<author>
<name>Jhonny Bill Mena</name>
<email>jhonnybillm@gmail.com</email>
</author>
<published>2022-11-17T13:53:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d1030fab229d25d3ca14b1aaa2fc8e5a6ec932a8'/>
<id>urn:sha1:d1030fab229d25d3ca14b1aaa2fc8e5a6ec932a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #103117 - joshtriplett:use-is-terminal, r=eholk</title>
<updated>2022-11-19T14:35:18+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-11-19T14:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=52cc0d5360622fe505b4f25973e06b1c9600f07c'/>
<id>urn:sha1:52cc0d5360622fe505b4f25973e06b1c9600f07c</id>
<content type='text'>
Use `IsTerminal` in place of `atty`

In any crate that can use nightly features, use `IsTerminal` rather than
`atty`:

- Use `IsTerminal` in `rustc_errors`
- Use `IsTerminal` in `rustc_driver`
- Use `IsTerminal` in `rustc_log`
- Use `IsTerminal` in `librustdoc`
</content>
</entry>
<entry>
<title>Enable icu sync feature for parallel compiler</title>
<updated>2022-11-18T22:46:35+00:00</updated>
<author>
<name>Charles Lew</name>
<email>crlf0710@gmail.com</email>
</author>
<published>2022-11-06T17:25:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d15b020278fc97ec978af94159e5b0f70e14c6ed'/>
<id>urn:sha1:d15b020278fc97ec978af94159e5b0f70e14c6ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use IsTerminal in rustc_errors</title>
<updated>2022-10-16T14:10:40+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2022-10-16T13:53:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c5ad97da258bb47cba2f888cee73b0f4b5289d58'/>
<id>urn:sha1:c5ad97da258bb47cba2f888cee73b0f4b5289d58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove  from compiler/ crates</title>
<updated>2022-09-29T07:49:04+00:00</updated>
<author>
<name>reez12g</name>
<email>reez12g@gmail.com</email>
</author>
<published>2022-09-11T07:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a4c5abe453329d4b492e33b442b36011a632117'/>
<id>urn:sha1:9a4c5abe453329d4b492e33b442b36011a632117</id>
<content type='text'>
</content>
</entry>
</feed>
