Closed Ralith closed 9 months ago
That seems reasonable. I think the more interesting aspect will be CI coverage. It looks like Quinn is using vmactions/freebsd-vm@v1
for that. I suppose we should follow suit?
I agree this is just an oversight and FreeBSD support should be expected. vmactions/freebsd-vm@v1
seems like it's pretty widely used on GitHub.
As for the proper gate, I think we want this for the other.rs
module. Android has its own implementation, not just Apple's platforms:
cfg(all(unix, not(target_os = "android") not(target_os = "macos"), not(target_os = "ios")))
This is blocking Quinn from shipping rustls-platform-verifier helpers out of the box (https://github.com/quinn-rs/quinn/pull/1734). May be as simple as replacing
cfg(target_os = "linux")
withcfg(all(unix, not(target_os = "macos"), not(target_os = "ios")))
.