Open RadicalZephyr opened 5 years ago
There are two broad routes here:
For the AppVeyor route, building with MinGW is problematic because of a bug in rustc (I think?) that causes a linker error.
undefined reference to `_imp____acrt_iob_func'
This is apparently caused by a mismatch between mingw versions.
Discussions and possible workarounds I've found so far:
https://github.com/nabijaczleweli/cargo-update/issues/74 https://github.com/rust-lang/rust/issues/47048 https://github.com/racer-rust/racer/issues/919#issuecomment-413536972 https://github.com/rust-lang/rust/issues/47048#issuecomment-393176937 https://github.com/nabijaczleweli/cargo-update/blob/master/appveyor.yml#L16-L17
Example appveyor.yml
There are two broad routes here:
For the AppVeyor route, building with MinGW is problematic because of a bug in rustc (I think?) that causes a linker error.
This is apparently caused by a mismatch between mingw versions.
Discussions and possible workarounds I've found so far:
https://github.com/nabijaczleweli/cargo-update/issues/74 https://github.com/rust-lang/rust/issues/47048 https://github.com/racer-rust/racer/issues/919#issuecomment-413536972 https://github.com/rust-lang/rust/issues/47048#issuecomment-393176937 https://github.com/nabijaczleweli/cargo-update/blob/master/appveyor.yml#L16-L17
Example appveyor.yml