Files
v/vlib
Alexander Medvednikov 1be458cf31 fastc: declare thread handle types at .wait() sites too (#31124)
The thread handle typedef and its waiter were only registered by `spawn`.
A `[]thread T` that is waited on in code whose only `spawn` is compiled
out by `$if` referenced both without defining them. The driver does this
with its prestarted FastC workers, which only macOS spawns, so FastC
builds of cmd/v failed on Linux with
`'__vf_thread_kF_5f_5fFastcPrestartedCUnits' undeclared`.

`.wait()` lowering now registers the typedef and waiter when the file
has not done so yet.
2026-10-25 18:29:11 +03:00
..
…
…
…
2026-10-14 19:48:41 +03:00
…

page, title, index
page title index
index V standard library documentation V stdlib

This site contains the documentation for the standard library of modules included with the V language. Also commonly referred to as vlib, as that is the root directory for these modules in the V repository.

If you were looking for documentation for the language itself, the builtin types, operators, et. al., please use the V documentation link.

Some included modules depend on third party libraries, and these are kept separate in the thirdparty directory at the root level of the source repository.

Note that the builtin module is implicitly imported by default in V, so you do not need to have a specific import statement to use any of the features of that module.