From 0727ed8e03f6d0a139fbb1c16150304b1563d036 Mon Sep 17 00:00:00 2001 From: wuhuiquan Date: Tue, 29 Oct 2024 17:02:39 +0800 Subject: [PATCH] [rust] add default config.toml file Signed-off-by: wuhuiquan --- .gitignore | 1 - config.toml | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 config.toml diff --git a/.gitignore b/.gitignore index 485968d9c56..1e81f0de3b2 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,6 @@ Session.vim !/tests/run-make/thumb-none-qemu/example/.cargo ## Configuration -/config.toml /Makefile config.mk config.stamp diff --git a/config.toml b/config.toml new file mode 100644 index 00000000000..2f0cf9a2524 --- /dev/null +++ b/config.toml @@ -0,0 +1,43 @@ +profile = "compiler" +changelog-seen = 2 + +[llvm] +download-ci-llvm = false +targets = "X86;AArch64;ARM" + +[build] +target = ["x86_64-unknown-linux-gnu"] +submodules = false +compiler-docs = false +extended = true +tools = [ + "clippy", +] +docs = false +vendor = true +#verbose = 1 +#sanitizers = true +#profiler = true + +[rust] +optimize = true +codegen-units = 1 +split-debuginfo = "packed" +lto = "thin-local" +backtrace = false +description = "xxxxx" +channel = "nightly" +#strip = true +#stack-protector = "all" + +[install] +bindir = "bin" +libdir = "lib" + +[target.x86_64-unknown-linux-gnu] + +[dist] +compression-formats = ["gz"] +#include-mingw-linker = false + + -- Gitee