From e3f345052ccd3c2b1e24464bafb80972003f44a1 Mon Sep 17 00:00:00 2001 From: John Doty Date: Sat, 19 Aug 2023 07:56:24 -0700 Subject: [PATCH] [oden] Specify build flags for windows-gnu --- .cargo/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..46f4a7be --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,6 @@ +[target.x86_64-pc-windows-gnu] +# This is required when building with w64devkit, I'm not entirely sure why. +# (I mean, I know WHY: you get errors if you don't. Missing libeh or +# something. But the reason for that error is beyond my ability to care at +# the moment.) +rustflags = ["-C","link-self-contained=true"]