<div dir="ltr"><div dir="ltr">On Wed, Jul 22, 2020 at 12:10 AM Martin Storsjö <<a href="mailto:martin@martin.st">martin@martin.st</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 21 Jul 2020, rustyc wrote:<br>
<br>
> ---<br>
> contrib/src/main.mak | 30 ++++++++++++++++++++++++++++++<br>
> 1 file changed, 30 insertions(+)<br>
><br>
> diff --git a/contrib/src/main.mak b/contrib/src/main.mak<br>
> index 3119a39875..c8d7df4202 100644<br>
> --- a/contrib/src/main.mak<br>
> +++ b/contrib/src/main.mak<br>
> @@ -440,6 +440,36 @@ else<br>
> MESON = meson $(MESONFLAGS)<br>
> endif<br>
> <br>
> +ifdef HAVE_WIN32<br>
> +RUST_TARGET = i686-pc-windows-gnu<br>
> +else ifdef HAVE_WIN64<br>
> +RUST_TARGET = x86_64-pc-windows-gnu<br>
<br>
This is incorrectly assuming that windows implies x86. HAVE_WIN* only <br>
implies the bitness, but it can still be armv7 and aarch64 in addition to <br>
i686 and x86_64.<br>
<br></blockquote><div>Yes, that is true. I had added it this way by looking at the various triplets used by VLC (from the gitlab-ci.yml). I didn't specify armv7 and aarch64 because I thought they aren't used. But it is not future proof in any way, I'll fix this.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
// Martin<br>
<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div></div>