Skip to content

Commit 7c82ea8

Browse files
committed
Update for #[target_feature] 1.1
target_features_11 was stabilized in 1.86 and allows safe functions to be marked with #[target_feature], simplifying the multiversion macro by removing the set of tt rules used to parse function definitions to inject the unsafe keyword and block. In 1.87 architecture intrinsics that don't use raw pointers were made safe, allowing the removal of unsafe blocks in the SIMD implementations from the non-trait functions (trait implementations can't be marked with #[target_feature]).
1 parent c697f69 commit 7c82ea8

File tree

5 files changed

+87
-91
lines changed

5 files changed

+87
-91
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition = "2024"
1010
license = "MIT"
1111
publish = false
1212
repository = "https://github.com/ictrobot/aoc-rs"
13-
rust-version = "1.86.0"
13+
rust-version = "1.87.0"
1414

1515
[workspace.lints.clippy]
1616
pedantic = { level = "warn", priority = -1 }

0 commit comments

Comments
 (0)