Skip to content
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

MSVC support #69

Open
therustmonk opened this issue Sep 2, 2016 · 4 comments
Open

MSVC support #69

therustmonk opened this issue Sep 2, 2016 · 4 comments

Comments

@therustmonk
Copy link
Contributor

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
Copy link
Contributor

SpaceManiac commented Sep 2, 2016

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
Copy link
Contributor Author

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

@Boscop
Copy link

Boscop commented Jun 13, 2017

Is there any progress on this?

@isavegas
Copy link
Contributor

isavegas commented Jun 13, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants