Re: [PATCH rust-libc] i386-gnu: Add GNU/Hurd os

2023-07-10 Thread Samuel Thibault
Sergey Bugaev, le lun. 10 juil. 2023 12:51:15 +0300, a ecrit: > On Sun, Jul 9, 2023 at 1:06 PM Damien Zammit wrote: > > diff --git a/src/unix/hurd/mod.rs b/src/unix/hurd/mod.rs > > new file mode 100644 > > index 0..676ea2515 > > --- /dev/null > > +++ b/src/unix/hurd/mod.rs > > @@ -0,0 +1,2

Re: [PATCH rust-libc] i386-gnu: Add GNU/Hurd os

2023-07-10 Thread Sergey Bugaev
On Sun, Jul 9, 2023 at 1:06 PM Damien Zammit wrote: > Autogenerated mod.rs in 2021 with: > > bindgen input.h -- --sysroot=./hurd-headers -I./hurd-headers/include \ > -I./hurd-headers/include/i386-gnu -target i386-gnu > mod.rs I realize this is autogenerated and not written by you, but: >

[PATCH rust-libc] i386-gnu: Add GNU/Hurd os

2023-07-09 Thread Damien Zammit
Autogenerated mod.rs in 2021 with: bindgen input.h -- --sysroot=./hurd-headers -I./hurd-headers/include \ -I./hurd-headers/include/i386-gnu -target i386-gnu > mod.rs Hand cherry-picked some required rust code and tweaked to make libc compile. The remaining work is tweaking libstd and add