You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vlib/v/pref/pref.v
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -188,6 +188,7 @@ pub mut:
188
188
bare_builtin_dir string// Set by -bare-builtin-dir xyz/ . The xyz/ module should contain implementations of malloc, memset, etc, that are used by the rest of V's `builtin` module. That option is only useful with -freestanding (i.e. when is_bare is true).
189
189
no_preludes bool// Prevents V from generating preludes in resulting .c files
190
190
custom_prelude string// Contents of custom V prelude that will be prepended before code in resulting .c files
191
+
no_closures bool// Produce a compile time error, if a closure was generated for any reason (an implicit receiver method was stored, or an explicit `fn [captured]()`).
191
192
cmain string// The name of the generated C main function. Useful with framework like code, that uses macros to re-define `main`, like SDL2 does. When set, V will always generate `int THE_NAME(int ___argc, char** ___argv){`, *no matter* the platform.
192
193
lookup_path []string
193
194
output_cross_c bool// true, when the user passed `-os cross` or `-cross`
0 commit comments