Skip to content

Revisit usage of deprecated reflect.StringHeader #1147

@M4tteoP

Description

@M4tteoP

reflect.StringHeader has been deprecated since Go 1.22. Context of our usage: #553

argKeyPtr := (*reflect.StringHeader)(unsafe.Pointer(&argKey)).Data // nolint:staticcheck

See also #1145 (comment) for a possible alternative (to be further explored and tested).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions