Skip to content

Commit

Permalink
Remove bindgen, seems like windows don't like it
Browse files Browse the repository at this point in the history
 - Add OPENSSL_RUST_USE_NASM to force windows to use nasm
  • Loading branch information
HeavenVolkoff committed Oct 20, 2023
1 parent de99592 commit b5af992
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .cargo/config.toml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FFMPEG_DIR = { force = true, value = "{{{nativeDeps}}}" }
{{/isLinux}}
OPENSSL_STATIC = { force = true, value = "1" }
OPENSSL_NO_VENDOR = { force = true, value = "0" }
OPENSSL_RUST_USE_NASM = { force = true, value = "1" }

{{#isMacOS}}
[target.x86_64-apple-darwin]
Expand Down
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ directories = "5.0.1"
# Override features of transitive dependencies
[dependencies.openssl]
version = "=0.10.57"
features = ["vendored", "bindgen"]
features = ["vendored"]
[dependencies.openssl-sys]
version = "=0.9.93"
features = ["vendored", "bindgen"]
features = ["vendored"]

[target.'cfg(target_os = "macos")'.dependencies]
plist = "1"
Expand Down

0 comments on commit b5af992

Please sign in to comment.