We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v -shared run empty.v
1 parent 6fb46cc commit 38beb23Copy full SHA for 38beb23
1 file changed
vlib/v/builder/compile.v
@@ -137,6 +137,9 @@ fn (mut b Builder) run_compiled_executable_and_exit() {
137
if b.pref.is_verbose {
138
println('running ${run_file} with arguments ${run_args.join(' ')}')
139
}
140
+ if b.pref.is_shared {
141
+ verror('can not run shared library ${run_file}')
142
+ }
143
mut ret := 0
144
if b.pref.use_os_system_to_run {
145
command_to_run := os.quoted_path(run_file) + ' ' + run_args.join(' ')
0 commit comments