From 440250c05498e3bfc8682e91476dc6e0e3a79429 Mon Sep 17 00:00:00 2001 From: Kayla Washburn Date: Mon, 27 Jun 2022 10:01:20 -0600 Subject: chore: rename .cargo/config to .cargo/config.toml (#14959) --- .cargo/config | 14 -------------- .cargo/config.toml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 .cargo/config create mode 100644 .cargo/config.toml diff --git a/.cargo/config b/.cargo/config deleted file mode 100644 index bb2ccd68b..000000000 --- a/.cargo/config +++ /dev/null @@ -1,14 +0,0 @@ -[target.x86_64-pc-windows-msvc] -rustflags = ["-C", "target-feature=+crt-static"] - -[target.'cfg(all(windows, debug_assertions))'] -rustflags = [ - "-C", - "target-feature=+crt-static", - "-C", - # increase the stack size to prevent swc overflowing the stack in debug - "link-arg=/STACK:1572864", -] - -[target.aarch64-apple-darwin] -rustflags = ["-C", "link-arg=-fuse-ld=lld"] diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..bb2ccd68b --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,14 @@ +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] + +[target.'cfg(all(windows, debug_assertions))'] +rustflags = [ + "-C", + "target-feature=+crt-static", + "-C", + # increase the stack size to prevent swc overflowing the stack in debug + "link-arg=/STACK:1572864", +] + +[target.aarch64-apple-darwin] +rustflags = ["-C", "link-arg=-fuse-ld=lld"] -- cgit v1.2.3