diff options
| author | Fuwn <[email protected]> | 2021-05-20 02:52:23 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-20 02:52:23 -0700 |
| commit | f70148578395d72d01744735f1feb0fa5f2d9ed5 (patch) | |
| tree | e86e0510c3b4713b61847086881fd5b9d3133a57 /.cargo | |
| parent | refactor(whirl): simplify allocator cfg condition (diff) | |
| download | whirl-f70148578395d72d01744735f1feb0fa5f2d9ed5.tar.xz whirl-f70148578395d72d01744735f1feb0fa5f2d9ed5.zip | |
build: mess with cross-compiling settings
Diffstat (limited to '.cargo')
| -rw-r--r-- | .cargo/config.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 856d60d..03fcedf 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,3 +2,8 @@ # compile on some machines, it's up to you how you handle this. #[build] #rustflags = ["-Ctarget-cpu=native"] + +[target.x86_64-pc-windows-gnu] +linker = "x86_64-w64-mingw-gcc" +ar = "x86_64-w64-mingw-gcc-ar" +rustflags = ["-C", "target-feature=+crt-static"] |