Skip to content

no_std gating - gate-in alloc #36

@pinkforest

Description

@pinkforest

There are feature gates for std that could be under alloc perhaps ? e.g.

#[cfg(not(feature = "std"))]
use alloc::boxed::Box;
use alloc::format;
use alloc::sync::Arc;
use core::marker::PhantomData;

Trouble is current rustls largely needs alloc - nonetheless

We could have all alloc gated as feature as there is talk of having Arc-less version that doesn't require Alloc ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions