txpipe / pallas

Rust-native building blocks for the Cardano blockchain ecosystem
Apache License 2.0
140 stars 58 forks source link

ci: fix gmp build on windows #477

Closed scarmuega closed 2 months ago

scarmuega commented 3 months ago

The rug -> gmp dep fails to build on windows because it requires msys2 instead of mvsc.

This PR adjusts the target used in the rust toolchain setup to stable-x86_64-pc-windows-gnu which takes care of the setup for msys2, but it still doesn't work because there are package dependencies that need to be installed inside msys2 (which I'm not clear how to do).

scarmuega commented 3 months ago

cc @AndrewWestberg

AndrewWestberg commented 2 months ago

Closing as this will get fixed with my next PR once I have num-bigint working and feature flags for gmp vs. num libs.