cc-rs icon indicating copy to clipboard operation
cc-rs copied to clipboard

Support finding Windows tools on non-Windows host

Open cavivie opened this issue 1 year ago • 1 comments

This PR contains a simple implementation of building targets on non-Windows platform. it supports manually set environment variables to find Windows msvc tools.

By setting VCINSTALLDIR environment variable, we can search msvc tools simply, and resolve related issues:

  • https://github.com/rust-lang/cc-rs/issues/797

Currently, this PR can be regarded as a draft implementation, and the implementation details may still be discussed.

cavivie avatar Nov 28 '23 08:11 cavivie

@ChrisDenton It would be great if you could give me some advice.

cavivie avatar Nov 28 '23 09:11 cavivie

cc @thomcc I will need your help on how to move forward with this PR

NobodyXu avatar Jan 29 '24 22:01 NobodyXu

subbing. very interested to be able to use cross for msvc compilation.

maaft avatar Feb 01 '24 15:02 maaft

cc @cavivie Can you rebase this please?

I'm willing to merge it in.

NobodyXu avatar Feb 23 '24 23:02 NobodyXu

cc @cavivie Can you rebase this please?

I'm willing to merge it in.

Okay, I will do it as soon as possible.

cavivie avatar Feb 25 '24 07:02 cavivie