v.vcache: workaround a tcc arm64 invalid memory access bug
parent
fdb4f17866
commit
0cb0b0f9c6
|
@ -66,7 +66,7 @@ pub fn (mut cm CacheManager) set_temporary_options(new_opts []string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (mut cm CacheManager) key2cpath(key string) string {
|
pub fn (mut cm CacheManager) key2cpath(key string) string {
|
||||||
mut cpath := cm.k2cpath[key]
|
mut cpath := cm.k2cpath[key] or { '' }
|
||||||
if cpath == '' {
|
if cpath == '' {
|
||||||
hk := cm.vopts + key
|
hk := cm.vopts + key
|
||||||
a := hash.sum64_string(hk, 5).hex_full()
|
a := hash.sum64_string(hk, 5).hex_full()
|
||||||
|
|
Loading…
Reference in New Issue