smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.64k stars 404 forks source link

Add support for NetBSD #883

Closed iamleot closed 6 months ago

iamleot commented 6 months ago

This PR adds support for NetBSD (undefined bits are exactly the same/similar to macOS/OpenBSD).


Now cargo build --lib --release can build smoltcp on NetBSD too!


This is needed for e.g. mitmproxy_rs.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3f2a219) 79.77% compared to head (eca92ad) 79.77%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #883 +/- ## ======================================= Coverage 79.77% 79.77% ======================================= Files 78 78 Lines 28133 28133 ======================================= Hits 22443 22443 Misses 5690 5690 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

thvdveld commented 6 months ago

Thank you!

iamleot commented 6 months ago

Thank you Thibaut!