Glibc error in rust risc-v project for exp32c3

I use:

than cargo build fails with:

  /nix/store/a0s1vq35j3g6aa757v7yg0a001l01ng4-glibc-2.34-210-dev/include/limits.h:145:5: error: function-like macro '__GLIBC_USE' is not defined

more output is here

I don’t understand how it can fail in using glibc where ‘__GLIBC_USE’ is defined in features.h

So the question is how to debug this?