Michael Mestnik

Results 128 comments of Michael Mestnik

There is also the issue where the first thing you'll wanting to do with these names is compare to [i8; 256]s. https://github.com/cheako/smithay/blob/492946a7779f187c73fcb2ab56640bbf14f48487/vkwayland/src/udev.rs#L108 A helper for this purpose would be appreciated.

There is no fixed size array with null "padding" to CStr function. The CStr::from_bytes_with_nul() takes a slice and must end exactly with a trailing null. It's an error if the...

From strncmp() to sys::strlen(), I don't see this as an improvement. I could call str"n"len() and then CStr::from_bytes_with_nul_unchecked myself and it would be safer... but getting the length is going...

Yes, the problem is that the version numbers are the same even though the features are different. The issue is when other crates depend on a git revision, tag, or...

On my laptop now instead of my phone. For the OP I didn't include a ```version = "XXX",``` because the version in git is /wrong/ and it would look funny...

No, but if everyone else jumps off a bridge do you follow? I only report the problem where I've personally experienced an issue. If rust should adopt something like what...

I think a PR is an overwhelming complex way to change a few bytes. The bigger issue is awareness. I don't think tags would help at all, every commit is...

The magic: Structures: https://gitlab.com/cheako/vk-layer-cache/-/blob/359e97aac7539298d21a06c09ee5604d53943979/src/lib.rs#L12-56 Code: https://gitlab.com/cheako/vk-layer-cache/-/blob/359e97aac7539298d21a06c09ee5604d53943979/src/lib.rs#L85-120 https://gitlab.com/cheako/vk-layer-cache/-/snippets/2248646

First viable product: https://gitlab.com/cheako/vk-layer-cache/-/blob/359e97aac7539298d21a06c09ee5604d53943979/src/lib.rs

`ash::DeviceProc` sounds good, the old name can be set as depreciated for compatibility. To be clear, `vk::Device` is a number(`usize`?). `ash::Device` is a dispatchable object that holds a `vk::Device` where...