You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dependency crate with staticlib and rlib gets trimmed #1158
// If we're just creating an rlib then the only thing inspected inside dependency rlibs is the
// metadata, in which case we can create a trimmed rlib (which is actually a .a) with the metadata
let can_trim_rlibs = matches!(
crate_types,
CrateTypes{
rlib:true,
staticlib:false,
}
);
but from my understanding of the code, crate_types at that point is the crate we are compiling, not the dependency we are pulling in.
e.g., compiling crate audioipc2 we have a dep on audio_thread_priority (which has both staticlib and rlib). So we get can_trim_rlibs=true because audioipc2 is a rlib only, but we apply trimming on audio_thread_priority, effectively triggering the issue.
Activity
Verify if a compile input is pure rlib or mixed rlib+staticlib before…
Verify if a compile input is pure rlib or mixed rlib+staticlib before…
Verify if a compile input is pure rlib or mixed rlib+staticlib before…
Verify if a compile input is pure rlib or mixed rlib+staticlib before…
Verify if a compile input is pure rlib or mixed rlib+staticlib before…
Verify if a compile input is pure rlib or mixed rlib+staticlib before…