jcmoyer / rust-lua53

Lua 5.3 bindings for Rust
MIT License
158 stars 45 forks source link

MSVC support #69

Open therustmonk opened 8 years ago

therustmonk commented 8 years ago

Lua uses ANSI C, so MSVC can compile it and Rust supports MSVC ABI.

Feature: Add possibility to compile library within Visual Studio environment.

SpaceManiac commented 8 years ago

This becomes trivial if we throw away the platform-specific configuration in Lua's makefile and let the gcc crate (which, despite its name, supports MSVC) be responsible for building the library. Then it's a simple matter of passing in the list of .c files and the output filename and everything is done.

therustmonk commented 8 years ago

Looks fine. Also we'll take full control over all defines. We should implement it :+1:

Boscop commented 7 years ago

Is there any progress on this?

isavegas commented 7 years ago

@Boscop Currently, you can compile using MSVC by running your cargo commands within the VS developer command prompt.