<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_fs_util/src/lib.rs, branch 1.86.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.86.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.86.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-09-26T19:51:14+00:00</updated>
<entry>
<title>Couple of changes to make it easier to compile rustc for wasm</title>
<updated>2024-09-26T19:51:14+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2024-09-26T19:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6414d9f52dd8c9e31ce0c923a4327583b794bb43'/>
<id>urn:sha1:6414d9f52dd8c9e31ce0c923a4327583b794bb43</id>
<content type='text'>
This is a subset of the patches I have on my rust fork to compile rustc
for wasm32-wasip1.
</content>
</entry>
<entry>
<title>Reformat using the new identifier sorting from rustfmt</title>
<updated>2024-09-22T23:11:29+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-09-22T23:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c682aa162b0d41e21cc6748f4fecfe01efb69d1f'/>
<id>urn:sha1:c682aa162b0d41e21cc6748f4fecfe01efb69d1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Remove useless `tidy-alphabetical` markers.</title>
<updated>2024-06-19T23:23:20+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-06-19T19:39:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9981d61cdbaf4cdcfca8cb5ca953144f2294cc84'/>
<id>urn:sha1:9981d61cdbaf4cdcfca8cb5ca953144f2294cc84</id>
<content type='text'>
rustfmt already sorts `use` declarations within the same group.
</content>
</entry>
<entry>
<title>Use `tidy` to sort crate attributes for all compiler crates.</title>
<updated>2024-06-12T05:49:10+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-06-12T03:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75b164d836ff82b459dfb05646bf0328dd23d2fd'/>
<id>urn:sha1:75b164d836ff82b459dfb05646bf0328dd23d2fd</id>
<content type='text'>
We already do this for a number of crates, e.g. `rustc_middle`,
`rustc_span`, `rustc_metadata`, `rustc_span`, `rustc_errors`.

For the ones we don't, in many cases the attributes are a mess.
- There is no consistency about order of attribute kinds (e.g.
  `allow`/`deny`/`feature`).
- Within attribute kind groups (e.g. the `feature` attributes),
  sometimes the order is alphabetical, and sometimes there is no
  particular order.
- Sometimes the attributes of a particular kind aren't even grouped
  all together, e.g. there might be a `feature`, then an `allow`, then
  another `feature`.

This commit extends the existing sorting to all compiler crates,
increasing consistency. If any new attribute line is added there is now
only one place it can go -- no need for arbitrary decisions.

Exceptions:
- `rustc_log`, `rustc_next_trait_solver` and `rustc_type_ir_macros`,
  because they have no crate attributes.
- `rustc_codegen_gcc`, because it's quasi-external to rustc (e.g. it's
  ignored in `rustfmt.toml`).
</content>
</entry>
<entry>
<title>Stabilize `std::path::absolute`</title>
<updated>2024-04-24T14:35:02+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2024-04-16T12:51:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f56afa047748e2921f5ff4fe1f6217cd9a5aeeec'/>
<id>urn:sha1:f56afa047748e2921f5ff4fe1f6217cd9a5aeeec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Invert diagnostic lints.</title>
<updated>2024-02-06T02:12:33+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-05T22:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0ac1195ee0f8cd6d87e654a2312b899883272ec2'/>
<id>urn:sha1:0ac1195ee0f8cd6d87e654a2312b899883272ec2</id>
<content type='text'>
That is, change `diagnostic_outside_of_impl` and
`untranslatable_diagnostic` from `allow` to `deny`, because more than
half of the compiler has be converted to use translated diagnostics.

This commit removes more `deny` attributes than it adds `allow`
attributes, which proves that this change is warranted.
</content>
</entry>
<entry>
<title>Add `try_canonicalize` to `rustc_fs_util` and use it over `fs::canonicalize`</title>
<updated>2023-03-16T20:50:23+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-03-16T20:42:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4f7cd3d4591aefc4edec1039ac49bef94d65deb1'/>
<id>urn:sha1:4f7cd3d4591aefc4edec1039ac49bef94d65deb1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove useless borrows and derefs</title>
<updated>2022-12-01T17:34:43+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2022-11-29T11:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f2b97a8bfe23cdda293908e3c3e01f2613787168'/>
<id>urn:sha1:f2b97a8bfe23cdda293908e3c3e01f2613787168</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add diagnostic translation lints to crates that don't emit them</title>
<updated>2022-08-18T18:29:02+00:00</updated>
<author>
<name>5225225</name>
<email>5225225@mailbox.org</email>
</author>
<published>2022-08-18T18:27:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=09ea9f0a87be489250bdb8d9171c7deb20fd04b1'/>
<id>urn:sha1:09ea9f0a87be489250bdb8d9171c7deb20fd04b1</id>
<content type='text'>
</content>
</entry>
</feed>
