Skip to content

Commit 9ee4158

Browse files
committed
v.builder: remove the obsolete check for V_NO_C_ERROR_INFO (VQUIET=1 replaced it in 2023); add VQUIET to the -q description
1 parent 7f99d5d commit 9ee4158

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

‎vlib/v/builder/cc.v‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ fn (mut v Builder) post_process_c_compiler_output(ccompiler string, res os.Resul
8080
println('(Alternatively, pass `-show-c-output`, to print the full C error message).')
8181
}
8282
}
83-
if os.getenv('V_NO_C_ERROR_INFO') != '' {
84-
eprintln('> V_NO_C_ERROR_INFO is obsoleted by either setting VQUIET to 1, or by passing `-q` on the command line')
85-
exit(1)
86-
}
8783
if v.pref.is_quiet {
8884
exit(1)
8985
}

‎vlib/v/help/build/build.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ NB: the build flags are shared with the run command too:
207207
Note, this option *does not affect* errors/warnings/notices, just messages that V prints in
208208
order to be more user friendly, in common situations, that are error prone for new users, and
209209
that just needlessly take vertical space, once you are well aware of them.
210+
Note: setting `VQUIET` to 1, has the same effect.
210211

211212
-v
212213
Enable verbosity in the V compiler while compiling

0 commit comments

Comments
 (0)