mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Levi Zim <i@kxxt.dev>
To: Dmitrii Dolgov <9erthalion6@gmail.com>,
	linux-perf-users@vger.kernel.org, Ian Rogers <irogers@google.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Miguel Ojeda <ojeda@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
	rust-for-linux <rust-for-linux@vger.kernel.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Nicolas Schier <nsc@kernel.org>
Subject: Re: [PATCH v3] tools build: Fix rust cross compilation
Date: Wed, 18 Feb 2026 18:57:18 +0800	[thread overview]
Message-ID: <d1a55d2d-b2b6-4763-a6b6-c7aa843c43ac@kxxt.dev> (raw)
In-Reply-To: <20260218084736.33114-1-9erthalion6@gmail.com>

On 2/18/26 4:47 PM, Dmitrii Dolgov wrote:
> +    RUST_TARGET_FLAGS_riscv	:= riscv64-unknown-linux-gnu

riscv64-unknown-linux-gnu is not a valid rust target triple.
It should be riscv64gc-unknown-linux-gnu [1] if this is applied to build user-space Rust binaries.

[1]: https://doc.rust-lang.org/beta/rustc/platform-support/riscv64gc-unknown-linux-gnu.html

Best Regards,
Levi

  reply	other threads:[~2026-02-18 11:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18  8:47 Dmitrii Dolgov
2026-02-18 10:57 ` Levi Zim [this message]
2026-02-18 13:51   ` Dmitry Dolgov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1a55d2d-b2b6-4763-a6b6-c7aa843c43ac@kxxt.dev \
    --to=i@kxxt.dev \
    --cc=9erthalion6@gmail.com \
    --cc=acme@kernel.org \
    --cc=irogers@google.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=namhyung@kernel.org \
    --cc=nathan@kernel.org \
    --cc=nsc@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®