From ae05ab880ecb697b35accf9eae6cd5e9f9212b0f Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 29 Jul 2021 14:25:33 +0300 Subject: [PATCH] ci: fix ubuntu-tcc job --- cmd/tools/bench/wyhash.v | 3 +++ cmd/tools/vwipe-cache.v | 3 +++ 2 files changed, 6 insertions(+) diff --git a/cmd/tools/bench/wyhash.v b/cmd/tools/bench/wyhash.v index b760ad6b55..10d7e6b0df 100644 --- a/cmd/tools/bench/wyhash.v +++ b/cmd/tools/bench/wyhash.v @@ -6,6 +6,9 @@ import rand import benchmark fn main() { + _ := map{ + 1: 1 + } rand.seed([u32(42), 0]) sample_size := 10000000 min_str_len := 20 diff --git a/cmd/tools/vwipe-cache.v b/cmd/tools/vwipe-cache.v index 988b7c262a..0715ee0706 100644 --- a/cmd/tools/vwipe-cache.v +++ b/cmd/tools/vwipe-cache.v @@ -4,6 +4,9 @@ import os import v.vcache fn main() { + _ := map{ + 1: 1 + } mut cm := vcache.new_cache_manager([]) cpath := cm.basepath if os.exists(cpath) && os.is_dir(cpath) {