Skip to content

Add a #[start] attribute #5158

Closed
Closed
@brson

Description

@brson

This would let you override the 'start' lang item to create a program entry point that does not use the scheduler. There's some question about whether this entry point would have the same signature as the lang item or not - there may be use cases for one that accepts the current arguments (like crate_map) and one that has no arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)A-codegenArea: Code generationE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions