<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_target/src, branch 1.71.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.71.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.71.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-05-26T06:24:07+00:00</updated>
<entry>
<title>Rollup merge of #111384 - bmisiak:issue-106021-fix, r=petrochenkov</title>
<updated>2023-05-26T06:24:07+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-05-26T06:24:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42c7b8a7de4a90d9d040f7132403d49bc6783032'/>
<id>urn:sha1:42c7b8a7de4a90d9d040f7132403d49bc6783032</id>
<content type='text'>
Fix linking Mac Catalyst by including LC_BUILD_VERSION in object files

Hello. My first rustc PR!

Issue #106021 prevents Rust code from being linked into Mac Catalyst applications. Apple's LD has started requiring object files to contain version information about the platform they were built for, such as:
* the "deployment target" (minimum supported OS version),
* the SDK version
* the type of the platform (macOS/iOS/catalyst/tvOS/watchOS all have a different number).

This is currently only enforced when building for Mac Catalyst.

Rust uses the `object` crate which added support for including this information starting with `0.31.0`. ~~I upgraded it along with `thorin-dwp` so that everything depends on 0.31.
Apparently 0.31 [pulls in](https://github.com/gimli-rs/object/issues/463) `ruzstd` due to a [new ELF standard](https://maskray.me/blog/2022-09-09-zstd-compressed-debug-sections) because its `compression` feature is enabled by thorin. If you find this objectionable, let me know what the best way to avoid pulling in those dependencies might be.~~

**(`object` upgraded in https://github.com/rust-lang/rust/pull/111413)**

I then added two commits:
* The first one adds very basic, hard-coded support for calling `set_macho_build_version` for `-macabi` (Catalyst) targets, where it claims deployment target of Catalyst 14.0 and SDK of 16.2.
* The second weaves the versioning through `rust_target::spec::TargetOptions`, so that we can stick to specifying all target-related info in one place.

Kudos to ``@ara4n`` for writing [this gist](https://gist.github.com/ara4n/320a53ea768aba51afad4c9ed2168536).
</content>
</entry>
<entry>
<title>Mac Catalyst: specify 14.0 deployment taregt in llvm_target</title>
<updated>2023-05-25T18:24:00+00:00</updated>
<author>
<name>Brian M</name>
<email>bmisiak@me.com</email>
</author>
<published>2023-05-25T18:24:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a61f026182cb0fa5830156b0ef29c28bc4ccfe99'/>
<id>urn:sha1:a61f026182cb0fa5830156b0ef29c28bc4ccfe99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #111933 - matthiaskrgr:rollup-m10k3ts, r=matthiaskrgr</title>
<updated>2023-05-25T06:02:11+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-05-25T06:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b011b7b7e5d1a1737aa3337f01b79fd5f56cf04'/>
<id>urn:sha1:0b011b7b7e5d1a1737aa3337f01b79fd5f56cf04</id>
<content type='text'>
Rollup of 4 pull requests

Successful merges:

 - #95198 (Add slice::{split_,}{first,last}_chunk{,_mut})
 - #109899 (Use apple-m1 as target CPU for aarch64-apple-darwin.)
 - #111624 (Emit diagnostic for privately uninhabited uncovered witnesses.)
 - #111875 (Don't leak the function that is called on drop)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Rollup merge of #109899 - daxpedda:patch-1, r=jackh726</title>
<updated>2023-05-25T06:01:07+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-05-25T06:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87bb7d8ac78e5c110f8f9bcf6fe96f634445eafd'/>
<id>urn:sha1:87bb7d8ac78e5c110f8f9bcf6fe96f634445eafd</id>
<content type='text'>
Use apple-m1 as target CPU for aarch64-apple-darwin.

This updates the target CPU for the `aarch64-apple-darwin` target to `apple-m1`, which is the first generation of CPUs with this target anyway.

This wasn't able to be done before because of the minimum supported version of LLVM being 12, now that it was updated to 13 (in fact we are already at 14), this is available.

See previous update: https://github.com/rust-lang/rust/pull/90478.
See LLVM update: https://github.com/rust-lang/rust/pull/100460.
</content>
</entry>
<entry>
<title>Enable sanitizers and profiler for aarch64-unknown-linux-musl</title>
<updated>2023-05-22T21:13:23+00:00</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2023-05-15T02:41:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12fd46d69168deb60bf7751dcb587115d4545ec6'/>
<id>urn:sha1:12fd46d69168deb60bf7751dcb587115d4545ec6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>asm: loongarch64: Drop efiapi</title>
<updated>2023-05-12T09:22:47+00:00</updated>
<author>
<name>WANG Rui</name>
<email>wangrui@loongson.cn</email>
</author>
<published>2023-05-12T09:22:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d58863fe43ee9f0c9a750178950415299e1b8335'/>
<id>urn:sha1:d58863fe43ee9f0c9a750178950415299e1b8335</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #111375 - rcvalle:rust-cfi-fix-106547, r=bjorn3</title>
<updated>2023-05-12T00:43:07+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-05-12T00:43:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=691a5f388396d4cad18421dba55ac770f7e7a7f9'/>
<id>urn:sha1:691a5f388396d4cad18421dba55ac770f7e7a7f9</id>
<content type='text'>
CFI: Fix SIGILL reached via trait objects

Fix #106547 by transforming the concrete self into a reference to a trait object before emitting type metadata identifiers for trait methods.
</content>
</entry>
<entry>
<title>CFI: Fix SIGILL reached via trait objects</title>
<updated>2023-05-09T20:04:19+00:00</updated>
<author>
<name>Ramon de C Valle</name>
<email>rcvalle@users.noreply.github.com</email>
</author>
<published>2023-05-03T22:22:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c7b22e62cd3aa34ef60ec98b145258caa55261f'/>
<id>urn:sha1:7c7b22e62cd3aa34ef60ec98b145258caa55261f</id>
<content type='text'>
Fix #106547 by transforming the concrete self into a reference to a
trait object before emitting type metadata identifiers for trait
methods.
</content>
</entry>
<entry>
<title>Rollup merge of #111332 - loongarch-rs:inline-asm, r=Amanieu</title>
<updated>2023-05-08T10:41:51+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2023-05-08T10:41:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a8adcc966f0c7ec75460d99ef6966fa4e3c7825'/>
<id>urn:sha1:2a8adcc966f0c7ec75460d99ef6966fa4e3c7825</id>
<content type='text'>
Improve inline asm for LoongArch

This PR is a sub-part of https://github.com/rust-lang/rust/pull/111235, to improve inline asm for LoongArch.

r? `@Amanieu`
</content>
</entry>
<entry>
<title>Rollup merge of #110638 - nikarh:vita, r=Mark-Simulacrum</title>
<updated>2023-05-08T10:41:49+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2023-05-08T10:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4df84a1e4e841045d4ff8a328d1054e4f02101c1'/>
<id>urn:sha1:4df84a1e4e841045d4ff8a328d1054e4f02101c1</id>
<content type='text'>
STD support for PSVita

This PR adds std support for `armv7-sony-vita-newlibeabihf` target.

The work here is fairly similar to #95897, just for a different target platform.

This depends on the following pull requests:

rust-lang/backtrace-rs#523
rust-lang/libc#3209
</content>
</entry>
</feed>
