tools: fix measurements for ./v repeat "./vold -o x project/" "./vnew -o x project/"

This commit is contained in:
Delyan Angelov 2024-06-18 07:44:46 +03:00
parent 1a685c30aa
commit 041f2b3d3a
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -387,6 +387,9 @@ fn (mut context Context) parse_options() ! {
}
fn main() {
// Make sure that we can measure various V executables
// without influencing them, by presetting VEXE
os.setenv('VEXE', '', true)
mut context := Context{}
context.parse_options()!
context.run()