Expand description
Strip non-essential files from LLVM/Clang toolchain distributions.
This crate removes unnecessary files from downloaded LLVM distributions and optionally strips debug symbols from binaries to minimize package size.
Structs§
- Strip
Config - Configuration for stripping.
- Strip
Stats - Result statistics from stripping.
Constants§
- ESSENTIAL_
BINARIES - Essential binaries to keep (base names without extensions).
Functions§
- find_
llvm_ root - Find the LLVM root directory (the one containing a
bin/subdirectory). - is_
essential_ binary - Check if a binary name (with or without extension) is in the essential list.
- strip_
llvm - Main entry point: strip an LLVM distribution.