diff --git a/rust/onnxruntime-sys/.cargo.config b/rust/onnxruntime-sys/.cargo.config new file mode 100644 index 0000000000000..ba321231fc560 --- /dev/null +++ b/rust/onnxruntime-sys/.cargo.config @@ -0,0 +1,5 @@ +[target.x86_64-pc-windows-msvc] +rustflags = ["-Ctarget-feature=+crt-static"] + +[target.i686-pc-windows-msvc] +rustflags = ["-Ctarget-feature=+crt-static"]