22 Commits (bc2357c6b6246bf062e3783e43bcf6e31678edca)

Author SHA1 Message Date
Avril bc2357c6b6
Attempted to add new feature flag: `memfile-size-output`: Which will pre- or post- set the size of `stdout` to the correct buffer size, allowing consumers of `collect`"s stdout pipe to know the size just like a file. However, `ftruncate()` always fails on stdout. Before re-enabling the feature, we must find out how to set the size of a pipe, if/when you even can, and what syscall(s) you need to do it with.
3 years ago
Avril ab56c93532
Bumped minor version.
3 years ago
Avril 395799587b
Removed `stackalloc` dependancy.
3 years ago
Avril dbf2dbffde
Removed `hugetlb` feature flag: It cannot be used for our use-case.
3 years ago
Avril 8ea3a23e27
Using huge-pages for this is folly from the start: For one, we never actually map the fallocate()"d memory. And two... hugetlbfs does not support write()s in any way, splice()s, send_file()s... It only supports read(), and mmap() (its primary use-case...); which isn"t relevant for us.
3 years ago
Avril 573845a667
memfile::hp: Added `get_masks()`: Returns an iterator over all `MAP_HUGE` masks found on system.
3 years ago
Avril 2c839da13b
Bumped stackalloc version: Use PLT for trampoline: Causing random linker errors on some machines.
3 years ago
Avril 9ecd0ea3d8
Fixed silly bug preventing building on rust-stable.
3 years ago
Avril 9125199d80
Added Cargo keywords (tags)
3 years ago
Avril 8390072309
Reached version 1.0.0!
3 years ago
Avril 23d022b5fe
Added working memfile implementation
3 years ago
Avril 0628853b43
Working memfile implementation
3 years ago
Avril edb57c7c95
memfile: Disambiguated memfile errors resulting in `fallocate()` sizes being too large or the call itself failing.
3 years ago
Avril b3dbb30deb
Fix imports for when feature `memfile` is disabled.
3 years ago
Avril ed957bcec8
feature memfile: added `RawFile::open_mem()`
3 years ago
Avril 65c297b228
Started adding `memfile` feature: Use a `memfd_create()`d in-memory temporary file.
3 years ago
Avril 80a2d65262
Made spantrace capture optional at the compilation level.
3 years ago
Avril 3af34dc78f
Better documented `jemalloc` feature.
3 years ago
Avril cc37f604f1
Fixed tracing causing huge unneeded bottleneck in non `bytes` builds.
3 years ago
Avril bea5cda4a1
Fixed not copying to buffer when not using feature `bytes`.
3 years ago
Avril 1cdd5b2187
Made `bytes` an optional feature.
3 years ago
Avril a5ad02a6de Working primitive, slow, prototype.
3 years ago