Skip to content

Commit 19d9e95

Browse files
committed
Handle Rust >= 1.91 change to target-pointer-width JSON type
rust-lang/rust#144443
1 parent 92b31b1 commit 19d9e95

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ version = "0.29.0"
2626
authors = ["Jan Bujak <[email protected]>", "Parity Technologies <[email protected]>"]
2727
license = "MIT/Apache-2.0"
2828
edition = "2021"
29-
rust-version = "1.86.0"
29+
rust-version = "1.91.0"
3030
repository = "https://github.com/koute/polkavm"
3131

3232
[workspace.dependencies]

ci/jobs/build-and-test-pallet-revive.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -euo pipefail
44
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
55

6-
rustup toolchain install --component=rust-src 1.88.0
6+
rustup toolchain install --component=rust-src 1.91.0
77

88
POLKAVM_CRATES_ROOT="$(pwd)/proxy-crates"
99

@@ -21,9 +21,9 @@ git fetch --depth=1 origin $COMMIT
2121
git checkout $COMMIT
2222

2323
echo '[toolchain]' > rust-toolchain.toml
24-
echo 'channel = "1.88.0"' >> rust-toolchain.toml
24+
echo 'channel = "1.91.0"' >> rust-toolchain.toml
2525

26-
PALLET_REVIVE_FIXTURES_RUSTUP_TOOLCHAIN=1.88.0 \
26+
PALLET_REVIVE_FIXTURES_RUSTUP_TOOLCHAIN=1.91.0 \
2727
PALLET_REVIVE_FIXTURES_STRIP=0 \
2828
PALLET_REVIVE_FIXTURES_OPTIMIZE=1 \
2929
cargo test \

crates/polkavm-linker/riscv32emac-unknown-none-polkavm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"max-atomic-width": 64,
1414
"panic-strategy": "abort",
1515
"relocation-model": "pie",
16-
"target-pointer-width": "32",
16+
"target-pointer-width": 32,
1717
"singlethread": true,
1818
"pre-link-args": {
1919
"ld": [

crates/polkavm-linker/riscv64emac-unknown-none-polkavm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"max-atomic-width": 64,
1414
"panic-strategy": "abort",
1515
"relocation-model": "pie",
16-
"target-pointer-width": "64",
16+
"target-pointer-width": 64,
1717
"singlethread": true,
1818
"pre-link-args": {
1919
"ld": [

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.86.0"
2+
channel = "1.91.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.86.0"
2+
channel = "1.91.0"

tools/gastool/rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.86.0"
2+
channel = "1.91.0"

0 commit comments

Comments
 (0)