liburing-hdr-only
liburing-hdr-only copied to clipboard
The header only implementation of the liburing library
`io_uring.h` is using zero length arrays which is just a compiler-specific thing, it's not even a C shit!
`_POSIX_C_SOURCE` is a bit tricky here! ```c++ /liburing.h:13:9: warning: '_POSIX_C_SOURCE' macro redefined [-Wmacro-redefined] #define _POSIX_C_SOURCE 200112L ^ /usr/include/features.h:292:10: note: previous definition is here # define _POSIX_C_SOURCE 200809L ^ In file...
Add `.clang-tidy`, and then fix new stuff.
Places where a new object's lifetime has begun, we're not actually starting their lifetime and this is technically UB. Use: - `std::launder` - `std::start_lifetime_as` and `std::start_lifetime_as_array`
Right now it's C, not C++, make sure when it's C++, the C++ header file is included
AI generated icon seems easy enough to make