forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#119117 - bjorn3:sync_cg_clif-2023-12-19, r=bj…
…orn3 Subtree sync for rustc_codegen_cranelift The main highlight is a couple of fixes around size, alignment and field offset computations for foreign and packed unsized types. As well as a fix for the signature of simd_scatter which a recent PR accidentally messed up. r? `@ghost` `@rustbot` label +A-codegen +A-cranelift +T-compiler
- Loading branch information
Showing
13 changed files
with
225 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
..._codegen_cranelift/patches/0001-portable-simd-Enable-the-exposed_provenance-feature.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From a101a43b795431ce617e7782afb451f4853afc00 Mon Sep 17 00:00:00 2001 | ||
From: bjorn3 <[email protected]> | ||
Date: Thu, 7 Dec 2023 14:51:35 +0000 | ||
Subject: [PATCH] Enable the exposed_provenance feature | ||
|
||
--- | ||
crates/core_simd/tests/pointers.rs | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/crates/core_simd/tests/pointers.rs b/crates/core_simd/tests/pointers.rs | ||
index 0ae8f83..06620d6 100644 | ||
--- a/crates/core_simd/tests/pointers.rs | ||
+++ b/crates/core_simd/tests/pointers.rs | ||
@@ -1,4 +1,4 @@ | ||
-#![feature(portable_simd, strict_provenance)] | ||
+#![feature(exposed_provenance, portable_simd, strict_provenance)] | ||
|
||
use core_simd::simd::{Simd, SimdConstPtr, SimdMutPtr}; | ||
|
||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[toolchain] | ||
channel = "nightly-2023-11-25" | ||
channel = "nightly-2023-12-19" | ||
components = ["rust-src", "rustc-dev", "llvm-tools"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.