On Sat, Nov 8, 2025 at 3:40 AM Sami Tolvanen <[email protected]> wrote:
>
> I'm not sure it makes sense to silently export unusable symbols. I
> feel like we should either ensure there's debugging information for
> these symbols, or just not export them.

(Now that I saw your other reply and things are clearer, replying here
as well for completeness)

No, I didn't mean to silently export, but rather to avoid failing due
to missing DWARF if there is nothing to do for that object file
because there are no exports. That is, what we manually do now with
some of the `skip_gendwarfksyms`, but dynamically, which unties us
from the inlining decisions of `rustc` which could hit us in e.g.
small crates in the future or edge cases like the bindings one.

Cheers,
Miguel

Reply via email to