chrysn

Results 314 issues of chrysn

If two functions in a transpilation unit both reference the same static item, the second can't be compiled: ```c /* test.c */ int first(void) { extern int array[32]; return array[1];...

### Example Compiling this function: ```c static inline __attribute__((always_inline)) void cpu_reg_disable_bits(volatile uint32_t *reg, uint32_t mask) { __atomic_fetch_and(reg, ~mask, __ATOMIC_RELAXED); } ``` produces this Rust code: ```rust #[inline(always)] unsafe extern "C"...

The `__builtin_arm_get_fpscr` and `__builtin_arm_set_fpscr` functions [recognized by LLVM/clang](https://github.com/llvm/llvm-project/blob/d1bbe61d1c96c12f890db7b37435f1dce092cc36/llvm/include/llvm/IR/IntrinsicsARM.td) are not translated. Therefrom ensue errors like this: ``` 4350 | return __builtin_arm_get_fpscr() as uint32_t; | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope...

With the following ARM assembly function in `test.c` (found in the ARM CMSIS standard library as used in RIOT-OS; disclaimer: I have no clue what this actually does, it looks...

It can easily happen that the installed llvm and clang are in different versions, resulting in errors like this, eg. on a Debian sid system with clang=clang-12 from experimental: ```...

As someone who struggles with finding the right combination of AI_V4MAPPED because he doesn't want to implement things twice for IPv4 and IPv6, I find the lack of AF_INET6 examples...

good first issue
feature

Consider a crate with versions 1.0 and 1.0.1, and two reviews by trusted reviewers, one reviewing 1.0 at a medium thoroughness and undestanding, and delta review 1.0 to 1.0.1at a...

The use of `extern crate alloc` is unconditional, which is odd given there is an alloc feature. My expectation would be that * everything that doesn't even depend on alloc...

This turns what used to result in a 500 error on loading calendars with repetition rules that make vobject trigger comparison errors (typically imported from old calendars, possibly created using...

It Would Be Nice If (ie. wishlist-level issue here) mpd commands came with argument and doc strings; mock example in ipython3 syntax: ```ipython In [5]: mpc.albumart? Signature: mpc.albumart(url: str) Docstring:...