Skip to content

support extern crate #25

@gilescope

Description

@gilescope

I'm looking at paritytech/polkadot-sdk#2101 but in your_first_pallet I can't see how to add in the alloc statement at the start of the crate. I thought this might work:

#[docify::export]
extern crate alloc;

but seems not. Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions