From 2a8d0ddaf52bb093e47947da28194abf4613f0b9 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 13 Feb 2021 16:33:30 +0200 Subject: [PATCH] checker: add os.init_os_args_wide to the -skip-unused whitelist too --- vlib/v/checker/mark_used.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/v/checker/mark_used.v b/vlib/v/checker/mark_used.v index d3c30d520f..30032c50b8 100644 --- a/vlib/v/checker/mark_used.v +++ b/vlib/v/checker/mark_used.v @@ -115,6 +115,7 @@ fn (mut c Checker) mark_used(ast_files []ast.File) { /* TODO: process the _vinit const initializations automatically too */ 'os.getwd', 'os.init_os_args', + 'os.init_os_args_wide', ] // implicit string builders are generated in auto_eq_methods.v