<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_const_eval, branch 1.83.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.83.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.83.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-10-10T10:49:19+00:00</updated>
<entry>
<title>Rollup merge of #131397 - RalfJung:const-escaping-ref-teach, r=chenyukang</title>
<updated>2024-10-10T10:49:19+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-10-10T10:49:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a2c43eb80698dc551bf9f4c0041b2cde751a7a5d'/>
<id>urn:sha1:a2c43eb80698dc551bf9f4c0041b2cde751a7a5d</id>
<content type='text'>
fix/update teach_note from 'escaping mutable ref/ptr' const-check

The old note was quite confusing since it talked about statics, but the message is also shown for consts. So let's reword to something that is true for both of them.
</content>
</entry>
<entry>
<title>compiler: Factor rustc_target::abi out of const_eval</title>
<updated>2024-10-09T01:24:56+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2024-10-08T23:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d95c8bd1606b914a0fc1ae9ba21efb3490491ce'/>
<id>urn:sha1:9d95c8bd1606b914a0fc1ae9ba21efb3490491ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix/update teach_note from 'escaping mutable ref/ptr' const-check</title>
<updated>2024-10-08T12:03:03+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-10-08T10:25:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=287eb03838d5ff211706c8df8f5357034219472f'/>
<id>urn:sha1:287eb03838d5ff211706c8df8f5357034219472f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #131068 - RalfJung:immediate-offset-sanity-check, r=nnethercote</title>
<updated>2024-10-07T00:45:41+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-10-07T00:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a964a9227787447016894268152bff79ee76a36b'/>
<id>urn:sha1:a964a9227787447016894268152bff79ee76a36b</id>
<content type='text'>
Don't use Immediate::offset to transmute pointers to integers

This applies the relatively new `assert_matches_abi` check in the `offset` operation on immediates, which makes sure that if offsets are used to alter the layout (which is possible because the field layout is arbitrarily picked by the caller), this is not done in a way that breaks the invariant of the `Immediate` type.

This leads to ICEs in a GVN mir-opt test, so the second commit fixes GVN.

Fixes https://github.com/rust-lang/rust/issues/131064.
</content>
</entry>
<entry>
<title>various fixes for `naked_asm!` implementation</title>
<updated>2024-10-06T17:00:09+00:00</updated>
<author>
<name>Folkert de Vries</name>
<email>folkert@folkertdev.nl</email>
</author>
<published>2024-09-05T17:45:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5fc60d1e52ea12f53d2c8d22fee94592860739ad'/>
<id>urn:sha1:5fc60d1e52ea12f53d2c8d22fee94592860739ad</id>
<content type='text'>
- fix for divergence
- fix error message
- fix another cranelift test
- fix some cranelift things
- don't set the NORETURN option for naked asm
- fix use of naked_asm! in doc comment
- fix use of naked_asm! in run-make test
- use `span_bug` in unreachable branch
</content>
</entry>
<entry>
<title>Use wide pointers consistenly across the compiler</title>
<updated>2024-10-04T12:06:48+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2024-10-03T13:05:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=018ba0528fa5d22712397e520351295f8582a525'/>
<id>urn:sha1:018ba0528fa5d22712397e520351295f8582a525</id>
<content type='text'>
</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>
<entry>
<title>Auto merge of #131006 - RalfJung:immediate-sanity, r=saethlin</title>
<updated>2024-10-02T22:12:06+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2024-10-02T22:12:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c7013c15c189a6978ac8b9dac638581495527de'/>
<id>urn:sha1:9c7013c15c189a6978ac8b9dac638581495527de</id>
<content type='text'>
interpret: always enable write_immediate sanity checks

Writing a wrongly-sized scalar somewhere can have quite confusing effects. Let's see how expensive it is to catch this early.
</content>
</entry>
<entry>
<title>make InterpResult a dedicated type to avoid accidentally discarding the error</title>
<updated>2024-10-01T19:45:35+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-09-29T09:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4ce8c114b06840c3521a189ee44958b713fb33a'/>
<id>urn:sha1:c4ce8c114b06840c3521a189ee44958b713fb33a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>panic when an interpreter error gets unintentionally discarded</title>
<updated>2024-09-30T06:37:00+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-09-26T14:48:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4b8a5bd511814ed97640c46ab2232acc0e0ade41'/>
<id>urn:sha1:4b8a5bd511814ed97640c46ab2232acc0e0ade41</id>
<content type='text'>
</content>
</entry>
</feed>
