Crates.io | ruspiro-allocator-oom |
lib.rs | ruspiro-allocator-oom |
version | 0.1.0 |
source | src |
created_at | 2019-08-06 16:59:02.545164 |
updated_at | 2019-08-06 16:59:02.545164 |
description | This is a `private` sub-crate of ruspiro-allocator that should only be used as child/dependency of id. It provides the Out-Of-Memory handler implementation for the custom allocator |
homepage | |
repository | https://github.com/RusPiRo/ruspiro-allocator/tree/v0.1.1 |
max_upload_size | |
id | 154579 |
size | 3,597 |
The need for this crate is a bit weird and contains only the implementation of the rust_oom
function that need to
be linked together with the custom allocator ruspiro-allocator
. This function can't be in the same crate as this leads
to the issue that the compiler complains that this function is already defined, however if not defining it in a separate crate
to link with the linker will complain with 'undefined reference to rust_oom'.
This crate is a dependency from the ruspiro-allocator
crate and should never used outside of it's parent.
Licensed under Apache License, Version 2.0, (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)