v.vcache: another workaround for a tcc arm64 runtime bug

pull/9631/head
Delyan Angelov 2021-04-07 19:13:05 +03:00
parent 0cb0b0f9c6
commit a747651f18
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +90,9 @@ pub fn (mut cm CacheManager) key2cpath(key string) string {
} }
pub fn (mut cm CacheManager) postfix_with_key2cpath(postfix string, key string) string { pub fn (mut cm CacheManager) postfix_with_key2cpath(postfix string, key string) string {
return cm.key2cpath(key) + postfix prefix := cm.key2cpath(key)
res := prefix + postfix
return res
} }
pub fn (mut cm CacheManager) exists(postfix string, key string) ?string { pub fn (mut cm CacheManager) exists(postfix string, key string) ?string {