Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Nicolas Schier <nsc@kernel.org>
To: Miguel Ojeda <ojeda@kernel.org>
Cc: "Rong Xu" <xur@google.com>, "Han Shen" <shenhan@google.com>,
	"Nathan Chancellor" <nathan@kernel.org>,
	linux-kbuild@vger.kernel.org, "Boqun Feng" <boqun@kernel.org>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"Daniel Almeida" <daniel.almeida@collabora.com>,
	"Tamir Duberstein" <tamird@kernel.org>,
	"Alexandre Courbot" <acourbot@nvidia.com>,
	"Onur Özkan" <work@onurozkan.dev>,
	rust-for-linux@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] kbuild: rust: support stabilized flag `-Cprofile-sample-use` for Rust >= 1.100
Date: Sat, 7 Nov 2026 14:21:12 +0100	[thread overview]
Message-ID: <au8lyM5upSIKcEdr@levanger> (raw)
In-Reply-To: <20261106073528.93371-1-ojeda@kernel.org>

On Fri, Nov 06, 2026 at 08:35:28AM +0100, Miguel Ojeda wrote:
> Starting with Rust 1.100.0 (expected 2026-11-12), the
> `-Zprofile-sample-use` flag has been stabilized as
> `-Cprofile-sample-use` and the former is not available anymore [1].
> 
> Without this change, when building with `CLANG_AUTOFDO_PROFILE` set, one
> gets in the latest betas and nightlies:
> 
>     error: unknown unstable option: `profile-sample-use`
> 
> Thus pass the right name.
> 
> Cc: stable@vger.kernel.org # Needed in 7.3.y.
> Link: https://github.com/rust-lang/rust/pull/155942 [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
> ---
> I can take it via `rust-fixes` to get it in for the release, but please
> let me know if you prefer to do something else. Thanks!

'rust-fixes' sounds good, thanks!

Acked-by: Nicolas Schier <nsc@kernel.org>


-- 
Nicolas

      parent reply	other threads:[~2026-11-07 13:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-06  7:35 [PATCH] kbuild: rust: support stabilized flag `-Cprofile-sample-use` for Rust >= 1.100 Miguel Ojeda
2026-11-06 10:45 ` Alice Ryhl
2026-11-06 11:04   ` Miguel Ojeda
2026-11-06 12:21     ` Gary Guo
2026-11-06 20:53     ` Nathan Chancellor
2026-11-07 13:21 ` Nicolas Schier [this message]

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=au8lyM5upSIKcEdr@levanger \
    --to=nsc@kernel.org \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun@kernel.org \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=gary@garyguo.net \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=nathan@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=shenhan@google.com \
    --cc=stable@vger.kernel.org \
    --cc=tamird@kernel.org \
    --cc=tmgross@umich.edu \
    --cc=work@onurozkan.dev \
    --cc=xur@google.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