Re: Using modern APIs in Rust on FreeBSD

2021-09-22 Thread Konstantin Belousov
On Wed, Sep 22, 2021 at 06:27:09AM +0200, Damjan Jovanovic wrote: > On Wed, Sep 22, 2021 at 6:08 AM Alan Somers wrote: > > > tldr; should the Rust ecosystem ditch FreeBSD 10 compat for new code? > > > > Rust uses FFI to talk to the OS's C library. That makes cross-compiling a > > breeze.

Re: Using modern APIs in Rust on FreeBSD

2021-09-21 Thread Damjan Jovanovic
On Wed, Sep 22, 2021 at 6:08 AM Alan Somers wrote: > tldr; should the Rust ecosystem ditch FreeBSD 10 compat for new code? > > Rust uses FFI to talk to the OS's C library. That makes cross-compiling a > breeze. Unfortunately, it also fossilizes the ABI. FreeBSD's libc makes > careful use of