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
pref,parser: implement support for -force-bounds-checking to enable easier testing of functions tagged with @[direct_array_access] (essentially turning off that flag)
Copy file name to clipboardExpand all lines: vlib/v/pref/pref.v
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,8 @@ pub mut:
171
171
cppcompiler string// the name of the CPP compiler used
172
172
third_party_option string
173
173
building_v bool
174
-
no_bounds_checking bool// `-no-bounds-checking` turns off *all* bounds checks for all functions at runtime, as if they all had been tagged with `[direct_array_access]`
174
+
no_bounds_checking bool// `-no-bounds-checking` turns off *all* bounds checks for all functions at runtime, as if they all had been tagged with `@[direct_array_access]`
175
+
force_bounds_checking bool// `-force-bounds-checking` turns ON *all* bounds checks, even for functions that *were* tagged with `@[direct_array_access]`
175
176
autofree bool// `v -manualfree` => false, `v -autofree` => true; false by default for now.
176
177
print_autofree_vars bool// print vars that are not freed by autofree
177
178
print_autofree_vars_in_fn string// same as above, but only for a single fn
0 commit comments