Skip to content

Don't allocate in rt::context::Context::new #7767

Closed
@catamorphism

Description

@catamorphism

FIXME says: "Putting main into a ~ so it's a thin pointer and can
// be passed to the spawn function. Another unfortunate
// allocation". Figure out how to not do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-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