Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 9F69A7819C2 for <~alpine/devel@lists.alpinelinux.org>; Fri, 3 Apr 2020 08:30:09 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 687CE698F8; Fri, 3 Apr 2020 08:30:07 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id B77D6698F7; Fri, 3 Apr 2020 08:30:06 +0000 (UTC) Date: Fri, 3 Apr 2020 10:30:01 +0200 From: Natanael Copa To: Rasmus Thomsen Cc: ~alpine/devel@lists.alpinelinux.org Subject: rust triples (WAS: Re: Planning for 3.12 feature freeze) Message-ID: <20200403103001.4a0b1dd6@ncopa-desktop.copa.dup.pw> In-Reply-To: References: <20200330121403.71f8e7f9@ncopa-desktop.copa.dup.pw> <72a881ad47bc7e8d79e8c7d94a9d23319fd5288f.camel@cogitri.dev> <20200330124614.2afc0075@ncopa-desktop.copa.dup.pw> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 30 Mar 2020 12:51:20 +0200 Rasmus Thomsen wrote: > On Mon, 2020-03-30 at 12:46 +0200, Natanael Copa wrote: > > On Mon, 30 Mar 2020 12:35:58 +0200 > > Rasmus Thomsen wrote: > > > > > As for fixing the rust triplets: I started to doubt if that's > > > actually > > > useful. I mean it _is_ nice to have a custom triplet with our name > > > on > > > it for the options we set, but right now there are some really > > > weird > > > issues during compilation with custom triplets that I can't seem to > > > get > > > behind and we currently have to work around some rust crates not > > > working with custom triplets and needing patches (see e.g. FF). > > I believe those problems comes from inconsistent triples, at least in > > the firefox case? I think the firefox patch is an ugly hack for a > > different underlying problem. > > > > -nc > > No, in the Firefox case it happens because FF has a hardcoded list of > triplets and we're not on that list. There have been some improvements > in a third-party crate that FF uses for triplet detection (so > compilation itself works if FF were to use the latest version...), but > FF's python configure thingie still needs patches either way. Ok. I still think we should either use `*-unknown-linux` or `*-alpine-linux` consistenly only all arches. I don't know which is to prefer though. https://gitlab.alpinelinux.org/alpine/aports/issues/11349 -nc