Skip to content

Commit dbbed7d

Browse files
committed
version bump with cross compilation
1 parent 9bf74a3 commit dbbed7d

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT"
99
readme = "README.md"
1010
repository = "https://github.com/warlock-labs/sylow.git"
1111
name = "sylow"
12-
version = "0.1.0"
12+
version = "0.2.0"
1313
edition = "2021"
1414
rust-version = "1.83.0"
1515

Cross.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.x86_64-unknown-linux-gnu]
2+
dockerfile = "local.dockerfile"

local.dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM --platform=linux/amd64 ghcr.io/cross-rs/x86_64-unknown-linux-gnu:latest
2+
3+
RUN apt-get update && \
4+
apt-get install --assume-yes dpkg-dev && \
5+
dpkg --add-architecture amd64 && \
6+
apt-get update && \
7+
apt-get install --assume-yes pkg-config libsodium-dev:amd64 gcc-multilib && \
8+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
9+
. $HOME/.cargo/env && cargo install cargo-llvm-cov --locked

0 commit comments

Comments
 (0)