Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windows build command. #75

Open
uddhav-dave opened this issue Mar 3, 2023 · 0 comments
Open

Fix windows build command. #75

uddhav-dave opened this issue Mar 3, 2023 · 0 comments

Comments

@uddhav-dave
Copy link
Contributor

Building on windows requires adding feature flag to openpgp-dsm dependency in Cargo.toml of sq crate:

openpgp-dsm = { path = "../openpgp-dsm", default-features = false, features=["crypto-cng"]}

Without the above step the build process uses crypto-net as a dependency.

This step can be avoided by adding some platform specific dependency flags so that windows binary can be build using
cargo build --release --no-default-features --features=net,crypto-cng,compression out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant