File tree Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Expand file tree Collapse file tree 2 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 9
9
with :
10
10
toolchain : nightly-2025-04-15
11
11
components : rust-src
12
- targets : x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
13
-
12
+ targets : x86_64-pc-windows-msvc,aarch64-pc-windows-msvc,i686-pc-windows-msvc
13
+
14
14
- name : Build binaries
15
15
shell : bash
16
16
run : |
24
24
path : |
25
25
powersync_x64.dll
26
26
powersync_aarch64.dll
27
+ powersync_x86.dll
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -e
3
3
4
- if [ " $1 " = " x64" ]; then
5
- cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target x86_64-pc-windows-msvc
6
- mv " target/x86_64-pc-windows-msvc/release/powersync.dll" " powersync_x64.dll"
7
- else
8
- # Note: aarch64-pc-windows-msvc has not been tested.
9
- cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target aarch64-pc-windows-msvc
10
- mv " target/aarch64-pc-windows-msvc/release/powersync.dll" " powersync_aarch64.dll"
11
- fi
4
+ case " $1 " in
5
+ x64)
6
+ cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target x86_64-pc-windows-msvc
7
+ mv " target/x86_64-pc-windows-msvc/release/powersync.dll" " powersync_x64.dll"
8
+ ;;
9
+ x86)
10
+ cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target i686-pc-windows-msvc
11
+ mv " target/i686-pc-windows-msvc/release/powersync.dll" " powersync_x86.dll"
12
+ ;;
13
+ aarch64)
14
+ cargo build -Z build-std=panic_abort,core,alloc -p powersync_loadable --release --target aarch64-pc-windows-msvc
15
+ mv " target/aarch64-pc-windows-msvc/release/powersync.dll" " powersync_aarch64.dll"
16
+ ;;
17
+ * )
18
+ echo " Unknown architecture"
19
+ exit 1
20
+ ;;
21
+ esac
You can’t perform that action at this time.
0 commit comments