Skip to content

Commit 469d11c

Browse files
lang: Fix bytemuck_derive build error (solana-foundation#3610)
1 parent fb245f6 commit 469d11c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lang/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,8 @@ borsh = "0.10.3"
5858
bytemuck = "1"
5959
solana-program = "2"
6060
thiserror = "1"
61+
62+
# v1.9 specifies `rust-version = "1.84"`, which causes compatibility issues with Solana build
63+
# tools' Rust version (1.79.0 at the time of writing this comment).
64+
# TODO: Remove when the Solana version we use comes with Rust version >= 1.84
65+
bytemuck_derive = ">1.0.0, <1.9"

0 commit comments

Comments
 (0)