Skip to content

Commit 463f326

Browse files
authored
Merge pull request #253 from Rustmail/252-disable-v0-mangling-from-wasm-bindgen-to-avoid-duplicated-symbols
fix(ci): force rust to use legacy symbol mangling
2 parents 9b77dea + 2c3fb65 commit 463f326

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
3838
- name: Build frontend
3939
working-directory: rustmail_panel
40+
env:
41+
RUSTFLAGS: '-Csymbol-mangling-version=legacy -Zunstable-options'
4042
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
4143

4244
- name: Build Rust backend
@@ -98,6 +100,8 @@ jobs:
98100

99101
- name: Build frontend
100102
working-directory: rustmail_panel
103+
env:
104+
RUSTFLAGS: '-Csymbol-mangling-version=legacy -Zunstable-options'
101105
run: trunk build --release --dist ../rustmail/static --config Trunk.toml
102106

103107
- name: Verify static files were created

0 commit comments

Comments
 (0)