diff options
| author | Fuwn <[email protected]> | 2021-05-20 02:52:23 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-20 02:52:23 +0000 |
| commit | 7d9400c1348bebf7aea6cb268c316259289637fb (patch) | |
| tree | 17ec80d9141eca782402f530347af20ea65a7162 | |
| parent | refactor(whirl): simplify allocator cfg condition (diff) | |
| download | whirl-7d9400c1348bebf7aea6cb268c316259289637fb.tar.xz whirl-7d9400c1348bebf7aea6cb268c316259289637fb.zip | |
build: mess with cross-compiling settings
| -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"] |