# Feature request: cross compile improve for Rust on windows

**URL:** <https://internals.rust-lang.org/t/feature-request-cross-compile-improve-for-rust-on-windows/14527>\
**Category:** Uncategorized\
**Created:** [April 20, 2021, 1:08am UTC](https://internals.rust-lang.org/t/feature-request-cross-compile-improve-for-rust-on-windows/14527 "2021-04-20T01:08:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![canfuzzy](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/canfuzzy/32/7770_2.png) [@canfuzzy](https://internals.rust-lang.org/u/canfuzzy)\
**Post date:** [April 20, 2021, 1:08am UTC](https://internals.rust-lang.org/t/feature-request-cross-compile-improve-for-rust-on-windows/14527/1 "2021-04-20T01:08:24Z")

</div>

Hope cross compile improve for Rust on windows. Yes, I am developer who using windows. but my target deploy machine is Linux. I want to using cross compile for linux machine. but i can not fix the problem with Rust .

I also using Dotnet, Java, Even Golang,

They can easily to cross compile for linux. Golang works well with MingW, Mysys2[gcc,g++)

But rust not working at all.

I am not really good at rust, can not help my self out of the problem.

wish rust have better support for cross compile.

---

<div class="post-metadata">

**Author:** ![mbrubeck](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/mbrubeck/32/174_2.png) [@mbrubeck](https://internals.rust-lang.org/u/mbrubeck)\
**Post date:** [April 20, 2021, 2:02am UTC](https://internals.rust-lang.org/t/feature-request-cross-compile-improve-for-rust-on-windows/14527/2 "2021-04-20T02:02:25Z")

</div>

This repository has instructions for cross compiling from Windows to Linux: [GitHub - KodrAus/rust-cross-compile: An example of cross compiling Rust apps to Linux on Windows, with only rustup](https://github.com/KodrAus/rust-cross-compile)

If you have trouble getting cross compilation working, please share details of what you're trying to do and what errors you are seeing on [the Rust Users Forum](https://users.rust-lang.org/).

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [July 19, 2021, 2:03am UTC](https://internals.rust-lang.org/t/feature-request-cross-compile-improve-for-rust-on-windows/14527/3 "2021-07-19T02:03:23Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
