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
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -250,6 +250,8 @@ pub mut:
250
250
wasm_stack_top int=1024+ (16*1024) // stack size for webassembly backend
251
251
wasm_validate bool// validate webassembly code, by calling `wasm-validate`
252
252
warn_about_allocs bool// -warn-about-allocs warngs about every single allocation, e.g. 'hi $name'. Mostly for low level development where manual memory management is used.
253
+
// game prototyping flags:
254
+
div_by_zero_is_zero bool// -div-by-zero-is-zero makes so `x / 0 == 0`, i.e. eliminates the division by zero panics/segfaults
0 commit comments