[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH rust] Add new target for GNU/Hurd
From: |
Sergey Bugaev |
Subject: |
Re: [PATCH rust] Add new target for GNU/Hurd |
Date: |
Tue, 11 Jul 2023 17:52:41 +0300 |
On Mon, Jul 10, 2023 at 10:53 PM Samuel Thibault
<samuel.thibault@gnu.org> wrote:
> llvm calls it i686-unknown-hurd-gnu (that was an intended behavior, even
> when knowing that gnu tools call it i686-unknown-gnu), so we should
> probably stick to that.
>
> I'd tend to keep it "hurd", because "gnu" is confusing for people.
> Notably in llvm there are various parts called "gnu" which are the parts
> shared between GNU/Linux, GNU/kFreeBSD, and GNU/Hurd.
That explains it, thanks. Damien, Vedant, please mention this in the
commit message and in comments.
Still, OS = "hurd" sounds very wrong to me. It's probably too late to
change the LLVM triplet (quadruplet?), but perhaps OS = "gnu-hurd"
(read: GNU/Hurd, not GNU Hurd) would be a good compromise for Rust?
Sergey
P.S. I wonder whether GNU leadership would have a strong opinion on this...
[PATCH rust-libc] i386-gnu: Add GNU/Hurd os, Damien Zammit, 2023/07/09