Skip to content

Commit 02e977f

Browse files
authored
feat: update to LLVM 19 (#310)
1 parent 749e601 commit 02e977f

15 files changed

Lines changed: 114 additions & 126 deletions

File tree

.cargo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ rustflags = [
2020
linker = "rust-lld"
2121

2222
[target.aarch64-unknown-linux-musl.compiler-rt-zksolc]
23-
rustc-link-search = ["./target-llvm/target-host/lib/clang/17/lib/aarch64-unknown-linux-musl"]
23+
rustc-link-search = ["./target-llvm/target-host/lib/clang/19/lib/aarch64-unknown-linux-musl"]
2424
rustc-link-lib = ["clang_rt.builtins"]
2525

2626
[profile.release]
2727
strip = true
2828

2929
[env]
30-
LLVM_SYS_170_PREFIX = { value = "./target-llvm/target-final/", relative = true, force = false }
30+
LLVM_SYS_191_PREFIX = { value = "./target-llvm/target-final/", relative = true, force = false }
3131

3232
[tools.clippy]
3333
warn = [

.github/workflows/ccache-regen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
repository: 'llvm/llvm-project'
7979
path: 'llvm-host'
80-
ref: 'llvmorg-17.0.6'
80+
ref: 'llvmorg-19.1.7'
8181
fetch-depth: '1'
8282

8383
- name: Prepare Windows env

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
with:
128128
repository: 'llvm/llvm-project'
129129
path: 'llvm-host'
130-
ref: 'llvmorg-17.0.6'
130+
ref: 'llvmorg-19.1.7'
131131
fetch-depth: '1'
132132

133133
- name: Prepare Windows env

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
with:
101101
repository: 'llvm/llvm-project'
102102
path: 'llvm-host'
103-
ref: 'llvmorg-17.0.6'
103+
ref: 'llvmorg-19.1.7'
104104
fetch-depth: '1'
105105

106106
- name: Prepare Windows env

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[submodule "llvm"]
22
path = llvm
33
url = https://github.com/matter-labs/era-compiler-llvm
4-
branch = main
4+
branch = dborisenkov-llvm19
55
update = none

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# The `zksolc` changelog
22

3+
## [Unreleased]
4+
5+
### Changed
6+
7+
- Updated to LLVM v19.1
8+
- Updated to Rust v1.86.0
9+
310
## [1.5.13] - 2025-04-07
411

512
### Added
@@ -270,7 +277,7 @@
270277

271278
### Changed
272279

273-
- Updated to LLVM 17
280+
- Updated to LLVM v17.0
274281

275282
### Fixed
276283

0 commit comments

Comments
 (0)