Skip to content

Current repo fails to build on Windows+nightly due to multiple causes #6

Open
@CaseyBaileyPDX

Description

@CaseyBaileyPDX

This is largely documentation for others encountering these issues, but I'm happy to provide a PR addressing them if that is preferred?

  1. The Windows NTAPI crate has a current bug that impacts at least the final Ch11 code - discussion here Edit - this seems to exist not only in nightly, but also stable
  • This can be fixed pretty simply by bumping the version of Tokio to current "1.28.0". This leaves the supporting crates (tracing/tracing-sub) behind, but updating them requires more extensive changes to the code. Leaving them as-is seems to work just fine.
  1. Vendored OpenSSL fails to build - this happens because the current vendor build script uses Perl which doesn't produce Windows-compatible paths.
  • This can be fixed by drop-in replacing openssl with rustls in Cargo.toml I think. I haven't encountered bugs yet, but I've also not extensively tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions