<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_gcc/src/consts.rs, branch 1.77.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-12-23T21:05:28+00:00</updated>
<entry>
<title>Remove `Session` methods that duplicate `DiagCtxt` methods.</title>
<updated>2023-12-23T21:05:28+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-18T11:21:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99472c7049783605444ab888a97059d0cce93a12'/>
<id>urn:sha1:99472c7049783605444ab888a97059d0cce93a12</id>
<content type='text'>
Also add some `dcx` methods to types that wrap `TyCtxt`, for easier
access.
</content>
</entry>
<entry>
<title>ctfe interpreter: extend provenance so that it can track whether a pointer is immutable</title>
<updated>2023-12-07T16:46:36+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-11-25T17:41:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb863033423d895c0530ab749e4a3bca494b5c27'/>
<id>urn:sha1:cb863033423d895c0530ab749e4a3bca494b5c27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6' into sync-cg_gcc-2023-06-19</title>
<updated>2023-06-19T22:51:02+00:00</updated>
<author>
<name>Antoni Boucher</name>
<email>bouanto@zoho.com</email>
</author>
<published>2023-06-19T22:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4d96893d853a261e5d59c860108c3ddd3872c544'/>
<id>urn:sha1:4d96893d853a261e5d59c860108c3ddd3872c544</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use translatable diagnostics in `rustc_const_eval`</title>
<updated>2023-06-01T14:45:18+00:00</updated>
<author>
<name>Deadbeef</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2023-05-17T10:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4f83717cf768adb0b0dfe23b8eecf2b259eec354'/>
<id>urn:sha1:4f83717cf768adb0b0dfe23b8eecf2b259eec354</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop creating intermediate places just to immediate convert them to operands</title>
<updated>2023-05-26T15:01:29+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-05-19T15:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=164d041e303e9c98daaf35301fa88ba6844277dd'/>
<id>urn:sha1:164d041e303e9c98daaf35301fa88ba6844277dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge commit '08a6d6e16b5efe217123e780398969946266268f' into sync-cg_gcc-2023-03-04</title>
<updated>2023-03-05T17:03:19+00:00</updated>
<author>
<name>Antoni Boucher</name>
<email>bouanto@zoho.com</email>
</author>
<published>2023-03-05T17:03:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6bb2af0e6d7e3a8cc176f2594079ef3c2946be14'/>
<id>urn:sha1:6bb2af0e6d7e3a8cc176f2594079ef3c2946be14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>create and use GlobalAlloc::address_space</title>
<updated>2023-01-25T06:46:19+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2023-01-25T06:46:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=adc18904483fbd9df409291da4c4e299c8b6cb3e'/>
<id>urn:sha1:adc18904483fbd9df409291da4c4e299c8b6cb3e</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 linkage type check to HIR analysis and fix semantics issues.</title>
<updated>2022-12-05T23:05:43+00:00</updated>
<author>
<name>Peter Collingbourne</name>
<email>pcc@google.com</email>
</author>
<published>2022-11-24T02:13:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5873ebeef3a4497c14b4199abba705fe7b530935'/>
<id>urn:sha1:5873ebeef3a4497c14b4199abba705fe7b530935</id>
<content type='text'>
This ensures that the error is printed even for unused variables,
as well as unifying the handling between the LLVM and GCC backends.

This also fixes unusual behavior around exported Rust-defined variables
with linkage attributes. With the previous behavior, it appears to be
impossible to define such a variable such that it can actually be imported
and used by another crate. This is because on the importing side, the
variable is required to be a pointer, but on the exporting side, the
type checker rejects static variables of pointer type because they do
not implement `Sync`. Even if it were possible to import such a type, it
appears that code generation on the importing side would add an unexpected
additional level of pointer indirection, which would break type safety.

This highlighted that the semantics of linkage on Rust-defined variables
is different to linkage on foreign items. As such, we now model the
difference with two different codegen attributes: linkage for Rust-defined
variables, and import_linkage for foreign items.

This change gives semantics to the test
src/test/ui/linkage-attr/auxiliary/def_illtyped_external.rs which was
previously expected to fail to compile. Therefore, convert it into a
test that is expected to successfully compile.

The update to the GCC backend is speculative and untested.
</content>
</entry>
<entry>
<title>fix cranelift and gcc</title>
<updated>2022-11-06T13:17:10+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2022-11-06T13:15:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb4bdb00a4e1d881eaadc6254824bb0631950c5b'/>
<id>urn:sha1:eb4bdb00a4e1d881eaadc6254824bb0631950c5b</id>
<content type='text'>
</content>
</entry>
</feed>
