Skip to main content

Module jobserver

Module jobserver 

Source

Structsยง

Acquired
An acquired token from a jobserver.
Proxy
A wrapper around jobserver client used for two purposes:
ProxyData ๐Ÿ”’

Staticsยง

GLOBAL_CLIENT_CHECKED ๐Ÿ”’

Functionsยง

client
Returns the jobserver client previously initialized by initialize_checked.
create_client ๐Ÿ”’
default_client ๐Ÿ”’
initialize_checked
Initializes a jobserver client for the current rustc process. If inheriting jobserver from the environment fails for some reason, an new jobserver owned by the current rustc process will be created. If the inheritance failure reason is non-benign, the passed callback will be used to report the error.