diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-10-30 14:09:56 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-10-30 14:09:56 -0400 |
| commit | a8766be2aeefcd4cef4130b67da0e0b4496b7cff (patch) | |
| tree | 00e01b32bedac7d76885eedb37d5f33b66a4412b /tomo.c | |
| parent | fb683a2b1b962da4f00eb86c57b9c75fbcdf9908 (diff) | |
Make compiler output spam a little dimmer
Diffstat (limited to 'tomo.c')
| -rw-r--r-- | tomo.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -306,7 +306,7 @@ void build_library(Text_t lib_dir_name) if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) exit(EXIT_FAILURE); - printf("Compiled to lib%k.so\n", &lib_dir_name); + printf("\x1b[2mCompiled to lib%k.so\x1b[m\n", &lib_dir_name); prog = run_cmd("objcopy --redefine-syms=symbol_renames.txt 'lib%k.so'", &lib_dir_name); status = pclose(prog); @@ -491,7 +491,7 @@ void transpile_header(env_t *base_env, Text_t filename, bool force_retranspile) if (pclose(prog) == -1) errx(1, "Failed to run autoformat program on header file: %k", &autofmt); - printf("Transpiled to %k\n", &h_filename); + printf("\x1b[2mTranspiled to %k\x1b[m\n", &h_filename); if (show_codegen) system(heap_strf("bat -P %k", &h_filename)); @@ -532,7 +532,7 @@ void transpile_code(env_t *base_env, Text_t filename, bool force_retranspile) if (pclose(out) == -1) errx(1, "Failed to output autoformatted C code to %k: %k", &c_filename, &autofmt); - printf("Transpiled to %k\n", &c_filename); + printf("\x1b[2mTranspiled to %k\x1b[m\n", &c_filename); if (show_codegen) system(heap_strf("bat -P %k", &c_filename)); @@ -557,7 +557,7 @@ void compile_object_file(Text_t filename, bool force_recompile) if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) exit(EXIT_FAILURE); - printf("Compiled to %k\n", &obj_file); + printf("\x1b[2mCompiled to %k\x1b[m\n", &obj_file); } Text_t compile_executable(env_t *base_env, Text_t filename, Array_t object_files, Array_t extra_ldlibs) @@ -592,7 +592,7 @@ Text_t compile_executable(env_t *base_env, Text_t filename, Array_t object_files if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) exit(EXIT_FAILURE); - printf("Compiled executable: %k\n", &bin_name); + printf("\x1b[2mCompiled executable: %k\x1b[m\n", &bin_name); return bin_name; } |
