- Notifications
You must be signed in to change notification settings - Fork58
Manual segmented stacks for Rust
License
Apache-2.0, MIT licenses found
Licenses found
rust-lang/stacker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A stack-growth library for Rust. Enables annotating fixed points in programswhere the stack may want to grow larger. Spills over to the heap if the stackhas hit its limit.
This library is intended on helping implement recursive algorithms.
# Cargo.toml[dependencies]stacker ="0.1"
This library currently uses psm for its cross platform capabilities, with anotable exception of Windows, which uses an implementation based on Fibers. Seethe README for psm for the support table.
On all unsupported platforms this library is a noop. It should compile and run,but it won't actually grow the stack and code will continue to hit the guardpages typically in place.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE orhttps://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT orhttps://opensource.org/license/mit)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submittedfor inclusion in this project by you, as defined in the Apache-2.0 license,shall be dual licensed as above, without any additional terms or conditions.
About
Manual segmented stacks for Rust