From 0526499d5f69bbe8cba2113ea65c9c1015331788 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 8 May 2022 08:01:55 +0300 Subject: [PATCH] tools: hide tcc warning on macos for now --- cmd/tools/detect_tcc.v | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/tools/detect_tcc.v b/cmd/tools/detect_tcc.v index 9f8f161d4..b8f2a6328 100644 --- a/cmd/tools/detect_tcc.v +++ b/cmd/tools/detect_tcc.v @@ -4,7 +4,8 @@ fn main() { exit(0) } - println(' + $if !macos { + println(' Note: `tcc` was not used, so unless you install it yourself, your backend C compiler will be `cc`, which is usually either `clang`, `gcc` or `msvc`. @@ -12,4 +13,5 @@ These C compilers, are several times slower at compiling C source code, compared to `tcc`. They do produce more optimised executables, but that is done at the cost of compilation speed. ') + } } -- 2.30.2