Linus Färnstrand

Results 72 issues of Linus Färnstrand

This PR tries to codify what's being brought up in this forum thread: https://users.rust-lang.org/t/do-people-not-care-about-printable-error-chains-a-k-a-how-to-nicely-implement-display-for-an-error/35362 These guidelines are still lacking a lot of information about how to design error types well...

amendment
2021

It would be nice if a benchmarking run could return the percentiles and other statistics about the benchmark. It could be useful for multiple purposes, here are some examples: -...

If using `shadowsocks-rust` as a library. And one want to keep the process running after terminating the shadowsocks part. Then the shadowsocks sockets are left open and are never properly...

bug

Both the Travis-CI and AppVeyor configs pass `--target $TARGET`/`--target %TARGET%` flags to `cargo` when building and testing. Why is this? Would it make any difference if they were removed? At...

Wayland is more and more replacing X. More and more people want to run a Wayland native desktop. Most Linux GUI programs run well under Wayland these days. This issue...

Linux
feature request
Desktop frontend

Hi. I'm implementing a library at a low level which allocates and frees memory manually. To try to keep it correct I run example binaries and tests under Valgrind a...

enhancement

I can only extract the header size or the size of the backing buffer from an ethernet packet, not the size of the header + payload, nor the payload alone....

The library sends too many bytes in the ethernet frames. When using `EthernetDataLinkSender::build_and_send` with `packet_size` set to 100 and you construct a 20 byte packet in the callback (14 bytes...

Adds a loom version of `std::boxed::Box`. To make it possible/easier to write loom tests that detect memory leaks if the library under test usually uses `Box`. However, box is magical,...

I'm trying to add `loom` testing into my crate [`triggered`](https://crates.io/crates/triggered). A simple test gives me errors I can't debug. Test code: ```rust use loom::thread; #[test] fn wait_and_trigger() { loom::model(|| {...