Skip to main content

Module platform

Module platform 

Source
Expand description

What a platform check reports (PlatformFailure, the shared --ignore-platform-req matching) and the per-platform switches (parallel_io, cache_dir). The probe of the local PHP and the check of a lock against it live in vivacity_resolver::platform (probe, platform_packages, check_install), the port of PlatformRepository that install and update both use.

Structs§

PlatformFailure

Enums§

FailureReason

Functions§

cache_dir
is_ignored
--ignore-platform-req patterns (*, a name, ext-*, a trailing +).
parallel_io
Whether parallel file I/O pays on this machine: yes where I/O latency dominates (Linux: ext4/WSL2 measured 2x on a wiped vendor/ and on a cold classmap scan), no where the page cache is the bottleneck (APFS: parallel reads 1.3-4x slower, DECISIONS.md M5). VIVACITY_PARALLEL_IO (0/1) overrides the default.