Expand description
Build-and-run steps for in-repo tools
A bit of a hodge-podge as e.g. if a toolβs a test fixture it should be in build_steps::test.
If it can be reached from ./x.py run it can go here.
Re-exportsΒ§
use std::path::PathBuf;πuse build_helper::git::get_git_untracked_files;πuse clap_complete::Generator;πuse clap_complete::shells;πuse crate::core::build_steps::dist::distdir;πuse crate::core::build_steps::test;πuse crate::core::build_steps::tool;πuse crate::core::build_steps::tool::RustcPrivateCompilers;πuse crate::core::build_steps::tool::SourceType;πuse crate::core::build_steps::tool::Tool;πuse crate::core::build_steps::vendor::VENDOR_DIR;πuse crate::core::build_steps::vendor::Vendor;πuse crate::core::build_steps::vendor::default_paths_to_vendor;πuse crate::core::builder::Builder;πuse crate::core::builder::CommandLineStep;πuse crate::core::builder::Kind;πuse crate::core::builder::RunConfig;πuse crate::core::builder::ShouldRun;πuse crate::core::builder::StepMetadata;πuse crate::core::config::TargetSelection;πuse crate::core::config::flags::get_completion;πuse crate::core::config::flags::top_level_help;πuse crate::core::session::Mode;πuse crate::utils::exec::command;πuse crate::utils::helpers;πuse crate::utils::helpers::t;π
StructsΒ§
- Build
Manifest - Bump
Stage0 - Collect
License Metadata - Coverage
Dump - Step to manually run the coverage-dump tool (
./x run coverage-dump). - Cyclic
Step - Dummy step that can be used to deliberately trigger bootstrapβs step cycle detector, for automated and manual testing.
- Features
Status Dump - Generate
Completions - Generate
Copyright - Generate
Help - Generate
Windows Sys - Miri
- Invoke the Miri tool on a specified file.
- Replace
Version Placeholder - Rustfmt
- Unicode
Table Generator - The build step for generating the tables in
core/src/char/unicode/unicode_data.rsand the tests inlibrary/coretests/tests/unicode/test_data.rs.
FunctionsΒ§
- get_
completion_ paths - Return tuples of (shell, file containing completions).
- get_
help_ path - Return the path of x.pyβs help.