From d2d0930aa2b5235520f1a8e45e4c4f033e126e8b Mon Sep 17 00:00:00 2001 From: kbkpbot Date: Fri, 3 Jan 2025 10:04:42 +0800 Subject: [PATCH] cgen: fix windows hot reload --- vlib/v/gen/c/cgen.v | 3 --- 1 file changed, 3 deletions(-) diff --git a/vlib/v/gen/c/cgen.v b/vlib/v/gen/c/cgen.v index 61da187473bd05..4a8cbd46bae078 100644 --- a/vlib/v/gen/c/cgen.v +++ b/vlib/v/gen/c/cgen.v @@ -6094,9 +6094,6 @@ fn (mut g Gen) write_init_function() { defer { util.timing_measure(@METHOD) } - if g.pref.is_liveshared { - return - } fn_vinit_start_pos := g.out.len // ___argv is declared as voidptr here, because that unifies the windows/unix logic