From nobody Fri Nov 29 19:23:48 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4619F18A6CC; Tue, 17 Sep 2024 14:17:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726582666; cv=none; b=k2iUKGj+HUTGLdtsb/Ry4bPithXgoNgMq3xVXWue2XjzNFo8M23FJYd39raqSqQQHV0aGYAwWtpIi2W/yxsZtNKIYFPVI33o0W1O+/IjACkBNz0Y9EgIm8Req6h4llzgFq14t3rFZcS7IyP8ZyO/HPje8XgZfImkYGDpHHKPKVs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726582666; c=relaxed/simple; bh=+9PNpuHsdm7Ec9+L5pNvm1cAeo6Z5ZSpTWnrQWR6nsc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k1sf6F2hXZRI2ioKLgbyykpJG7on1UvyGD1IeDQO7eIMtyOA8nAog++qWz8rFpBchjIAbjxjMt0KLfkgAb3+zCzUGSIZ97vpc/C4VMS0eS1J3ceY4XZ9/XFc9ePYf8Rgv+UoZoK2rleGSpwN7eC/kcBdOz5OE87DEUoQOvy2gNA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BTwPRpGA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BTwPRpGA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 599BAC4CEC5; Tue, 17 Sep 2024 14:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726582666; bh=+9PNpuHsdm7Ec9+L5pNvm1cAeo6Z5ZSpTWnrQWR6nsc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BTwPRpGA7aRIKVZP6gJs11R258Rf/4UU5zer3t5jnekFkSwXESj29OVdiDU/GaxO2 MGXEMJ3GY74WkfZvQAoHTmqCPhQ1kjiv8t6ml/Bx5Qi+d6TZZsq3VLTO71dFuP0KuP sdsGbbBQ9KigJp/IYxzNR5ybSkuJwlrD2OXPGuYtxUR9KxZDOxGLKNLGMvdZEPeHNM oVimC+mEmgUx9Qtskna0HwMwrkJU2QbnD9OREkncCoVmoh6FSmWRxs3UyriKXtJPX1 k2NpB6dXd8WoM/0fXiTXMRGdsYaEK7nE5UkFY+3aQJQrhnDHMPBfMIe7FNDu12LiD4 u1BxdQA/VnPiA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Miguel Ojeda , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Nathan Chancellor , Nicolas Schier , Masahiro Yamada Subject: [PATCH 07/23] kbuild: remove unnecessary prune of rust/alloc for rustfmt Date: Tue, 17 Sep 2024 23:16:35 +0900 Message-ID: <20240917141725.466514-8-masahiroy@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240917141725.466514-1-masahiroy@kernel.org> References: <20240917141725.466514-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit 9d0441bab775 ("rust: alloc: remove our fork of the `alloc` crate") removed the rust/alloc/ directory. Signed-off-by: Masahiro Yamada Acked-by: Miguel Ojeda Reviewed-by: Nicolas Schier --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 35b8392d2bef..5b16e0605a77 100644 --- a/Makefile +++ b/Makefile @@ -1741,9 +1741,7 @@ PHONY +=3D rustfmt rustfmtcheck # We `grep` afterwards in order to remove the directory entry itself. rustfmt: $(Q)find $(abs_srctree) -type f -name '*.rs' \ - -o -path $(abs_srctree)/rust/alloc -prune \ -o -path $(abs_objtree)/rust/test -prune \ - | grep -Fv $(abs_srctree)/rust/alloc \ | grep -Fv $(abs_objtree)/rust/test \ | grep -Fv generated \ | xargs $(RUSTFMT) $(rustfmt_flags) --=20 2.43.0