assert error from core/sys/posix/sys/stat

user456 user456 at 123.de
Mon May 22 23:24:38 UTC 2023


On Monday, 22 May 2023 at 16:35:39 UTC, d007 wrote:
> try with `/opt/local/ldc2/bin/ldc2 
> --mtriple=arm-alpine-linux-musl`, get this error:
>
>
> ```sh
> import/core/sys/posix/sys/stat.d(651): Error: static assert:  
> `128u == 104u` is false
> ```
>
> ldc version `1.33.0-beta1 (DMD v2.103.1, LLVM 15.0.7)`

Report to https://issues.dlang.org/. That's probably a problem 
with how stat_t type is implemented in musl vs how it is in GNU 
libc.


More information about the Digitalmars-d mailing list