-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on x86_64-pc-windows-gnu #11
Comments
Yes, some hash implementation don't support Windows/Mingw, we may need a subset for windows :( |
Is there something that can be done in the meantime to use the library on Windows? Feature flags for disabling offending hashers? |
I've made a Windows ( I had to do this quick, and so I had to disable CityHash, and inline the |
BTW I've built and tested it with a cross compiler. This can be done with |
Any update on this? |
This commit has a non-zero impact as it breaks all maps. However, I think other commits since the 0.3 already messed with the mapgen's elevation info. We mostly do this to get rid of the fasthash dependency. It is broken on some windows targets [1], and also requires rand 0.4. This commit rids us of these problems in place of the twox-hash crate which seems to have better maintenance. [1]: flier/rust-fasthash#11
Bumping as build still fails on Windows using latest master |
Getting this too. Is it not possible to feature flag or conditionally compile away non-cross-platform hashing functions? |
The published create for fasthash-sys (which fasthash depends on) seems to be using a very old build script (This one, from 2018-08-06: https://github.com/flier/rust-fasthash/blob/f44d81ac03478f218f5721db40b3e38cec1bbcd3/fasthash-sys/build.rs). The script has been extended much since then. |
To my (extremely uneducated) understanding this is because mingw doesn't have glibc, right?
The text was updated successfully, but these errors were encountered: