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

ci: fix v build-tools

This commit is contained in:
Delyan Angelov 2021-05-11 11:08:46 +03:00
parent 263e1ee4a4
commit 6f2c18f1c7
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
3 changed files with 2 additions and 3 deletions

View File

@ -125,7 +125,7 @@ fn main() {
}
// webhook server mode
if flag_options.serve {
vweb.run<WebhookServer>(flag_options.port)
vweb.run<WebhookServer>(&WebhookServer{}, flag_options.port)
} else {
// cmd mode
mut gen_vc := new_gen_vc(flag_options)

View File

@ -28,7 +28,7 @@ pub mut:
panic_handler FnPanicHandler = default_table_panic_handler
panic_userdata voidptr = voidptr(0) // can be used to pass arbitrary data to panic_handler;
panic_npanics int
cur_fn &FnDecl // previously stored in Checker.cur_fn and Gen.cur_fn
cur_fn &FnDecl = 0 // previously stored in Checker.cur_fn and Gen.cur_fn
}
[unsafe]

View File

@ -94,7 +94,6 @@ pub mut:
table &ast.Table = &ast.Table{}
checker checker.Checker = checker.Checker{
table: 0
cur_fn: 0
pref: 0
}
fmt fmt.Fmt