<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/debuginfo/metadata, branch 1.70.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.70.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.70.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-04-03T00:35:37+00:00</updated>
<entry>
<title>Use `&amp;IndexSlice` instead of `&amp;IndexVec` where possible</title>
<updated>2023-04-03T00:35:37+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-03-31T07:32:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a2ee7592d6b7c0daa62b7870ade85e0cc0acca05'/>
<id>urn:sha1:a2ee7592d6b7c0daa62b7870ade85e0cc0acca05</id>
<content type='text'>
All the same reasons as for `[T]`: more general, less pointer chasing, and `&amp;mut IndexSlice` emphasizes that it doesn't change *length*.
</content>
</entry>
<entry>
<title>Update `ty::VariantDef` to use `IndexVec&lt;FieldIdx, FieldDef&gt;`</title>
<updated>2023-03-30T16:23:40+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-03-29T06:32:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4abb45552992da2c30df9626c1b522b3d10f789b'/>
<id>urn:sha1:4abb45552992da2c30df9626c1b522b3d10f789b</id>
<content type='text'>
And while doing the updates for that, also uses `FieldIdx` in `ProjectionKind::Field` and `TypeckResults::field_indices`.

There's more places that could use it (like `rustc_const_eval` and `LayoutS`), but I tried to keep this PR from exploding to *even more* places.

Part 2/? of https://github.com/rust-lang/compiler-team/issues/606
</content>
</entry>
<entry>
<title>Move `mir::Field` → `abi::FieldIdx`</title>
<updated>2023-03-29T05:22:37+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-03-28T19:32:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5bbaeadc013cae79e440fb5d3da2175c83cb36e4'/>
<id>urn:sha1:5bbaeadc013cae79e440fb5d3da2175c83cb36e4</id>
<content type='text'>
The first PR for https://github.com/rust-lang/compiler-team/issues/606

This is just the move-and-rename, because it's plenty big-and-bitrotty already.  Future PRs will start using `FieldIdx` more broadly, and concomitantly removing `FieldIdx::new`s.
</content>
</entry>
<entry>
<title>Address the new odd backticks tidy lint in compiler/</title>
<updated>2023-03-11T19:40:18+00:00</updated>
<author>
<name>est31</name>
<email>MTest31@outlook.com</email>
</author>
<published>2023-03-04T03:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f4cc178f07fca98aee1b58bb4f82b2f45f8afac'/>
<id>urn:sha1:7f4cc178f07fca98aee1b58bb4f82b2f45f8afac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>abi: add `AddressSpace` field to `Primitive::Pointer`</title>
<updated>2023-01-23T04:41:39+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2023-01-23T04:03:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=009192b01bd88a7bb6c1948d1f47dd598af0bfd9'/>
<id>urn:sha1:009192b01bd88a7bb6c1948d1f47dd598af0bfd9</id>
<content type='text'>
...and remove it from `PointeeInfo`, which isn't meant for this.

There are still various places (marked with FIXMEs) that assume all pointers
have the same size and alignment. Fixing this requires parsing non-default
address spaces in the data layout string, which will be done in a followup.
</content>
</entry>
<entry>
<title>Move closure/generator type info methods to TyCtxt</title>
<updated>2022-12-07T17:00:33+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2022-12-07T17:00:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0dcadfc45bb04be3ba56d8bd62f1331a98949dc'/>
<id>urn:sha1:b0dcadfc45bb04be3ba56d8bd62f1331a98949dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unreserve braced enum variants in value namespace</title>
<updated>2022-11-21T19:40:06+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-10-25T16:15:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a5376d23cb3324edcfaa278a9387898960d5f7c'/>
<id>urn:sha1:7a5376d23cb3324edcfaa278a9387898960d5f7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pass 128-bit C-style enum enumerator values to LLVM</title>
<updated>2022-10-09T08:33:36+00:00</updated>
<author>
<name>beetrees</name>
<email>b@beetr.ee</email>
</author>
<published>2022-10-01T21:12:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=25c1c635e5b7df5b651f587b1427751bfe463339'/>
<id>urn:sha1:25c1c635e5b7df5b651f587b1427751bfe463339</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change name of "dataful" variant to "untagged"</title>
<updated>2022-09-07T20:12:45+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-08-25T01:14:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a08b96a0bb7c170130144214787b4a46aa5eb17'/>
<id>urn:sha1:1a08b96a0bb7c170130144214787b4a46aa5eb17</id>
<content type='text'>
This is in anticipation of a new enum layout, in which the niche
optimization may be applied even when multiple variants have data.
</content>
</entry>
<entry>
<title>[debuginfo] Use IndexMap instead of FxHashMap while generating cpp-like generator debuginfo.</title>
<updated>2022-08-12T08:53:08+00:00</updated>
<author>
<name>Michael Woerister</name>
<email>michaelwoerister@posteo</email>
</author>
<published>2022-08-11T09:09:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b0e3ed6e8dc6782ae86707e2332a9d42a44935d6'/>
<id>urn:sha1:b0e3ed6e8dc6782ae86707e2332a9d42a44935d6</id>
<content type='text'>
</content>
</entry>
</feed>
