Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2408172rdb; Mon, 5 Feb 2024 05:55:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUIIPdMfmpwNfauvCkgLg5Wb2jEPX1VT7RZLqG2iL19k2Psisg3L4f/cO4rz+LaXJejw/O X-Received: by 2002:aa7:d58b:0:b0:55e:f51c:8cde with SMTP id r11-20020aa7d58b000000b0055ef51c8cdemr5679743edq.39.1707141356423; Mon, 05 Feb 2024 05:55:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707141356; cv=pass; d=google.com; s=arc-20160816; b=dO7yT/GvPAegGprisjoSXaGByiJZA4L65xiSn5pIPrKe+ezpHmtIWzplTaja8oWwCY NTXb8AKZomOXh+wU78i/RPXJ8vMYCbvEQxFiayUM9M6L1OUS8SkN4/3vXcrkLz9oJgyO gT66hShO2l6e6qkBcwLNousGigOBa3Q/mO7EE4eRYkfmDhAljEjc9lNLov32FxzFj6uU ke1JIqznne34pL3TlNclsLTsgr77xGheuTpjSowZ6JCplcMWryK4feGazoI0ppih0j1N I7Y94Cx6uwP9jBhxew2KtKzeQma16N2GAW9dLXUH4ebMhBMiB+pba0jvlnUoYKbjWhgC Jd9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=zqgzJpnAG+g5K7FixWrk7l6k12DPaioO4UV8OexrcUs=; fh=rwRgFYJ6HL/brlauc3ehn4lx8EFkzclYpJ0OCCAhN54=; b=Tde21AoSy1Lc70g1+PJqekOB4opqlnLoDp38Hs8TFEEVtNHjuUZxKZt8oEwnqjJfXN sG/TyGoTxLkCfIqxEqPBgb4LdMQMpzP8d/eNFagEg8BCnaNilqZM5tqJIB5NiGH+iNNn ofJ8ffs/OLnNMJvacXetKmOItmz9Rl2CxqhXFLmcRFyZvKaCB3PSLsg5MEO+D3Fd+FxC 12fsWuO+/Xy1kW/plwmxMlYA96nAArpXsTts56ppaUmbU2CQD2UWaRcgaD4OvQZG7F/K W4BZr5HQrzoKq9uZc+GpTue+mKjstcvJ1CnQEuQtI/etCb8lcXx4QgH+WUw53k8CD6Sn lZaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="nd/eHhZV"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52756-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52756-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCW9ESrbzGgVrpmFi3N6mGt49onc8eYRPI7KytZ/Bqziahk3m76mE53/1+ysxHEFMHDWX+wHeFVvv1sN7nlkT8vBgAl5E/ElEPMgxT3tPg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g5-20020a50ee05000000b0055f63fd6152si3833782eds.602.2024.02.05.05.55.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 05:55:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52756-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="nd/eHhZV"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52756-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52756-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 04BFC1F257B3 for ; Mon, 5 Feb 2024 13:55:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DECD26ACD; Mon, 5 Feb 2024 13:54:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nd/eHhZV" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 4BDDE20DF7; Mon, 5 Feb 2024 13:54:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707141293; cv=none; b=p6w8wDbrwiowMlLYUaB/7pWrP3vKjeMpafSThhcuevSBBpTaKe88Ej+7jngrzgb+Kq3L1fK01cEyk6nbw+PurryhvH8aTQMtW802t6G04xwh1ewqZlYic7rgBC54IZNn/bsPND7ZdFF4kg2BjE+kCFcYxTtZRWvp15JVxrfyoK4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707141293; c=relaxed/simple; bh=acweT+i277382WZB+wyUx+MhWf5O3le9YAhJ7llTVi0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NyZFaKo6omkRcFCfE48SQ2cexSYAlaYrv8K4Ts17lKH/drUOfX19DosTs5Z9RfIRL02tB/hMj5r6y4ypN+QXdnnfzHVg0MO1LmtDECkH/kvXsNPHvhWQBBg2Qy3OGEntJFEA4EzdW6gyoAAzll+nJZCqMtbvjh3HwF9e/XxMCPM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nd/eHhZV; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-5dc20645871so296626a12.1; Mon, 05 Feb 2024 05:54:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707141291; x=1707746091; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=zqgzJpnAG+g5K7FixWrk7l6k12DPaioO4UV8OexrcUs=; b=nd/eHhZV9jhJMg/83AB3KgsC1bNW80bYNnxTBxhZe1femcuxbx2l4uJgHs2IuY+jjG 7f4XZM0gEdJ/9qqhUD1o+sLr5bkoNwl/GSQA5XRJwcJgSfntOIKZ45ggqsPM2B7I576x yvFaLf8zCV+4Lti+9QqoBos5vTwgbvQfuBtr/bH3ObZU5KYUHr53U0a1OnAeC5ZVBkcs atFS60QHNShZlxlgdFVKcpMCT+pJZupqaXKmCwojJeHQ9rGc0IAUWWxdD1bCxSg5lKj9 tnc8PRi2o7z5BV+ntOcXMmNRQjY1o4HXNak1ov05NszX3sk7zlnx3soHYVaZHNVsQEtD Hj1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707141291; x=1707746091; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zqgzJpnAG+g5K7FixWrk7l6k12DPaioO4UV8OexrcUs=; b=GOdnA/Gp6XqvOrZProm7sDWKq7r4yQyPhVcXcFA5fbHVIJxRkbdmjk4lPLjDk820lT ss9lItZaKaKIgbT1oww71jGvNzeu8+dsBxdK21mx1H+I96/4XjiUq/LaXl+8bVjDEewE 64Dd+XPFvndNMH01xs7RbiRsM11EGwtgswFRUNCOwJsG6e1/bUm0ObzSrFnvDYtHBgaH cikg/FVNAszJxvZ8pWFqelHBcOdTOq2alqaLX76pfCG5XsDjdkl7UTVLxghG23eY68zd FiOOklSR5kiu7FuHo8JMLauA3BsimFvVIQgFoDG2U8nswXX9TsEPoJLtBTF3MHrGJZy1 cXdg== X-Gm-Message-State: AOJu0Yxe9Zt/qrfhLX3PDpmX4Yi+omEaDQng7mVWfg93EE/c5Rlb9Rlz s1uQQPRxu/wAdqCefrn/Gr72xJgZrjwzk/psgkyormaiseuJS3iX X-Received: by 2002:a05:6a20:e117:b0:19e:3373:d726 with SMTP id kr23-20020a056a20e11700b0019e3373d726mr7904207pzb.2.1707141291463; Mon, 05 Feb 2024 05:54:51 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVxzqLBig94psI5YkJIkSai/nTpU/RgYd8pSaveuWqr8lRZhI0Zg2WPwJv69LLUC1Mj8dYFaLb8/fVwvK91Lxc+c9gFdFzoBHJSeRmSTnaU3JUFmLmdOKdOqQIxWs/skYizBhRJKhW9eGpO+C90+CXj3bD30Nnc1K52EdT2c0WL66aiDFTFaqWbWfIXjdDIBkFlAx8gpNwUHtD3Uq/Qwe3nTEfQYCtPkVx3CyLmPUt52hXoG3hoD7GMpz3veTyJc39e5CkPrlTIPB2U4cYNNvBuh3gKxWg2F5vJeNnHfIO7+a/jGsa0mcu0XSGu/uIlwQ== Received: from [192.168.54.105] (static.220.238.itcsa.net. [190.15.220.238]) by smtp.gmail.com with ESMTPSA id x18-20020a634a12000000b005d64d09acffsm6929232pga.72.2024.02.05.05.54.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Feb 2024 05:54:51 -0800 (PST) Message-ID: Date: Mon, 5 Feb 2024 10:54:46 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] rust: stop using ptr_metadata feature Content-Language: en-US To: Alice Ryhl , Miguel Ojeda Cc: Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240205091842.2858516-1-aliceryhl@google.com> From: Martin Rodriguez Reboredo In-Reply-To: <20240205091842.2858516-1-aliceryhl@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/5/24 06:18, Alice Ryhl wrote: > The `byte_sub` method was stabilized in Rust 1.75.0. By using that > method, we no longer need the unstable `ptr_metadata` feature for > implementing `Arc::from_raw`. > > This brings us one step closer towards not using unstable compiler > features. > > Signed-off-by: Alice Ryhl > --- > [...] Reviewed-by: Martin Rodriguez Reboredo