Skip to content

implement destructor support for thread-local variables #17572

Closed
@thestinger

Description

@thestinger

C++ thread_local has destructor support built on platform primitives. Rust's #[thread_local] does not since it sits above the LLVM layer. This could be feature gated, but it is an important building block for fast TLS support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-hardCall for participation: Hard difficulty. Experience needed to fix: A lot.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions