Tethys Svensson

Results 15 issues of Tethys Svensson

Most of the casts can only fail with overflow or underflow. Sometimes it would be nice to handle those casts using saturation instead of errors. It would for instance be...

DynELF will sometimes output the warning `No ELF provided. Leaking is much faster if you have a copy of the ELF being leaked.`, even though an ELF was provided. It...

enhancement
help-wanted
Hacktoberfest

This program results in undefined behavior: ```rust use legion::prelude::*; fn fetcher() -> legion::resource::PreparedRead { let mut resources = Resources::default(); resources.insert(0u32); ::fetch(&resources) } fn main() { println!("0x{:x}", *fetcher()); } ```

First of all: Extremely cool project! (Found you on reddit) I am unsure what the `--precision` flag does. I tried to running `kalker --precision 1000`, however kalker did not output...

I would like to be able to insert an element at a particular index in the indexmap (knowning full well, that this will cause `O(n)` move operations).

enhancement

The function `get_index_mut` gives a mutable reference to the of an entry, but does not update the corresponding hash. This means you can write buggy code like this: ```rust use...

The following safe code will segfault: ```rust fn main() { let ptr: &&u8 = flatbuffers::follow_cast_ref(&[1, 2, 3, 4, 5, 6, 7, 8], 0); println!("{}", **ptr); } ```

# Summary This is a different variant of #716 with the same goals. Instead of introducing more cargo features, this one uses a proc-macro. I have ported the same two...

# Summary This is a draft PR, to open a discussion about how different variants of the same peripheral are organized in the code. # Motivation Currently a most peripherals...