1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: force CI rebuild with newer vc/

This commit is contained in:
Delyan Angelov 2020-12-09 19:49:37 +02:00
parent 6115db4820
commit 9451233c34
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -5630,8 +5630,7 @@ fn (mut g Gen) interface_table() string {
if g.pref.ccompiler == 'msvc' {
// msvc can not process `static struct x[0] = {};`
// for now just skip adding `static`.
// TODO: generate a non empty _name_table in this case,
// a dummy element...
// TODO: generate a non empty _name_table in this case, a dummy element...
staticprefix = ''
}
methods_struct.writeln('$staticprefix $methods_struct_name ${interface_name}_name_table[$inter_info.types.len] = {')