From 866d38674a15aa19d8965f940c03c5b6fdf1432d Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 6 Apr 2024 18:51:37 +0100 Subject: [PATCH] build: Add cargo config file --- .cargo/config.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..6c32808 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,13 @@ +# ./cargo/config +[target.x86_64-unknown-linux-gnu] +linker = "/usr/bin/clang-15" +rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold", "--cfg", "tokio_unstable"] + +[profile.dev] +debug = 0 +strip = "debuginfo" + +[env] +RUSTLOG = "hyper=warn" +RUSTFLAGS = "--cfg tokio_unstable" +