<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_const_eval/src/interpret/place.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>2025-01-28T11:50:02+00:00</updated>
<entry>
<title>miri: optimize zeroed alloc</title>
<updated>2025-01-28T11:50:02+00:00</updated>
<author>
<name>SpecificProtagonist</name>
<email>specificprotagonist@posteo.org</email>
</author>
<published>2025-01-24T23:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eee9df43e69e9841aaaa9bd4eae9f600a81f20b1'/>
<id>urn:sha1:eee9df43e69e9841aaaa9bd4eae9f600a81f20b1</id>
<content type='text'>
Co-authored-by: Ralf Jung &lt;post@ralfj.de&gt;
</content>
</entry>
<entry>
<title>Avoid naming variables `str`</title>
<updated>2025-01-07T12:30:02+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2025-01-07T12:12:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bb6bbfa13f97e6ef30ecd63c835c99cf7762bd6e'/>
<id>urn:sha1:bb6bbfa13f97e6ef30ecd63c835c99cf7762bd6e</id>
<content type='text'>
This renames variables named `str` to other names, to make sure `str`
always refers to a type.

It's confusing to read code where `str` (or another standard type name)
is used as an identifier. It also produces misleading syntax
highlighting.
</content>
</entry>
<entry>
<title>swap_typed_nonoverlapping: properly detect overlap even when swapping scalar values</title>
<updated>2024-12-25T15:01:26+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-25T14:58:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=335f7f59c1a4ffa0483f936a905b25f2f58c0263'/>
<id>urn:sha1:335f7f59c1a4ffa0483f936a905b25f2f58c0263</id>
<content type='text'>
</content>
</entry>
<entry>
<title>interpret: clean up deduplicating allocation functions</title>
<updated>2024-12-09T14:12:33+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-09T07:52:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=73dc95dad19e2fa513ea8ac2b76231474398c8ec'/>
<id>urn:sha1:73dc95dad19e2fa513ea8ac2b76231474398c8ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add allocate_bytes and refactor allocate_str in InterpCx for raw byte allocation</title>
<updated>2024-12-07T11:06:17+00:00</updated>
<author>
<name>shamb0</name>
<email>r.raajey@gmail.com</email>
</author>
<published>2024-12-04T15:39:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b07e750553fa9ad9b87e8e567bf05edf1001424'/>
<id>urn:sha1:9b07e750553fa9ad9b87e8e567bf05edf1001424</id>
<content type='text'>
Signed-off-by: shamb0 &lt;r.raajey@gmail.com&gt;
</content>
</entry>
<entry>
<title>`InterpCx` store `TypingEnv` instead of a `ParamEnv`</title>
<updated>2024-11-19T20:36:23+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-11-19T19:10:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a90e84f4d760cb49035f1446d4c6cfb3993aad2'/>
<id>urn:sha1:7a90e84f4d760cb49035f1446d4c6cfb3993aad2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use `TypingEnv` when no `infcx` is available</title>
<updated>2024-11-18T09:38:56+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-11-15T12:53:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cba14b95bb07a5b31ed1aac2bf4eadd248232da'/>
<id>urn:sha1:9cba14b95bb07a5b31ed1aac2bf4eadd248232da</id>
<content type='text'>
the behavior of the type system not only depends on the current
assumptions, but also the currentnphase of the compiler. This is
mostly necessary as we need to decide whether and how to reveal
opaque types. We track this via the `TypingMode`.
</content>
</entry>
<entry>
<title>stop using `ParamEnv::reveal` while handling MIR</title>
<updated>2024-10-31T13:55:53+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-10-31T11:41:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2cde638ac0b8f2fd1b7ad29606a1a406b276482a'/>
<id>urn:sha1:2cde638ac0b8f2fd1b7ad29606a1a406b276482a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compiler: `rustc_abi::Abi` =&gt; `BackendRepr`</title>
<updated>2024-10-29T21:56:00+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2024-10-29T20:37:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7086dd83cca1cf694c7bd171efbf262fa8ffb4aa'/>
<id>urn:sha1:7086dd83cca1cf694c7bd171efbf262fa8ffb4aa</id>
<content type='text'>
The initial naming of "Abi" was an awful mistake, conveying wrong ideas
about how psABIs worked and even more about what the enum meant.
It was only meant to represent the way the value would be described to
a codegen backend as it was lowered to that intermediate representation.
It was never meant to mean anything about the actual psABI handling!
The conflation is because LLVM typically will associate a certain form
with a certain ABI, but even that does not hold when the special cases
that actually exist arise, plus the IR annotations that modify the ABI.

Reframe `rustc_abi::Abi` as the `BackendRepr` of the type, and rename
`BackendRepr::Aggregate` as `BackendRepr::Memory`. Unfortunately, due to
the persistent misunderstandings, this too is now incorrect:
- Scattered ABI-relevant code is entangled with BackendRepr
- We do not always pre-compute a correct BackendRepr that reflects how
  we "actually" want this value to be handled, so we leave the backend
  interface to also inject various special-cases here
- In some cases `BackendRepr::Memory` is a "real" aggregate, but in
  others it is in fact using memory, and in some cases it is a scalar!

Our rustc-to-backend lowering code handles this sort of thing right now.
That will eventually be addressed by lifting duplicated lowering code
to either rustc_codegen_ssa or rustc_target as appropriate.
</content>
</entry>
<entry>
<title>interpret: Immediate::offset: use shared sanity-check function to ensure invariant</title>
<updated>2024-10-03T06:26:25+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-09-30T15:49:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a8f9a32650122dd7c54ad20d1230bcb62c6506ff'/>
<id>urn:sha1:a8f9a32650122dd7c54ad20d1230bcb62c6506ff</id>
<content type='text'>
</content>
</entry>
</feed>
