<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_feature/src/lib.rs, branch 1.87.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.87.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.87.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-03-11T02:14:21+00:00</updated>
<entry>
<title>Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.</title>
<updated>2025-03-11T02:14:21+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-03-11T01:55:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff0a5fe975bdf94ea6a42c96c20a3891a91e503c'/>
<id>urn:sha1:ff0a5fe975bdf94ea6a42c96c20a3891a91e503c</id>
<content type='text'>
It's no longer necessary now that `-Wunreachable_pub` is being passed.
</content>
</entry>
<entry>
<title>Revert "Use workspace lints for crates in `compiler/` #138084"</title>
<updated>2025-03-10T10:12:47+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-03-10T10:12:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=063ef18fdc10cb0eb49e1af855e1a8e807e73eed'/>
<id>urn:sha1:063ef18fdc10cb0eb49e1af855e1a8e807e73eed</id>
<content type='text'>
Revert &lt;https://github.com/rust-lang/rust/pull/138084&gt; to buy time to
consider options that avoids breaking downstream usages of cargo on
distributed `rustc-src` artifacts, where such cargo invocations fail due
to inability to inherit `lints` from workspace root manifest's
`workspace.lints` (this is only valid for the source rust-lang/rust
workspace, but not really the distributed `rustc-src` artifacts).

This breakage was reported in
&lt;https://github.com/rust-lang/rust/issues/138304&gt;.

This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing
changes made to c6662879b27f5161e95f39395e3c9513a7b97028.
</content>
</entry>
<entry>
<title>Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.</title>
<updated>2025-03-07T21:41:43+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-03-06T03:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a3e03392ef12508a3ce50875594ddedd1164ed7'/>
<id>urn:sha1:8a3e03392ef12508a3ce50875594ddedd1164ed7</id>
<content type='text'>
(Except for `rustc_codegen_cranelift`.)

It's no longer necessary now that `unreachable_pub` is in the workspace
lints.
</content>
</entry>
<entry>
<title>rustc_feature: Avoid unsafe `std::env::set_var()` in `UnstableFeatures` tests</title>
<updated>2025-01-08T10:37:19+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2025-01-08T10:34:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=54ce831db0471732515697c99999f1cec7da99a1'/>
<id>urn:sha1:54ce831db0471732515697c99999f1cec7da99a1</id>
<content type='text'>
Avoid unsafe `std::env::set_var()` by allowing tests to inject
`std::env::var("RUSTC_BOOTSTRAP")` with a `env_var_rustc_bootstrap`
parameter.
</content>
</entry>
<entry>
<title>Re-export more `rustc_span::symbol` things from `rustc_span`.</title>
<updated>2024-12-18T02:38:53+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-12-12T23:29:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2620eb42d72d24baa1ca1056a769862b92c85f7f'/>
<id>urn:sha1:2620eb42d72d24baa1ca1056a769862b92c85f7f</id>
<content type='text'>
`rustc_span::symbol` defines some things that are re-exported from
`rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some
closely related things such as `Ident` and `kw`. So you can do `use
rustc_span::{Symbol, sym}` but you have to do `use
rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good
reason.

This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`,
and changes many `rustc_span::symbol::` qualifiers in `compiler/` to
`rustc_span::`. This is a 200+ net line of code reduction, mostly
because many files with two `use rustc_span` items can be reduced to
one.
</content>
</entry>
<entry>
<title>Add `RUSTC_BOOTSTRAP=-1` to make rustc pretend as stable compiler</title>
<updated>2024-11-17T11:59:52+00:00</updated>
<author>
<name>Jieyou Xu</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2024-11-13T09:55:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=202caa7c57f635c481670037dc52735635ec2f82'/>
<id>urn:sha1:202caa7c57f635c481670037dc52735635ec2f82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce `Enabled{Lang,Lib}Feature`</title>
<updated>2024-10-25T02:30:37+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2024-10-24T15:53:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3528149f735e801eb5710585d5f3b4fa73d6e1e5'/>
<id>urn:sha1:3528149f735e801eb5710585d5f3b4fa73d6e1e5</id>
<content type='text'>
Instead of passing around random n-tuples of e.g. `(gate_name, attr_sp,
since)`.
</content>
</entry>
<entry>
<title>rename lang feature lists to include LANG</title>
<updated>2024-10-23T08:14:43+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-10-23T07:20:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44638853f545632c68d9a85f85df3418ae09f248'/>
<id>urn:sha1:44638853f545632c68d9a85f85df3418ae09f248</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove no longer needd UnstableFeature type</title>
<updated>2024-10-23T08:14:43+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-10-23T07:18:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e82bca6f32bd74e018c8bd46fe33986eae514189'/>
<id>urn:sha1:e82bca6f32bd74e018c8bd46fe33986eae514189</id>
<content type='text'>
</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>
</feed>
