forked from Aurorastation/rust-g
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup cross compiling using the cross project (tgstation#70)
- Loading branch information
1 parent
efc88c0
commit dc43630
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[target.i686-pc-windows-gnu] | ||
image = "rustembedded/cross:i686-pc-windows-gnu" | ||
|
||
[target.i686-unknown-linux-gnu] | ||
image = "rustg/i686-unknown-linux-gnu" | ||
|
||
[build.env] | ||
passthrough = [ | ||
"PKG_CONFIG_ALLOW_CROSS" | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM rustembedded/cross:i686-unknown-linux-gnu | ||
|
||
RUN dpkg --add-architecture i386 && \ | ||
apt-get update && \ | ||
apt-get install --assume-yes zlib1g-dev:i386 libssl-dev:i386 pkg-config:i386 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters