pub struct RelocationReport {
pub rewritten_machos: Vec<PathBuf>,
pub bundled_dylibs: Vec<PathBuf>,
pub text_files_with_prefix: Vec<PathBuf>,
pub residue: Vec<ResidueHit>,
}Expand description
What make_relocatable did to a toolchain, and whether the result is
provably prefix-independent.
Fields§
§rewritten_machos: Vec<PathBuf>Mach-O files whose load commands were rewritten (and re-signed).
bundled_dylibs: Vec<PathBuf>Dependency dylibs copied into <dir>/lib (transitive closure; each
copy is itself rewritten + re-signed).
text_files_with_prefix: Vec<PathBuf>Text files that CONTAIN the built prefix and therefore need
placeholdering when the toolchain is packed for publish. These are
left UNTOUCHED in the live tree (same-machine dependent builds read
them by their real absolute path); apply_text_placeholders
rewrites them to TEXT_PLACEHOLDER on a publish COPY only.
residue: Vec<ResidueHit>Absolute-prefix bytes remaining in binaries after the rewrite pass.
Implementations§
Source§impl RelocationReport
impl RelocationReport
Sourcepub fn is_fully_relocatable(&self) -> bool
pub fn is_fully_relocatable(&self) -> bool
true when no absolute-prefix bytes remain in any binary — the
artifact installs at any prefix with text-substitution alone.
Trait Implementations§
Source§impl Clone for RelocationReport
impl Clone for RelocationReport
Source§fn clone(&self) -> RelocationReport
fn clone(&self) -> RelocationReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more