From 0155cbf5a265ed296c93a6e307405d92f02acbf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Fri, 15 Nov 2024 12:23:50 +0800 Subject: [PATCH] add cargo alias --- .cargo/config.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index ac2b23f..26988f1 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,9 @@ [target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] + +[alias] +lint = "clippy -- -D warnings" +r = "run" +rr = "run --release" +b = "build" +br = "build --release"