<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/rust.git/compiler/rustc_codegen_ssa/src/back, branch master</title>
<subtitle>github.com: rust-lang/rust.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/'/>
<entry>
<title>Rollup merge of #110145 - WaffleLapkin:share_slice_of_bytes, r=Nilstrieb</title>
<updated>2023-05-17T05:43:55+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2023-05-17T05:43:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=2a5c4baf68ef935be5948c86934aa7519e663704'/>
<id>2a5c4baf68ef935be5948c86934aa7519e663704</id>
<content type='text'>
Share slice of bytes

r? `@Nilstrieb`
cc `@noamtashma`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Share slice of bytes

r? `@Nilstrieb`
cc `@noamtashma`
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove `MetadataRef` type alias</title>
<updated>2023-05-16T11:55:47+00:00</updated>
<author>
<name>Maybe Waffle</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2023-04-10T15:30:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=e39d61cbf3ae855801f7a2a494ce1033a00610d2'/>
<id>e39d61cbf3ae855801f7a2a494ce1033a00610d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move expansion of query macros in rustc_middle to rustc_middle::query</title>
<updated>2023-05-15T06:49:13+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-05-15T04:24:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=fff20a703db364d8b91c14cef4779f5e632df191'/>
<id>fff20a703db364d8b91c14cef4779f5e632df191</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #106560 - bjorn3:support_staticlib_dylib_linking, r=pnkfelix</title>
<updated>2023-05-10T03:40:40+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-05-10T03:40:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=63fc57b98eea5d6d84f1ccc4dbfcb12d58ad430b'/>
<id>63fc57b98eea5d6d84f1ccc4dbfcb12d58ad430b</id>
<content type='text'>
Support linking to rust dylib with --crate-type staticlib

This allows for example dynamically linking libstd, while statically linking the user crate into an executable or C dynamic library. For this two unstable flags (`-Z staticlib-allow-rdylib-deps` and `-Z staticlib-prefer-dynamic`) are introduced. Without the former you get an error. The latter is the equivalent to `-C prefer-dynamic` for the staticlib crate type to indicate that dynamically linking is preferred when both options are available, like for libstd. Care must be taken to ensure that no crate ends up being merged into two distinct staticlibs that are linked together. Doing so will cause a linker error at best and undefined behavior at worst. In addition two distinct staticlibs compiled by different rustc may not be combined under any circumstances due to some rustc private symbols not being mangled.

To successfully link a staticlib, `--print native-static-libs` can be used while compiling to ask rustc for the linker flags necessary when linking the staticlib. This is an existing flag which previously only listed native libraries. It has been extended to list rust dylibs too. Trying to locate libstd yourself to link against it is not supported and may break if for example the libstd of multiple rustc versions are put in the same directory.

For an example on how to use this see the `src/test/run-make-fulldeps/staticlib-dylib-linkage/` test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support linking to rust dylib with --crate-type staticlib

This allows for example dynamically linking libstd, while statically linking the user crate into an executable or C dynamic library. For this two unstable flags (`-Z staticlib-allow-rdylib-deps` and `-Z staticlib-prefer-dynamic`) are introduced. Without the former you get an error. The latter is the equivalent to `-C prefer-dynamic` for the staticlib crate type to indicate that dynamically linking is preferred when both options are available, like for libstd. Care must be taken to ensure that no crate ends up being merged into two distinct staticlibs that are linked together. Doing so will cause a linker error at best and undefined behavior at worst. In addition two distinct staticlibs compiled by different rustc may not be combined under any circumstances due to some rustc private symbols not being mangled.

To successfully link a staticlib, `--print native-static-libs` can be used while compiling to ask rustc for the linker flags necessary when linking the staticlib. This is an existing flag which previously only listed native libraries. It has been extended to list rust dylibs too. Trying to locate libstd yourself to link against it is not supported and may break if for example the libstd of multiple rustc versions are put in the same directory.

For an example on how to use this see the `src/test/run-make-fulldeps/staticlib-dylib-linkage/` test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollup merge of #110304 - cchiw:master, r=davidtwco</title>
<updated>2023-05-09T07:03:44+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2023-05-09T07:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=02a85bd038546d040efca42a313e44051b078f9c'/>
<id>02a85bd038546d040efca42a313e44051b078f9c</id>
<content type='text'>
Add GNU Property Note

Fix #103001

Generates the missing property note:
```
Displaying notes found in: .note.gnu.property
  Owner                Data size 	Description
  GNU                  0x00000010	NT_GNU_PROPERTY_TYPE_0	      Properties: x86 feature: IBT
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add GNU Property Note

Fix #103001

Generates the missing property note:
```
Displaying notes found in: .note.gnu.property
  Owner                Data size 	Description
  GNU                  0x00000010	NT_GNU_PROPERTY_TYPE_0	      Properties: x86 feature: IBT
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollup merge of #110985 - Amanieu:normalize_asm_spans, r=b-naber</title>
<updated>2023-05-06T11:30:04+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-05-06T11:30:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=8172ada984b4fa18967f08ce8651f8a8ae817400'/>
<id>8172ada984b4fa18967f08ce8651f8a8ae817400</id>
<content type='text'>
Fix spans in LLVM-generated inline asm errors

Previously, incorrect spans were reported if inline assembly contained CRLF (Windows) line endings.

Fixes #110885
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix spans in LLVM-generated inline asm errors

Previously, incorrect spans were reported if inline assembly contained CRLF (Windows) line endings.

Fixes #110885
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix spans in LLVM-generated inline asm errors</title>
<updated>2023-05-06T08:31:57+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2023-04-29T11:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=bba2a1e07179c59b422e60411813446606b1b7f3'/>
<id>bba2a1e07179c59b422e60411813446606b1b7f3</id>
<content type='text'>
Previously, incorrect spans were reported if inline assembly contained
CRLF (Windows) line endings.

Fixes #110885
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, incorrect spans were reported if inline assembly contained
CRLF (Windows) line endings.

Fixes #110885
</pre>
</div>
</content>
</entry>
<entry>
<title>rewriting match on endianness</title>
<updated>2023-05-05T19:47:00+00:00</updated>
<author>
<name>Charisee</name>
<email>chiw@google.com</email>
</author>
<published>2023-05-05T19:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=37f3e2f4b115b166518a208950ecaaef1434830b'/>
<id>37f3e2f4b115b166518a208950ecaaef1434830b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rewriting match on endianness</title>
<updated>2023-05-05T19:06:14+00:00</updated>
<author>
<name>Charisee</name>
<email>chiw@google.com</email>
</author>
<published>2023-05-05T19:06:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=1fc0442f7e6eaf0848ceb7230df9fe03d4e6630d'/>
<id>1fc0442f7e6eaf0848ceb7230df9fe03d4e6630d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add GNU Property Note</title>
<updated>2023-05-05T18:32:20+00:00</updated>
<author>
<name>Charisee</name>
<email>chiw@google.com</email>
</author>
<published>2023-05-05T18:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/rust.git/commit/?id=68a5bb4de153565d93e084904154439777ad5c31'/>
<id>68a5bb4de153565d93e084904154439777ad5c31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
