IcedTea-Web: Building a portable rust-launcher on windows
Jiri Vanek
jvanek at redhat.com
Wed Apr 3 12:45:51 UTC 2019
On 4/3/19 2:36 PM, Christian Svedin wrote:
> I have built icedtea-web locally on windows from the icedtea-web-1.8-branchpoint tag.
> I get a rust-launcher that's 370 kB big, compared to the one in the msi package for your 1.8 release
> which is about 10 times bigger.
>
> My guess is that mine is dynamically linked and yours is statically linked. On some machines I get
> errors about missing vcruntime-libraries.
Likely. Up to now, I thought rust is not (currently) capable of dynamic linking.
>
> Are there any flags I should use when building, or do I need to install anything to get statically
> linked .exe files?
Nothoing I know about. On both win and linux I run just cargo build. See makefiles.
> Maybe I should use another version of the rust compiler or cargo? I have rustc version 1.31.1 and
> cargo version 1.31.0
>
> --
>
> Ida Infront
>
> Christian Svedin
> Systemutvecklare
>
> Ida Infront AB | Box 576 | SE-581 07 Linköping | Sweden
> mobile 0702 09 22 40 | direct 013 37 37 47
> e-mail christian.svedin at idainfront.se | web www.idainfront.se
>
--
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com M: +420775390109
More information about the distro-pkg-dev
mailing list