vc: reduce further the average vc commit diff size
parent
1bbbba5813
commit
6914763493
|
@ -110,8 +110,9 @@ pub fn (mut p Preferences) fill_with_defaults() {
|
||||||
}
|
}
|
||||||
// Prepare the cache manager. All options that can affect the generated cached .c files
|
// Prepare the cache manager. All options that can affect the generated cached .c files
|
||||||
// should go into res.cache_manager.vopts, which is used as a salt for the cache hash.
|
// should go into res.cache_manager.vopts, which is used as a salt for the cache hash.
|
||||||
|
vhash := @VHASH
|
||||||
p.cache_manager = vcache.new_cache_manager([
|
p.cache_manager = vcache.new_cache_manager([
|
||||||
@VHASH,
|
vhash,
|
||||||
// ensure that different v versions use separate build artefacts
|
// ensure that different v versions use separate build artefacts
|
||||||
'$p.backend | $p.os | $p.ccompiler | $p.is_prod | $p.sanitize',
|
'$p.backend | $p.os | $p.ccompiler | $p.is_prod | $p.sanitize',
|
||||||
p.cflags.trim_space(),
|
p.cflags.trim_space(),
|
||||||
|
|
Loading…
Reference in New Issue