Skip to content

Commit 359a79c

Browse files
authored
Bump to Zig 0.16 (#24)
#### Problem This repo is still on Zig 0.15, but 0.16 is out. #### Summary of changes Bump all dependencies, nothing else needed for once!
1 parent 4589040 commit 359a79c

6 files changed

Lines changed: 13 additions & 31 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- 'main'
1010

1111
env:
12-
SOLANA_ZIG_VERSION: v1.52.0
12+
SOLANA_ZIG_VERSION: v1.53.0
1313
SOLANA_ZIG_DIR: solana-zig
1414

1515
jobs:
@@ -75,10 +75,6 @@ jobs:
7575
echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
7676
echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
7777
78-
- name: Install build deps
79-
shell: bash
80-
run: ./program-test/install-build-deps.sh
81-
8278
- name: Build and test program
8379
shell: bash
8480
run: ./program-test/test.sh

build.zig.zon

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.{
22
.fingerprint = 0xdc47aff950fd68c0,
33
.name = .solana_program_sdk,
4-
.version = "0.17.1",
5-
.minimum_zig_version = "0.15.0",
4+
.version = "0.18.0",
5+
.minimum_zig_version = "0.16.0",
66

77
// This field is optional.
88
// Each dependency must either provide a `url` and `hash`, or a `path`.
@@ -11,8 +11,8 @@
1111
// internet connectivity.
1212
.dependencies = .{
1313
.base58 = .{
14-
.url = "https://github.com/joncinque/base58-zig/archive/refs/tags/v0.15.0.tar.gz",
15-
.hash = "base58-0.15.0-6-CZmwVpAAAxqof6REya9G_XyHL1fTqUsAcsZ-J1IHMF",
14+
.url = "https://github.com/joncinque/base58-zig/archive/refs/tags/v0.16.0.tar.gz",
15+
.hash = "base58-0.16.0-6-CZm3FpAADsdYOBJ_MQ6qePc0Lv4fX6fTRgebI62rwO",
1616
},
1717
},
1818
.paths = .{

install-solana-zig.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
if [[ -n $SOLANA_ZIG_VERSION ]]; then
44
solana_zig_version="$SOLANA_ZIG_VERSION"
55
else
6-
solana_zig_version="v1.52.0"
6+
solana_zig_version="v1.53.0"
77
fi
88
solana_zig_release_url="https://github.com/joncinque/solana-zig-bootstrap/releases/download/solana-$solana_zig_version"
99

program-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Solana-SDK Zig Program Test"
44
edition = "2021"
55
license = "Apache-2.0"
66
name = "solana-sdk-zig-program-test"
7-
repository = "https://github.com/joncinque/solana-sdk-zig"
7+
repository = "https://github.com/joncinque/solana-program-sdk-zig"
88
version = "0.0.1"
99

1010
[dev-dependencies]

program-test/build.zig.zon

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.{
22
.fingerprint = 0x8d2e243edb223d6c,
33
.name = .solana_program_sdk_test,
4-
.version = "0.15.0",
5-
.minimum_zig_version = "0.15.0",
4+
.version = "0.16.0",
5+
.minimum_zig_version = "0.16.0",
66
.dependencies = .{
77
.base58 = .{
8-
.url = "https://github.com/joncinque/base58-zig/archive/refs/tags/v0.15.0.tar.gz",
9-
.hash = "base58-0.15.0-6-CZmwVpAAAxqof6REya9G_XyHL1fTqUsAcsZ-J1IHMF",
8+
.url = "https://github.com/joncinque/base58-zig/archive/refs/tags/v0.16.0.tar.gz",
9+
.hash = "base58-0.16.0-6-CZm3FpAADsdYOBJ_MQ6qePc0Lv4fX6fTRgebI62rwO",
1010
},
1111
.clap = .{
12-
.url = "https://github.com/Hejsil/zig-clap/archive/refs/tags/0.11.0.tar.gz",
13-
.hash = "clap-0.11.0-oBajB-HnAQDPCKYzwF7rO3qDFwRcD39Q0DALlTSz5H7e",
12+
.url = "https://github.com/Hejsil/zig-clap/archive/refs/tags/0.12.0.tar.gz",
13+
.hash = "clap-0.12.0-oBajB7foAQDqlSwaSG5g0yq7xGbQARUsBk5T64gAOqP5",
1414
},
1515
.solana_program_sdk = .{
1616
.path = "..",

program-test/install-build-deps.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)