Skip to content

[Feature]: Core & SDK crates should have alloc use gated behind a feature #1318

Closed

Description

@cfernald

Feature Overview

Many core and SDK crates will assume the availability of a global allocator. While this is true for the DXE environment, it may not be true for supervisor or other more-minimal environments. These crates should instead gate such assumptions behind a alloc feature which is standard practice for other no_atd crates,

Solution Overview

Add alloc feature for certain crates to prevent general use of alloc not gated by this feature.

Alternatives Considered

No response

Urgency

Low

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Activity

  1. self-assigned this
    on Feb 13, 2026
  2. cfernald commented on Feb 13, 2026

    @cfernald
    ContributorAuthor

    Initial targets:

    patina
    patina_adv_logger
    patina_internal_cpu (already relatively contained)

  3. added theissue type on Mar 9, 2026
  4. moved this to Backlog in Patinaon Mar 9, 2026
  5. added this to the Backlog milestone on Mar 9, 2026
  6. moved this from Backlog to Done in Patinaon Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions