Skip to content

#[no_std] no longer works #9839

Closed
Closed
@alexcrichton

Description

@alexcrichton

Once #9834 gets merged, #[no_std] will no longer work for any crates. The reason for this is that __morestack now requires a rust_stack_exhausted function. We should provide crates linking with #[no_std] a dummy implementation of __morestack which invokes abort() so that they may continue to compile.

Furthermore, a crate should also be able to say "I'm providing my own morestack" and we don't link to libmorestack.a by default regardless.

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