<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_span/src, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-22T05:59:24+00:00</updated>
<entry>
<title>Introduce `Symbol::with_interner`.</title>
<updated>2025-07-22T05:59:24+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-06-22T21:24:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a5bcdde9d8668f92bd2f323898d5da1bdc5df5b'/>
<id>urn:sha1:8a5bcdde9d8668f92bd2f323898d5da1bdc5df5b</id>
<content type='text'>
It lets you get the contents of multiple symbols with a single TLS
lookup and interner lock, instead of one per symbol.
</content>
</entry>
<entry>
<title>Rollup merge of #144212 - bjorn3:remove_unique_lang_item, r=oli-obk</title>
<updated>2025-07-21T16:54:30+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-07-21T16:54:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=551cef9fc96ab4b2d0d82f788a13a3bcb41289bd'/>
<id>urn:sha1:551cef9fc96ab4b2d0d82f788a13a3bcb41289bd</id>
<content type='text'>
Remove the ptr_unique lang item

Miri no longer uses it since https://github.com/rust-lang/miri/pull/4307.
</content>
</entry>
<entry>
<title>Remove the ptr_unique lang item</title>
<updated>2025-07-20T09:50:58+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-20T09:50:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fdf8bdb7a2a8c9a06045d9648ce0ab6bcf117a6d'/>
<id>urn:sha1:fdf8bdb7a2a8c9a06045d9648ce0ab6bcf117a6d</id>
<content type='text'>
Miri no longer uses it.
</content>
</entry>
<entry>
<title>Mitigate `#[align]` name resolution ambiguity regression with a rename</title>
<updated>2025-07-18T17:42:30+00:00</updated>
<author>
<name>Jieyou Xu</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2025-07-17T16:10:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69b71e44107b4905ec7ad84ccb3edf4f14b3df69'/>
<id>urn:sha1:69b71e44107b4905ec7ad84ccb3edf4f14b3df69</id>
<content type='text'>
From `#[align]` -&gt; `#[rustc_align]`. Attributes starting with `rustc`
are always perma-unstable and feature-gated by `feature(rustc_attrs)`.

See regression RUST-143834.

For the underlying problem where even introducing new feature-gated
unstable built-in attributes can break user code such as

```rs
macro_rules! align {
    () =&gt; {
        /* .. */
    };
}

pub(crate) use align; // `use` here becomes ambiguous
```

refer to RUST-134963.

Since the `#[align]` attribute is still feature-gated by
`feature(fn_align)`, we can rename it as a mitigation. Note that
`#[rustc_align]` will obviously mean that current unstable user code
using `feature(fn_aling)` will need additionally `feature(rustc_attrs)`,
but this is a short-term mitigation to buy time, and is expected to be
changed to a better name with less collision potential.

See
&lt;https://rust-lang.zulipchat.com/#narrow/channel/238009-t-compiler.2Fmeetings/topic/.5Bweekly.5D.202025-07-17/near/529290371&gt;
where mitigation options were considered.
</content>
</entry>
<entry>
<title>Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-dead</title>
<updated>2025-07-18T12:49:19+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-07-18T12:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=82fbbddf633f104cbfac6f388fa96e0b94971ad9'/>
<id>urn:sha1:82fbbddf633f104cbfac6f388fa96e0b94971ad9</id>
<content type='text'>
Make slice comparisons const

This needed a fix for `derive_const`, too, as it wasn't usable in libcore anymore as trait impls need const stability attributes. I think we can't use the same system as normal trait impls while `const_trait_impl` is still unstable.

r? ```@fee1-dead```

cc rust-lang/rust#143800
</content>
</entry>
<entry>
<title>Make `derive_const` usable within libcore again</title>
<updated>2025-07-17T15:42:54+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>github333195615777966@oli-obk.de</email>
</author>
<published>2025-07-11T10:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=250648e871c1e685f09427bd31fd399090f15640'/>
<id>urn:sha1:250648e871c1e685f09427bd31fd399090f15640</id>
<content type='text'>
Also make it *only* usable on nightly
</content>
</entry>
<entry>
<title>Auto merge of #142903 - cjgillot:local-def-path-hash, r=compiler-errors</title>
<updated>2025-07-17T08:36:42+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-17T08:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c12d76304fcceaeaad0d67209e5727e94f5f2b8'/>
<id>urn:sha1:8c12d76304fcceaeaad0d67209e5727e94f5f2b8</id>
<content type='text'>
Only inherit local hash for paths

