1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

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 {
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 {