From 6bc99ba11271b8cd67fd48801b02c33e2e88871f Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Thu, 30 Nov 2023 18:03:34 -0600 Subject: fix(cargo): add config options for using mingw --- cargo/.local/share/cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cargo/.local/share') diff --git a/cargo/.local/share/cargo/config.toml b/cargo/.local/share/cargo/config.toml index 70f9eae..25d5215 100644 --- a/cargo/.local/share/cargo/config.toml +++ b/cargo/.local/share/cargo/config.toml @@ -1,2 +1,6 @@ [registries.crates-io] protocol = "sparse" + +[target.x86_64-pc-windows-gnu] +linker = "/usr/bin/x86_64-w64-mingw32-gcc" +ar = "/usr/bin/x86_64-w64-mingw32-ar" -- cgit v1.2.3-70-g09d2