Expand description
./x.py clean
Responsible for cleaning out a build directory of all old and stale
artifacts to prepare for a fresh build. Currently doesnβt remove the
build/cache directory (download cache) or the build/$target/llvm
directory unless the --all flag is present.
Re-exportsΒ§
use std::fs;πuse std::io;πuse std::io::ErrorKind;πuse std::path::Path;π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::crate_description;πuse crate::core::compiler::Compiler;πuse crate::core::config::flags::Subcommand;πuse crate::core::session::Mode;πuse crate::core::session::Session;πuse crate::utils::build_stamp::BuildStamp;πuse crate::utils::helpers::t;π
MacrosΒ§
- clean_
crate_ πtree
StructsΒ§
FunctionsΒ§
- clean π
- clean_
default π - clean_
specific_ πstage - do_op π
- rm_rf π