Skip to content

Commit 158b034

Browse files
committed
Try to fix windows cross compilation.
1 parent 4a66272 commit 158b034

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rust:
77
before_install:
88
- sudo apt-get update
99
- sudo apt-get install mingw-w64
10+
- mkdir -p ~/.cargo/ && echo -e "[target.x86_64-pc-windows-gnu]\nlinker = \"/usr/bin/x86_64-w64-mingw32-gcc\"" >> ~/.cargo/config
1011

1112
script:
1213
- mkdir -p target/x86_64-unknown-linux-musl/release/ && mkdir -p target/x86_64-pc-windows-gnu/release/

0 commit comments

Comments
 (0)