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"]