builtin: fix v -W -Wimpure-v examples/hello_world.v (move ctovstring_impl to builtin.c.v)

This commit is contained in:
Delyan Angelov 2025-09-10 09:07:33 +03:00
parent 49e77546c9
commit 01f108e349
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
3 changed files with 18 additions and 13 deletions

View file

@ -90,6 +90,11 @@ fn get_all_commands() []Command {
okmsg: 'V can compile hello world.'
rmfile: 'examples/hello_world'
}
res << Command{
line: '${vexe} -W -Wimpure-v run examples/hello_world.v'
okmsg: 'V can compile hello world with the stricter `-W -Wimpure-v` mode .'
rmfile: 'examples/hello_world'
}
$if linux {
if l2w_crosscc != '' {
res << Command{