Closed conorsch closed 1 year ago
How hard to we want to try to support Windows as a build target?
For now, let's focus on providing working Linux & macOS binaries. Once that's stable again, we can re-evaluate whether it's worth supporting Windows as a first-class build target.
We've dropped support for Windows as a build platform. For mac and Linux, we have working binaries again, see https://github.com/penumbra-zone/penumbra/releases/tag/v0.63.2. We may want to discuss supporting Windows as a first-class build target in the future, but that deserves its own issue. As a sidenote, I suspect that dropping vergen
from our build deps may simplify the Windows dependency story—but without regular use of those bins, compat is likely to break again.
Describe the bug It's not currently possible to build Penumbra on Windows platforms.
To Reproduce Steps to reproduce the behavior:
clang
).cmd.exe
chdir
into it, check outv0.63.1
, and runcargo build --release
.Expected behavior Builds succeed on Windows.
Additional context Initial search identifies this problem may have been fixed a while back https://github.com/MSxDOS/ntapi/commit/24fc1e47677fc9f6e38e5f154e6011dc9b270da6 but our outdated version of
vergen
depends on an outdated version ofntapi
. I suspect recent versions of Rust have made this problem more obvious, because Windows builds used to work, as recently as v0.61.0.How hard to we want to try to support Windows as a build target? AFAICT, none of the development team are using it. Perhaps upgrading
cargo-dist
and adding a job in CI to run the cross-platform builds occasionally would help us keep an eye on this.Refs https://github.com/penumbra-zone/penumbra/issues/3279