Photon v0.13.0 with offload

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Sep 3 07:18:10 UTC 2025


On Sunday, 31 August 2025 at 14:38:27 UTC, Paolo Invernizzi wrote:
> On Monday, 18 August 2025 at 15:20:14 UTC, Dmitry Olshansky 
> wrote:
>> [...]
>
> I tried to include all the sources of photon in a application 
> that it's cross-compiled to linux (Pi5, AArch64) and 
> cross-linked with some C libs, and I'm seeing this:
>
> ```
> 2025-08-31T16:22:18.438 [error] extern(C) private ssize_t 
> close(int fd) nothrow
> src/photon/linux/core.d(1150,27):        Previous IR type: i32 
> (i32)
> src/photon/linux/core.d(1150,27):        New IR type:      i64 
> (i32)
> ```
>
> In linux.core.d: extern(C) private ssize_t close(int fd) nothrow
>
> but `man 2 close` is `int close(int fd)`, it's a bug?

Yeah it's a bug. I think I've hit it recently and fixed. If I 
fail to produce the next big release in timely manner I'd do a 
hot fix. You might as well add it to issues on Github so we do 
not miss it.



More information about the Digitalmars-d-announce mailing list