mirrored from https://www.bouncycastle.org/repositories/bc-rust
-
Notifications
You must be signed in to change notification settings - Fork 14
How to move stack vars to the heap? #29
Copy link
Copy link
Open
Labels
discussionThis will involve some community discussion to choose the right designThis will involve some community discussion to choose the right designgood first issueGood for newcomersGood for newcomershelp wantedCould be picked up by anyone in the communityCould be picked up by anyone in the community
Metadata
Metadata
Assignees
Labels
discussionThis will involve some community discussion to choose the right designThis will involve some community discussion to choose the right designgood first issueGood for newcomersGood for newcomershelp wantedCould be picked up by anyone in the communityCould be picked up by anyone in the community
Type
Fields
Give feedbackNo fields configured for issues without a type.
This task might be due to my ignorance more than anything.
When you design for no_std, that means that everything is on the stack, which can cause you to blow your stack limit. Research
how an application that itself is not no_std can put our large structs (like key objects) on the heap. Is this what
Box is for? It would be nice to throw an example of that into the crate docs somewhere.