rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: rust-for-linux@vger.kernel.org
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	"Vincent Guittot" <vincent.guittot@linaro.org>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Erik Schilling" <erik.schilling@linaro.org>
Subject: [BUG] Rustup override doesn't work with O=<build dir>
Date: Thu, 7 Dec 2023 14:18:46 +0530	[thread overview]
Message-ID: <20231207084846.faset66xzuoyvdlg@vireshk-i7> (raw)

Hi Guys,

I have just started looking into the kernel's Rust side and found out a minor
issue with build.

I use a newer version of 'rustc' for my non-kernel work and have set `rustup
override` for the kernel's directory to use '1.73.0'.

But when I build the kernel with O=<build dir>, I get:
"Rust compiler 'rustc' is too new. This may or may not work."

Setting the override for the build directory too fixes it. Not sure how to fix
Makefile for this and so reporting here.

Thanks.

-- 
viresh

             reply	other threads:[~2023-12-07  8:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07  8:48 Viresh Kumar [this message]
2023-12-07 13:10 ` [BUG] Rustup override doesn't work with O=<build dir> Andreas Hindborg (Samsung)
2023-12-07 13:15 ` Miguel Ojeda
2023-12-18 12:02   ` Masahiro Yamada
2023-12-18 13:06     ` Miguel Ojeda

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=20231207084846.faset66xzuoyvdlg@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=alex.gaynor@gmail.com \
    --cc=erik.schilling@linaro.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=vincent.guittot@linaro.org \
    --cc=wedsonaf@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).