<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_lexer, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-22T19:10:41+00:00</updated>
<entry>
<title>Fix a crash/mislex when more than one frontmatter closing possibility is considered</title>
<updated>2025-09-22T19:10:41+00:00</updated>
<author>
<name>Alex</name>
<email>huangalex409@gmail.com</email>
</author>
<published>2025-09-22T19:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2d18c886f5754258109fad2e1e0c3bcca0cc9fa5'/>
<id>urn:sha1:2d18c886f5754258109fad2e1e0c3bcca0cc9fa5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #146106 - epage:whitespace, r=fee1-dead</title>
<updated>2025-09-03T13:08:10+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-03T13:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56213a553ea242e61af853258052913d0fd75451'/>
<id>urn:sha1:56213a553ea242e61af853258052913d0fd75451</id>
<content type='text'>
fix(lexer): Only allow horizontal whitespace in frontmatter

In writing up the reference for frontmatter, I realized that we probably
shouldn't be accepting Unicode Line Ending characters between the code
fence and infostring or trailing after the infostring or a code fence.

In digging into the unicode specification we use for Whitespace, it
divides it up into categories, so I'm deferring to what it says for
horizontal whitespace for what should be used within a line.

Note, I am leaving out support for Unicode Default Ignorable characters.
I figure that can be discussed outside of this change within the
reference and tracking issue.

Fixes rust-lang/rust#145971

Frontmatter tracking issue: rust-lang/rust#136889
</content>
</entry>
<entry>
<title>Revert introduction of `[workspace.dependencies]`.</title>
<updated>2025-09-02T09:12:54+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-09-02T09:09:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=301655eafe56a4b5064adebd412becf94b59221c'/>
<id>urn:sha1:301655eafe56a4b5064adebd412becf94b59221c</id>
<content type='text'>
This was done in #145740 and #145947. It is causing problems for people
using r-a on anything that uses the rustc-dev rustup package, e.g. Miri,
clippy.

This repository has lots of submodules and subtrees and various
different projects are carved out of pieces of it. It seems like
`[workspace.dependencies]` will just be more trouble than it's worth.
</content>
</entry>
<entry>
<title>fix(lexer): Only allow horizontal whitespace in frontmatter</title>
<updated>2025-09-02T01:51:39+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-28T20:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f0da976c5f422ff5b1124d409e7d7e063fc4225'/>
<id>urn:sha1:6f0da976c5f422ff5b1124d409e7d7e063fc4225</id>
<content type='text'>
In writing up the reference for frontmatter, I realized that we probably
shouldn't be accepting Unicode Line Ending characters between the code
fence and infostring or trailing after the infostring or a code fence.

In digging into the unicode specification we use for Whitespace, it
divides it up into categories, so I'm deferring to what it says for
horizontal whitespace for what should be used within a line.

Note, I am leaving out support for Unicde Default Ignorable characters.
I figure that can be discussed outside of this change within the
reference and tracking issue.</content>
</entry>
<entry>
<title>docs(lexer): Organize and document whitespace by Pattern_White_Space</title>
<updated>2025-09-02T01:51:39+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-28T19:18:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=428e413414e0719a7758676ac49e07b85eb86dec'/>
<id>urn:sha1:428e413414e0719a7758676ac49e07b85eb86dec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(lexer): Don't require frontmatters to be escaped with indented fences</title>
<updated>2025-08-28T19:08:33+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-22T15:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=142e25e35621b7043cc86bdc3d74f463ca2032d1'/>
<id>urn:sha1:142e25e35621b7043cc86bdc3d74f463ca2032d1</id>
<content type='text'>
The RFC only limits hyphens at the beginning of lines and not if they
are indented or embedded in other content.

Sticking to that approach was confirmed by the T-lang liason at
https://github.com/rust-lang/rust/issues/141367#issuecomment-3202217544

There is a regression in error message quality which I'm leaving for
someone if they feel this needs improving.
</content>
</entry>
<entry>
<title>Remove unnecessary `[dependencies.unicode-properties]` entries.</title>
<updated>2025-08-27T22:08:40+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-08-27T22:08:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b4c8fe2b4bdbf8ff3e0b6a38e6027a431d1aca32'/>
<id>urn:sha1:b4c8fe2b4bdbf8ff3e0b6a38e6027a431d1aca32</id>
<content type='text'>
The Cargo style guide says to put dependencies on a single line if they
fit.
</content>
</entry>
<entry>
<title>Add `memchr` to `[workspace.dependencies]`.</title>
<updated>2025-08-27T03:59:32+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-08-21T21:26:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dfa748e910b7b1cda37bfe709cd026da66a63e4c'/>
<id>urn:sha1:dfa748e910b7b1cda37bfe709cd026da66a63e4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(lexer): Allow '-' in the infostring continue set</title>
<updated>2025-08-22T14:26:19+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-08-22T14:26:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f43f974b9e14af328b7982d6320cc4d7a9104410'/>
<id>urn:sha1:f43f974b9e14af328b7982d6320cc4d7a9104410</id>
<content type='text'>
This more closely matches the RFC and what our T-lang contact has asked
for, see https://github.com/rust-lang/rust/issues/136889#issuecomment-3212715312</content>
</entry>
<entry>
<title>test(lexer): Add frontmatter unit test</title>
<updated>2025-07-10T15:25:29+00:00</updated>
<author>
<name>Ed Page</name>
<email>eopage@gmail.com</email>
</author>
<published>2025-07-10T15:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df53b3dc04950d980bd28ec4b04f48cd0cd01237'/>
<id>urn:sha1:df53b3dc04950d980bd28ec4b04f48cd0cd01237</id>
<content type='text'>
</content>
</entry>
</feed>
