File tree 4 files changed +8
-14
lines changed
4 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 11
11
with :
12
12
submodules : true
13
13
14
- - name : Install Rust Nightly
15
- uses : dtolnay/rust-toolchain@stable
16
- with :
17
- toolchain : nightly-2024-05-18
18
- components : rust-src
19
-
20
14
- name : Build binary x64
21
15
run : bash tool/build_linux.sh x64
22
16
Original file line number Diff line number Diff line change 11
11
with :
12
12
submodules : true
13
13
14
- - name : Install Rust Nightly
15
- uses : dtolnay/rust-toolchain@stable
16
- with :
17
- toolchain : nightly-2024-05-18
18
- components : rust-src
19
-
20
14
- name : Build binary
21
15
run : bash tool/build_windows.sh x64
22
16
Original file line number Diff line number Diff line change 1
1
if [ " $1 " = " x64" ]; then
2
+ rustup toolchain install nightly-2024-05-18-x86_64-unknown-linux-gnu
3
+ rustup component add rust-src --toolchain nightly-2024-05-18-x86_64-unknown-linux-gnu
2
4
rustup target add target x86_64-unknown-linux-gnu
3
5
cargo build -p powersync_loadable --release
4
6
mv " target/release/libpowersync.so" " libpowersync_x64.so"
5
7
else
6
- rustup target remove x86_64-unknown-linux-gnu
8
+ rustup toolchain install nightly-2024-05-18-aarch64-unknown-linux-gnu
9
+ rustup component add rust-src --toolchain nightly-2024-05-18-aarch64-unknown-linux-gnu
7
10
rustup target add aarch64-unknown-linux-gnu
8
11
cargo build -p powersync_loadable --release
9
12
mv " target/release/libpowersync.so" " libpowersync_aarch64.so"
Original file line number Diff line number Diff line change 1
1
if [ " $1 " = " x64" ]; then
2
+ rustup toolchain install nightly-2024-05-18-x86_64-pc-windows-msvc
3
+ rustup component add rust-src --toolchain nightly-2024-05-18-x86_64-pc-windows-msvc
2
4
rustup target add x86_64-pc-windows-msvc
3
5
cargo build -p powersync_loadable --release
4
6
mv " target/release/powersync.dll" " powersync_x64.dll"
5
7
else
6
- rustup target remove x86_64-pc-windows-msvc
8
+ rustup toolchain install nightly-2024-05-18-aarch64-pc-windows-msvc
9
+ rustup component add rust-src --toolchain nightly-2024-05-18-aarch64-pc-windows-msvc
7
10
rustup target add aarch64-pc-windows-msvc
8
11
cargo build -p powersync_loadable --release
9
12
mv " target/release/powersync.dll" " powersync_aarch64.dll"
You can’t perform that action at this time.
0 commit comments