Skip to content

Qualified names for both IntrinsicSym and NormalSym #137

@dkcumming

Description

@dkcumming

Currently IntrinsicSym serialises with the short name (e.g. black_box) and NormalSym serialises with the mangled name (e.g. _ZN4core9panicking19assert_failed_inner17h1d286061ca0adfe7E). Both have upsides and downsides:

  • short name is concise but ambiguous (which black_box? Hard to tell just by reading)
  • mangled name is unambiguous but too verbose

#85 was going to use the mangled name for intrinsics, but this would not fix the verbosity problem.

A middle ground for both would be a qualified name

This comment for some more context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions