diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..8f6c6248b --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,16 @@ +[alias] +docs = "doc --workspace --all-features --no-deps" + +[target.x86_64-pc-windows-msvc] +rustflags = [ + # Increases the stack size to 10MB, which is + # in line with Linux (whereas default for Windows is 1MB) + "-Clink-arg=/STACK:10000000", +] + +[target.i686-pc-windows-msvc] +rustflags = [ + # Increases the stack size to 10MB, which is + # in line with Linux (whereas default for Windows is 1MB) + "-Clink-arg=/STACK:10000000", +] \ No newline at end of file