Ben Kimock
Ben Kimock
By default, all the debug assertions in the standard library are compiled out, and the only way to get them back is `-Zbuild-std`. Even generic debug assertions can catch code...
`read_packed_fixed` converts a `&[u8]` to a `&[T]` without checking that the incoming reference satisfies the alignment of the outgoing reference. Since references guarantee that they are properly aligned and both...
I don't really understand what's going on here. All I really know is that I ran into one of the standard library's debug assertions when running some of the examples...
This project looks pretty inactive, but it is still used very widely by the ecosystem and Miri detects UB in it that looks unambiguously bad to me, so that's why...
# Description This crate does not build with the latest beta, which means it will not in its current state build with the next stable. This is due to the...
In most places the project is called `yaiouom`, but the installation instructions call it `yaoioum`. I only see a `yaiouom-checker` on crates.io, and no `cargo-yaiouom`. I'm unsure of where the...
The standard library has a lot more debug assertions since https://github.com/rust-lang/rust/pull/92686 which also found and fixed some UB in the compiler using them. It has been suggested that as a...
I'm currently working through what to do about a codebase that uses `ureq` and is suffering from what looks like a very occasionally unresponsive server. I'd like to toggle on...
For example, now running `cargo test` with this patch I get things like: ``` $ cargo +stage1 test Finished test [unoptimized + debuginfo] target(s) in 0.01s Running unittests src/lib.rs (target/debug/deps/malloc_buf-9d105ddf86862995)...
This is detectable through the standard library's debug assertions, which are currently only usable on a nightly compiler with `-Zbuild-std`, or if you build your own compiler and standard library...