Skip to content

Commit

Permalink
vcpkg?
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 22, 2024
1 parent 2afad11 commit ed9461b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: MacOS - GMP library path
- name: GMP library path on MacOS
if: matrix.os.name == 'macOS'
run: echo "LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV

- name: Windows - Download MPIR
- name: Install MPIR on Windows
if: matrix.os.name == 'Windows'
run: git clone https://github.com/Chia-Network/mpir_gc_x64.git
run: vcpkg install mpir

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
Expand Down
10 changes: 0 additions & 10 deletions rust_bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,6 @@ fn main() {
.unwrap()
);

println!(
"cargo:rustc-link-search=native={}",
src_dir
.parent()
.unwrap()
.join("mpir_gc_x64")
.to_str()
.unwrap()
);

println!("cargo:rustc-link-lib=static=mpir");
} else {
println!(
Expand Down

0 comments on commit ed9461b

Please sign in to comment.