narpfel
narpfel
I made the changes necessary to build `clang-tidy` [here](https://github.com/narpfel/clang-format-wheel/commit/e8b42bbf9a477673f8668f8fddb7a81fc0a2c3fe). Basically just s/format/tidy/. However, the build times are considerably slower, so building in QEMU will take longer than the 6 hour...
Would you be interested in one of these workarounds for the QEMU platforms? * Including a pure Python shim that either calls the system `clang-tidy` or errors with a message...
This does not only affect function types but *all* `typedef`s where the `typedef` token is not the first token in the declaration: ```console $ cat t.c int typedef U; $...
> Is there any benefit/difference to it? No, it’s just another case where C’s grammar is unnecessarily weird and complex. Apart from writing test cases for a C compiler, this...
Here’s the reason: https://gcc.gnu.org/cgit/gcc/commit/?id=5840bf969e2bfdf4f6c51d04aeb1a96a87727d80 > With `-masm=intel`, GCC generates registers without % prefixes. If a > user-declared symbol happens to match a register, it will confuse the > assembler. User-defined...
> It's an interesting idea, however I'm not sure what advantage it has over separate jobs. For just a single option I agree, separate jobs are simpler (though even then...
Another use case is passing `--test` to see what the `#[test]` macro expands to. Workaround: pass `-Z unpretty=expanded` instead of using the macro expansion view.
> * nm > * ldd > * pahole > * strings These tools are now available for Rust.
Here’s another example that shows the same infinite recursion between `insert` and `merge_unchecked`: ```rust #[derive(Logos)] enum Token { #[regex(r"'([^']|\\\\\\)+'")] Char, } ```
Would [`std::io::pipe`](https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/#anonymous-pipes) help?