Skip to content

Commit

Permalink
Rustup to rustc 1.73.0-nightly (03a119b0b 2023-08-07)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Aug 9, 2023
1 parent 8298811 commit 3deb6c6
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/mini_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
thread_local
)]
#![no_core]
#![allow(dead_code)]
#![allow(dead_code, internal_features)]

#[lang = "sized"]
pub trait Sized {}
Expand Down
2 changes: 1 addition & 1 deletion example/mini_core_hello_world.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local, repr_simd)]
#![no_core]
#![allow(dead_code, non_camel_case_types)]
#![allow(dead_code, non_camel_case_types, internal_features)]

extern crate mini_core;

Expand Down
24 changes: 24 additions & 0 deletions patches/0001-portable-simd-Allow-internal-features.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From fcf75306d88e533b83eaff3f8d0ab9f307e8a84d Mon Sep 17 00:00:00 2001
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Date: Wed, 9 Aug 2023 10:01:17 +0000
Subject: [PATCH] Allow internal features

---
crates/core_simd/src/lib.rs | 1 +
1 file changed, 1 insertion(+)

diff --git a/crates/core_simd/src/lib.rs b/crates/core_simd/src/lib.rs
index fde406b..b386116 100644
--- a/crates/core_simd/src/lib.rs
+++ b/crates/core_simd/src/lib.rs
@@ -19,6 +19,7 @@
#![warn(missing_docs, clippy::missing_inline_in_public_items)] // basically all items, really
#![deny(unsafe_op_in_unsafe_fn, clippy::undocumented_unsafe_blocks)]
#![unstable(feature = "portable_simd", issue = "86656")]
+#![allow(internal_features)]
//! Portable SIMD module.

#[path = "mod.rs"]
--
2.34.1

4 changes: 2 additions & 2 deletions patches/stdlib-lock.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ dependencies = [

[[package]]
name = "compiler_builtins"
version = "0.1.95"
version = "0.1.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6866e0f3638013234db3c89ead7a14d278354338e7237257407500009012b23f"
checksum = "d6c0f24437059853f0fa64afc51f338f93647a3de4cf3358ba1bb4171a199775"
dependencies = [
"cc",
"rustc-std-workspace-core",
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-07-22"
channel = "nightly-2023-08-08"
components = ["rust-src", "rustc-dev", "llvm-tools"]

0 comments on commit 3deb6c6

Please sign in to comment.