Re: git: f87e1a7a978e - main - devel/rustup-init: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 25 Mar 2025 19:27:03 UTC
Mikaël Urankar <mikael@FreeBSD.org> writes:

> On 3/25/25 3:04 PM, Gleb Popov wrote:
>
>> On Tue, Mar 25, 2025 at 10:51 AM Mikael Urankar <mikael@freebsd.org> wrote:
>>> The branch main has been updated by mikael:
>>>
>>> URL: https://cgit.FreeBSD.org/ports/commit/?id=f87e1a7a978e271387bf03d590640f3df264a2f2
>>>
>>> commit f87e1a7a978e271387bf03d590640f3df264a2f2
>>> Author:     King John <jinking.this@gmail.com>
>>> AuthorDate: 2025-03-22 04:54:31 +0000
>>> Commit:     Mikael Urankar <mikael@FreeBSD.org>
>>> CommitDate: 2025-03-25 07:50:29 +0000
>>>
>>>      devel/rustup-init: add new port
>>>
>>>      Rustup-init is the official installer for the Rust programming language.
>>>      It is used to install and manage Rust toolchains, including the Rust
>>>      compiler (rustc), the package manager (cargo), and other related tools.
>>>      Rustup itself is a toolchain multiplexer, meaning it allows you to easily
>>>      switch between different versions of Rust (e.g., stable, beta, nightly) and
>>>      manage cross-compilation targets. Rustup-init is the recommended way to install
>>>      Rust, as it provides a consistent and flexible way to manage Rust installations
>>>      across different platforms.
>> Does it really work on FreeBSD? Where does it get FreeBSD binaries from?
>
> Yes it works on FreeBSD.
>
> The binaries come from https://static.rust-lang.org/dist/ (for example
> https://static.rust-lang.org/dist/rust-1.85.1-x86_64-unknown-freebsd.tar.gz)

ONLY_FOR_ARCHS=amd64 ? According to https://static.rust-lang.org/dist/channel-rust-stable.toml
"rustc" is only provided for amd64 (aka x86_64), so it cannot be used on i386 hosts,
let alone non-x86 hosts.