`DefPathHash`, as the counterpart of `DefId` that is stable across compiler invocations, is comprised of 2 parts. The first one is the `StableCrateId`, stable form of `CrateNum`. The second is 64 complementary bits to identify the crate-local definition.

The current implementation always hashes the full 128 bits when (1) trying to create a new child `DefPathHash` or (2) hashing a `CrateNum` or a `LocalDefId`. But we only need half that information: `LocalDefId` means that the `StableCrateId` is always the current crate's ; `CrateNum` means that we do not care about the local part.

As stable hashing is very hot in the query system, in particular hashing definitions, this is a big deal.

We still want the local part to change when the `StableCrateId` changes, to make incr-compilation errors less painful, ie. increase the likelihood that if will magically disappear by changing some code.

This PR sprinkles some `#[inline]` attributes on small functions that appeared in profiles.
</content>
</entry>
<entry>
<title>Auto merge of #144044 - fmease:rollup-kg413pt, r=fmease</title>
<updated>2025-07-17T05:24:30+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-17T05:24:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8f6997469237299c1d60814c7b9828602a1f8e4'/>
<id>urn:sha1:f8f6997469237299c1d60814c7b9828602a1f8e4</id>
<content type='text'>
Rollup of 15 pull requests

Successful merges:

 - rust-lang/rust#142304 (tests: Add `RUST_BACKTRACE` and `-Cpanic` revisions to `panic-main.rs` test)
 - rust-lang/rust#143388 (Various refactors to the LTO handling code)
 - rust-lang/rust#143409 (Enable xgot feature for mips64 musl targets)
 - rust-lang/rust#143592 (UWP: link ntdll functions using raw-dylib)
 - rust-lang/rust#143595 (add `const_make_global`; err for `const_allocate` ptrs if didn't call)
 - rust-lang/rust#143678 (Added error for invalid char cast)
 - rust-lang/rust#143820 (Fixed a core crate compilation failure when enabling the `optimize_for_size` feature on some targets)
 - rust-lang/rust#143829 (Trim `BorrowedCursor` API)
 - rust-lang/rust#143851 (ci cleanup: rustdoc-gui-test now installs browser-ui-test)
 - rust-lang/rust#143856 (Linting public reexport of private dependencies)
 - rust-lang/rust#143895 (Dont collect assoc ty item bounds from trait where clause for host effect predicates)
 - rust-lang/rust#143922 (Improve path segment joining)
 - rust-lang/rust#143964 (Fix handling of SCRIPT_ARG in docker images)
 - rust-lang/rust#144002 (Update poison.rs)
 - rust-lang/rust#144016 (trait_sel: `MetaSized` always holds temporarily)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>add `const_make_global`; err for `const_allocate` ptrs if didn't call</title>
<updated>2025-07-15T16:32:12+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2025-07-07T16:20:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3f2dc2bd1a2e0120b868911497ddbd8e43f3a9fa'/>
<id>urn:sha1:3f2dc2bd1a2e0120b868911497ddbd8e43f3a9fa</id>
<content type='text'>
Co-Authored-By: Ralf Jung &lt;post@ralfj.de&gt;
Co-Authored-By: Oli Scherer &lt;github333195615777966@oli-obk.de&gt;
</content>
</entry>
<entry>
<title>Implement other logics</title>
<updated>2025-07-15T13:48:30+00:00</updated>
<author>
<name>tiif</name>
<email>pekyuan@gmail.com</email>
</author>
<published>2025-07-14T13:38:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7356ff7517f4d95583f8fd6d631441893c87dd3f'/>
<id>urn:sha1:7356ff7517f4d95583f8fd6d631441893c87dd3f</id>
<content type='text'>
</content>
</entry>
</feed>
