File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,13 @@ fn get_all_commands() []Command {
82
82
okmsg: 'V can compile itself with -skip-unused.'
83
83
rmfile: 'vtmp_unused'
84
84
}
85
+ $if linux {
86
+ res << Command{
87
+ line: '$vexe -cc gcc -keepc -freestanding -o bel vlib/os/bare/bare_example_linux.v'
88
+ okmsg: 'V can compile with -freestanding on Linux with GCC.'
89
+ rmfile: 'bel'
90
+ }
91
+ }
85
92
res << Command{
86
93
line: '$vexe $vargs -progress test-cleancode'
87
94
okmsg: 'All .v files are invariant when processed with `v fmt`'
@@ -121,7 +128,7 @@ fn get_all_commands() []Command {
121
128
}
122
129
$if macos {
123
130
res << Command{
124
- line: '$vexe -o v.c cmd/v && cc -Werror v.c && rm -rf v.c '
131
+ line: '$vexe -o v.c cmd/v && cc -Werror v.c && rm -rf a.out '
125
132
label: 'v.c should be buildable with no warnings...'
126
133
okmsg: 'v.c can be compiled without warnings. This is good :)'
127
134
rmfile: 'v.c'
You can’t perform that action at this time.
0 commit comments