Skip to content

Commit 8d95361

Browse files
authored
Fix parsing bug when --cfg doc_cfg is passed on aarch64 (#2597)
Release 0.8.26. Closes #2594 gherrit-pr-id: Ifc7e078cd78e57767e884923d6142557c3e8f843
1 parent 44061e3 commit 8d95361

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[package]
1616
edition = "2021"
1717
name = "zerocopy"
18-
version = "0.8.26-alpha"
18+
version = "0.8.26"
1919
authors = ["Joshua Liebow-Feeser <[email protected]>", "Jack Wrenn <[email protected]>"]
2020
description = "Zerocopy makes zero-cost memory manipulation effortless. We write \"unsafe\" so you don't have to."
2121
categories = ["embedded", "encoding", "no-std::no-alloc", "parsing", "rust-patterns"]
@@ -82,13 +82,13 @@ std = ["alloc"]
8282
__internal_use_only_features_that_work_on_stable = ["alloc", "derive", "simd", "std"]
8383

8484
[dependencies]
85-
zerocopy-derive = { version = "=0.8.26-alpha", path = "zerocopy-derive", optional = true }
85+
zerocopy-derive = { version = "=0.8.26", path = "zerocopy-derive", optional = true }
8686

8787
# The "associated proc macro pattern" ensures that the versions of zerocopy and
8888
# zerocopy-derive remain equal, even if the 'derive' feature isn't used.
8989
# See: https://github.com/matklad/macro-dep-test
9090
[target.'cfg(any())'.dependencies]
91-
zerocopy-derive = { version = "=0.8.26-alpha", path = "zerocopy-derive" }
91+
zerocopy-derive = { version = "=0.8.26", path = "zerocopy-derive" }
9292

9393
[dev-dependencies]
9494
# More recent versions of `either` have an MSRV higher than ours.
@@ -106,4 +106,4 @@ testutil = { path = "testutil" }
106106
# CI test failures.
107107
trybuild = { version = "=1.0.89", features = ["diff"] }
108108
# In tests, unlike in production, zerocopy-derive is not optional
109-
zerocopy-derive = { version = "=0.8.26-alpha", path = "zerocopy-derive" }
109+
zerocopy-derive = { version = "=0.8.26", path = "zerocopy-derive" }

src/impls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,11 +1050,11 @@ mod simd {
10501050
#[cfg(all(feature = "simd-nightly", target_arch = "powerpc64"))]
10511051
powerpc64, powerpc64, vector_bool_long, vector_double, vector_signed_long, vector_unsigned_long
10521052
);
1053+
#[cfg(zerocopy_aarch64_simd_1_59_0)]
10531054
simd_arch_mod!(
10541055
// NOTE(https://github.com/rust-lang/stdarch/issues/1484): NEON intrinsics are currently
10551056
// broken on big-endian platforms.
10561057
#[cfg(all(target_arch = "aarch64", target_endian = "little"))]
1057-
#[cfg(zerocopy_aarch64_simd_1_59_0)]
10581058
#[cfg_attr(doc_cfg, doc(cfg(rust = "1.59.0")))]
10591059
aarch64, aarch64, float32x2_t, float32x4_t, float64x1_t, float64x2_t, int8x8_t, int8x8x2_t,
10601060
int8x8x3_t, int8x8x4_t, int8x16_t, int8x16x2_t, int8x16x3_t, int8x16x4_t, int16x4_t,

zerocopy-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[package]
1010
edition = "2021"
1111
name = "zerocopy-derive"
12-
version = "0.8.26-alpha"
12+
version = "0.8.26"
1313
authors = ["Joshua Liebow-Feeser <[email protected]>", "Jack Wrenn <[email protected]>"]
1414
description = "Custom derive for traits from the zerocopy crate"
1515
license = "BSD-2-Clause OR Apache-2.0 OR MIT"

0 commit comments

Comments
 (0)