From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f73.google.com (mail-ej1-f73.google.com [209.85.218.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8940405AB6 for ; Wed, 1 Apr 2026 12:24:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775046303; cv=none; b=eXAN9S8Enijbq0IND9857b+kLCA/oNK2qLXObhRHLrUSdJ+8mv1DG66T1GXxWNzhy1zvyqz2L3f8El6tFGsQp87QTzBPVCg79iywyMahU1l87xZN/bHrjdgXuBuz6JVVCpVobcfoUw1/Jv5MhamSs2x8wS1gvLoEdnYrlxoHrFM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775046303; c=relaxed/simple; bh=yZLwdPudHgAh/FG2OADadb/MS8JqcR/BjsVN9oFtlNA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=rdQXZt+D//2uklFClu5gpy9Oe+M4dq/MS/0fFeMDMdxNsguZIMJk3Ip/ejV6ByGwxmkoGl3KtQtnfIkie1lFT2aT2Wr+7kk8ohsqsbZmk5UTmEmpRRpfqHwkOOQPO4YiNDXDPTFN2/3j3VOmZibIsrBdMtmaiKlo2JpintDVwHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=t6SsTE3W; arc=none smtp.client-ip=209.85.218.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="t6SsTE3W" Received: by mail-ej1-f73.google.com with SMTP id a640c23a62f3a-b97f04b44b9so538272166b.0 for ; Wed, 01 Apr 2026 05:24:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1775046298; x=1775651098; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=Ycc6WMg7OLshR/yyfU2jpKKLPa+z0xOJ3hTWvecsxRM=; b=t6SsTE3WFu/gCt0PjF1971y/5E2KV+O5Z5ki8//jv3wpGuFpiOl/lveW1ob11D4Xp5 gUaL062812D/2InxzBdhgIY9Is9sKz5DUo08SZVKfRT1AB181cq3ISUH2PverhdM0cXo eJxtGFZEvPzlWWRxr9ZOfcPEcmzYNNhOFdZc6g/AU917x0QaD55f3aBf8pDx2XrHvYFj NsaZuhl13q6nOYsHXDbWJdfHH6PRRXwCsQ35RXNb/gpkhAKdfr74+zdwXjHlaT/Hibk3 OT913PTd/JlAlHZ1bjqlNcaTJO/4V1AziHV6PRGPFLB8JJf7GKpTb/QqQUPhiTNONx9Z Fblw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775046298; x=1775651098; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ycc6WMg7OLshR/yyfU2jpKKLPa+z0xOJ3hTWvecsxRM=; b=DCUjlj+i4fwhQIpAzehYyYM0VX0qSFIWSCGo4sKE5D5ThdbEcUizcKA1zGqfIkoYgk QQNMdRgQoQWiYRktbcdDNkA2xRxH1+x7p2sSSA7w4Ij4t1PqJJE3x2G4IMiL2Vq4JovD eTkzlYja0cajJrCt75JAI+aumLfEpUABlx1ltxR11nbsg2cWBWr4//u2B/9ecxOIlzlT L6/feWRj3bHKmXi6Zdvhu2158EB93IdQA1zjrmuKipIfc3n9RyfS0/BEA9XV6+Y8l78I pVWpUm6DhP9m4LOl0WR+zPZp3RpvHZ5rIixnEny6I8nwpOiPtHRrYohyXSPLu9s6Le7x QAuw== X-Forwarded-Encrypted: i=1; AJvYcCWj9mJmvMOjsHWjtD3cGnrVtoQbsE65ww2Onqafn4q6O9Axu+5+axgvtwPhCe7UhHVLB0W+kCJbU92yDLo=@vger.kernel.org X-Gm-Message-State: AOJu0Yw8Txe4PGk2i9TClPk2fauUk6Y1puHjBUc2pahf1XRFEAYlyjDh XGyIrxV6ITnaCmBL5zJrHbPwBZJfxjf0654KV/7aycxF8QnZkWMPiloVoQLXB5thpUUEPs4XJsV 3qJq0+NOh5FmBBqkUbQ== X-Received: from ejcbp3.prod.google.com ([2002:a17:907:26c3:b0:b9b:54ac:688a]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a17:907:c448:b0:b99:5f69:9ee2 with SMTP id a640c23a62f3a-b9c13cf93e8mr221111666b.52.1775046297024; Wed, 01 Apr 2026 05:24:57 -0700 (PDT) Date: Wed, 1 Apr 2026 12:24:55 +0000 In-Reply-To: <20260401114540.30108-2-ojeda@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260401114540.30108-1-ojeda@kernel.org> <20260401114540.30108-2-ojeda@kernel.org> Message-ID: Subject: Re: [PATCH 01/33] rust: bump Rust minimum supported version to 1.85.0 (Debian Trixie) From: Alice Ryhl To: Miguel Ojeda Cc: Nathan Chancellor , Nicolas Schier , Danilo Krummrich , Andreas Hindborg , Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Courbot , David Airlie , Simona Vetter , Brendan Higgins , David Gow , Greg Kroah-Hartman , "Arve =?utf-8?B?SGrDuG5uZXbDpWc=?=" , Todd Kjos , Christian Brauner , Carlos Llamas , Jonathan Corbet , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Trevor Gross , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, Lorenzo Stoakes , Vlastimil Babka , "Liam R . Howlett" , Uladzislau Rezki , linux-block@vger.kernel.org, moderated for non-subscribers , Alexandre Ghiti , linux-riscv@lists.infradead.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Rae Moar , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Nick Desaulniers , Bill Wendling , Justin Stitt , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Shuah Khan , linux-doc@vger.kernel.org Content-Type: text/plain; charset="utf-8" On Wed, Apr 01, 2026 at 01:45:08PM +0200, Miguel Ojeda wrote: > As proposed in the past in e.g. LPC 2025 and the Maintainers Summit [1], > we are going to follow Debian Stable's Rust versions as our minimum > supported version. > > Debian Trixie was released with a Rust 1.85.0 toolchain [2], which it > still uses to this day [3] (i.e. no update to Rust 1.85.1). Debian really *should* pick up 1.85.1. It contains bugfixes serious enough that the Rust team decided it was reasonble to release a point release. > Debian Trixie's release happened on 2025-08-09 [4], which means that a > fair amount of time has passed since its release for kernel developers > to upgrade. > > Thus bump the minimum to the new version. > > Then, in later commits, clean up most of the workarounds and other bits > that this upgrade of the minimum allows us. > > pin-init was left as-is since the patches come from upstream. And the > vendored crates are unmodified, since we do not want to change those. > > Note that the minimum LLVM major version for Rust 1.85.0 is LLVM 18 (the > Rust upstream binaries use LLVM 19.1.7), thus e.g. `RUSTC_LLVM_VERSION` > tests can also be updated, but there are no suitable ones to simplify. > > Ubuntu 25.10 also has a recent enough Rust toolchain [5], and they also > provide versioned packages with a Rust 1.85.1 toolchain even back to > Ubuntu 22.04 LTS [6]. > > Link: https://lwn.net/Articles/1050174/ [1] > Link: https://www.debian.org/releases/trixie/release-notes/whats-new.en.html#desktops-and-well-known-packages [2] > Link: https://packages.debian.org/trixie/rustc [3] > Link: https://www.debian.org/releases/trixie/ [4] > Link: https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=rustc [5] > Link: https://launchpad.net/ubuntu/+source/rustc-1.85 [6] > Signed-off-by: Miguel Ojeda Acked-by: Alice Ryhl