-
Notifications
You must be signed in to change notification settings - Fork 458
Initial FreeBSD support #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I deployed a FreeBSD instance on azure with pipelines workers, but Docker is not supported on FreeBSD the same way as on Linux, therefore I need to make the tests work with jails instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few nits/questions
| @@ -8,16 +8,16 @@ pub mod drop_privileges; | |||
| mod integration_tests; | |||
| pub mod peer; | |||
|
|
|||
| #[cfg(any(target_os = "macos", target_os = "ios"))] | |||
| #[cfg(any(target_os = "macos", target_os = "freebsd"))] | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was that target_os = "ios" not load bearing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I'm afraid ios is never gonna support utun :(
| #[cfg(any(target_os = "macos", target_os = "ios"))] | ||
| #[path = "tun_darwin.rs"] | ||
| #[cfg(any(target_os = "macos", target_os = "freebsd"))] | ||
| #[path = "tun_bsd.rs"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may want this file name to indicate that it's both darwin and bsd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
darwin is considered bsd
|
Hi, any updates on this? Looks like there's merge conflicts now.. |
I plan to have official FreeBSD support by the end of this year |
LLT-5651 Add cryto bench build to the CI
Implement initial FreeBSD support.
Fixes #29