vhbit / lmdb-rs

Rust bindings for LMDB
MIT License
114 stars 47 forks source link

Windows / AppVeyor support #38

Closed photex closed 8 years ago

photex commented 8 years ago

Howdy!

As discussed in #37 I'm proposing the following changes to support windows, and I've added an appveyor config as requested.

photex commented 8 years ago

I'm experimenting with appveyor at the moment...

photex commented 8 years ago

Okidoki I think that's going to do it for appveyor. The gnu toolchain won't be able to build this yet without some tweaks. lmdb sources are trying to use the win32 apis still, which aren't being found, and I don't have the bandwidth right this second to figure that whole thing out.

This appears to work great for msvc when building for 32-bit and 64-bit targets.

Sometime down the road when I have the opportunity I'll probably try and work out what needs to happen to support the gnu toolchain as well.

photex commented 8 years ago

Just realized I was including a useless merge commit.. just force pushed and removed that.

photex commented 8 years ago

okidoki, updated with your comments addressed.

vhbit commented 8 years ago

Thanks!