Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix FreeBSD's get_os uname's pattern matching
The previous code would lead to compilation error on the latest FreeBSD (14.0) release. Both with the rust pkg (version 1.72), as well as with the latest stable compiler (version 1.76). Compilation error was about mismatched types, with the pattern match branches being Option<&str>, when a &str was currently expected. Compiler's advised fix was to wrap the branch patterns in a `Some`, which was done in this commit.
- Loading branch information