Kevin Mehall

Results 28 issues of Kevin Mehall

With the `sequence.hdl` example, the `_FSM` variable in the generated Verilog is never declared, so it defaults to a 1-bit `wire`. This results in it toggling between two states instead...

Split from https://github.com/kevinmehall/rust-peg/issues/361

bug

### Discussed in https://github.com/kevinmehall/rust-peg/discussions/358 Originally posted by **stqcky** July 30, 2023 Hi, I'm having some issues using the `#[cache_left_rec]` attribute. Here's my code: ```rust #[derive(Clone, PartialEq, Debug)] pub enum TestExpression...

bug

https://github.com/bytecodealliance/rustix/issues/918 This adds a trait `SockAddr`, and implements it for `SocketAddrV4`, `SocketAddrV6`, `SocketAddrUnix`, `SocketAddrXdp`, `SocketAddr`, `SocketAddrAny`, and the newly-added `SocketAddrNetlink`. The syscalls that take a `sockaddr` are reimplemented in terms...

Fixes https://github.com/servo/core-foundation-rs/issues/648: the safe methods that take `CFRunLoopMode` are currently unsound because it is a raw pointer that is not necessarily valid. As a bonus, this allows use of `kCFRunLoopCommonModes`...

Following https://github.com/servo/core-foundation-rs/pull/610, the same reasoning from https://github.com/servo/core-foundation-rs/issues/550 applies to the remaining CFRunLoop types.

The CFRunLoop methods `add_timer`, `remove_timer` `contains_source`, `add_source`, `remove_source`, `contains_observer`, `add_observer`, `remove_observer` accept an argument `mode` of type `CFRunLoopMode`, which is a type alias for `*const __CFString`. This parameter is passed...

This obsolete library is sitting on a valuable crate name. We should repurpose it to create some common USB types, constants and traits that can be used across USB host...

https://github.com/pothosware/SoapySDR/blob/master/include/SoapySDR/Constants.h For RX streams, perhaps `RxStream::read` should return `Result` rather than `Result`, where RxStatus is a struct with fields: ``` /// Number of samples read from the stream. May be...

I noticed that rustc is [breaking out its error formatting](https://github.com/rust-lang/rust/issues/59346) into a reusable library called [annotate-snippets-rs](https://github.com/rust-lang/annotate-snippets-rs). The API seems slightly lower level (e.g. explicitly choosing what portion of the source...