Skip to content

Commit

Permalink
vcpkg root
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 22, 2024
1 parent 61cc984 commit b571ea5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
run: |
vcpkg install mpir:x64-windows-static
vcpkg integrate install
echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
Expand Down
7 changes: 0 additions & 7 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion rust_bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ link-cplusplus = "1.0.9"
[build-dependencies]
bindgen = "0.69.4"
cmake = "0.1.50"
vcpkg = "0.2.15"

[dev-dependencies]
hex = "0.4.3"
Expand Down
2 changes: 0 additions & 2 deletions rust_bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ fn main() {
.to_str()
.unwrap()
);

vcpkg::find_package("mpir").unwrap();
} else {
println!(
"cargo:rustc-link-search=native={}",
Expand Down

0 comments on commit b571ea5

Please sign in to comment.