Skip to content

Commit 674e1b2

Browse files
committed
new: cross compilation file
1 parent fef45ab commit 674e1b2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Cross.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[build]
2+
build-std = false
3+
xargo = false
4+
zig = false
5+
default-target = "x86_64-unknown-linux-gnu"
6+
pre-build = [
7+
"dpkg --add-architecture $CROSS_DEB_ARCH",
8+
"apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH libsmbclient-dev:$CROSS_DEB_ARCH cmake git",
9+
]

0 commit comments

Comments
 (0)