Skip to content

Windows Arm64 - building from source #12326

Closed
@doberst

Description

@doberst

Hi Cryptography team!

I am trying to use the library on a Windows ARM64 machine, and looks like the only alternative is to build from source. I have set up the environment with the OpenSSL binaries for ARM64, but am having a lot of difficulties compiling the Rust source code, and the recipes provided in the documentation do not seem to be up-to-date or provide enough detail to get it working.

After a lot of tinkering, the Rust "cargo build" will find the OpenSSL binary, but then later in the process throws an error around not being able to find the path to "build_openssl.py" (from src\rust\cryptography-cffi\build.rs @ line 36). I have tried multiple obvious ways to ensure it finds the path, and not finding success with any. (Please note: I am not a Rust programmer - and am trying to use the cryptography library in a Python/C/C++ project.)

Welcome any feedback or advice. Generally, it would be great if you could support Windows ARM64, or alternatively, provide a more detailed recipe for how to build from source for this use case.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-on-reporterIssue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions