Skip to content

Update all stdarch crates to Rust 2024 #1710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Use `git config blame.ignorerevsfile .git-blame-ignore-revs` to make `git blame` ignore the following commits.

# format with style edition 2024
fc87bd98d689590a0b6f5ee4110c5b9f962faa66
2 changes: 1 addition & 1 deletion crates/assert-instr-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "assert-instr-macro"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2021"
edition = "2024"

[lib]
proc-macro = true
Expand Down
6 changes: 3 additions & 3 deletions crates/assert-instr-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub fn assert_instr(
quote! {
#attrs
#maybe_allow_deprecated
#[no_mangle]
#[unsafe(no_mangle)]
#[inline(never)]
pub unsafe extern #abi fn #shim_name(#(#inputs),*) #ret {
#name::<#(#const_vals),*>(#(#input_vals),*)
Expand All @@ -156,7 +156,7 @@ pub fn assert_instr(

#attrs
#maybe_allow_deprecated
#[no_mangle]
#[unsafe(no_mangle)]
#[inline(never)]
pub unsafe extern #abi fn #shim_name(#(#inputs),*) #ret {
// The compiler in optimized mode by default runs a pass called
Expand Down Expand Up @@ -202,7 +202,7 @@ struct Invoc {

impl syn::parse::Parse for Invoc {
fn parse(input: syn::parse::ParseStream<'_>) -> syn::Result<Self> {
use syn::{ext::IdentExt, Token};
use syn::{Token, ext::IdentExt};

let mut instr = String::new();
while !input.is_empty() {
Expand Down
2 changes: 1 addition & 1 deletion crates/core_arch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
keywords = ["core", "simd", "arch", "intrinsics"]
categories = ["hardware-support", "no-std"]
license = "MIT OR Apache-2.0"
edition = "2021"
edition = "2024"

[badges]
is-it-maintained-issue-resolution = { repository = "rust-lang/stdarch" }
Expand Down
2 changes: 1 addition & 1 deletion crates/core_arch/src/aarch64/mte.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! [ACLE documentation](https://arm-software.github.io/acle/main/acle.html#markdown-toc-mte-intrinsics)

extern "unadjusted" {
unsafe extern "unadjusted" {
#[cfg_attr(
any(target_arch = "aarch64", target_arch = "arm64ec"),
link_name = "llvm.aarch64.irg"
Expand Down
696 changes: 348 additions & 348 deletions crates/core_arch/src/aarch64/neon/generated.rs

Large diffs are not rendered by default.

Loading