rust-or / highs-sys

Rust binding for the HiGHS linear programming solver
https://docs.rs/highs-sys
10 stars 16 forks source link

Link libstdc++ on mingw targets #28

Closed 9names closed 2 months ago

9names commented 2 months ago

Without this, users compiling for mingw (either natively or cross-compiling) get linker errors. Tested from ubuntu 20.04:

sudo apt install mingw-w64-x86-64-dev mingw-w64
rustup target add x86_64-pc-windows-gnu
cargo build --target x86_64-pc-windows-gnu
lovasoa commented 2 months ago

thanks !