gecko-dev/servo/components/hashglobe
Boris Chiou 2bc354c080 servo: Merge #19607 - hashglobe: Dump the requested aligment if out of memory while allocating a table (from BorisChiou:stylo/crash/out_of_memory_alignment); r=emilio
This is for Bug 1418806 and Bug 1416903. We need not only the requested size
but also the requested alignment for debugging.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 27a443fbaaf3e19fa3a753f68b20a7a7ccc5d199

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fa754d106c4d47fd89f89a46df704c85387722bd
2018-01-01 21:32:59 -06:00
..
src servo: Merge #19607 - hashglobe: Dump the requested aligment if out of memory while allocating a table (from BorisChiou:stylo/crash/out_of_memory_alignment); r=emilio 2018-01-01 21:32:59 -06:00
Cargo.toml servo: Merge #18938 - Replace all uses of the `heapsize` crate with `malloc_size_of` (from nnethercote:bug-1409255); r=SimonSapin 2017-10-18 13:56:05 -05:00
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

hashglobe

This is a fork of Rust's std::HashMap. It works on stable out of the stdlib and has fallible APIs.

We intend to diverge as little as possible from the original hashmap.

Dual licensed Apache/MIT, the same as the stdlib.

Should I use this?

No.

Wait for https://github.com/rust-lang/rfcs/pull/2116 instead.