Module bootstrap::core::build_steps::toolstate
source Β· Expand description
Toolstate checks to keep tools building
Reachable via ./x.py test
but mostly relevant for CI, since it isnβt run locally by default.
Structs§
- RepoState π
Enums§
- Whether a tool can be compiled, tested or neither
Constants§
- BETA_WEEK_START π
- OS π
- TOOLSTATE_DIR πDirectory where the toolstate repo is checked out.
Statics§
- NIGHTLY_TOOLS π
- STABLE_TOOLS π
Functions§
- check_changed_files π
- Checks out the toolstate repo into
TOOLSTATE_DIR
. - This function
commit_toolstate_change
provides functionality for pushing a change to therust-toolstate
repository. - Number of days after the last promotion of beta. Its value is 41 on the Tuesday where βPromote master to beta (T-2)β happens. The Wednesday after this has value 0. We track this value to prevent regressing tools in the last week of the 6-week cycle.
- Sets up config and authentication for modifying the toolstate repo.
- print_error π
- publish_test_results πUpdates the βhistoryβ files with the latest results.
- read_old_toolstate πReads the latest toolstate from the toolstate repo.
- toolstate_repo π
Type Aliases§
- ToolstateData π