cgen: force CI rebuild with newer vc/

pull/7220/head^2
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
1 changed files with 1 additions and 2 deletions

View File

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