From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) (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 1769F1362 for ; Sun, 29 Sep 2024 04:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727585307; cv=none; b=Z49OG4W+zLcOz7YtVm2wJUJVHPoPwr/tGcQ1kVTawFxbO4ex/NmWXSnl8jDzRq8KpYiztEowk//f17N+v0/n1wEAwi+C0wK17s6Ocz8y+0K/rkwEw+9ykxDWZ6kPvKZ8vqZfW3/RXxrmFi/9nwdxYzp6Bi7dUSO+mLw41mZKBJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727585307; c=relaxed/simple; bh=CIZA0W2qEjnnGnJknm1V6/RmDT3YVjysHtUxWt9fnhA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=CqEkjhHXIdUYTgjani04TlxXS3thhjktAn3khmryyuHEQAMy6LdwrlifiyEZ8RV3/DME6ljHSmt3hGVYp4ZDleK/AJhOPSFOGDMUh2SJDTh7HDUnrJoDn3STRabIs+y1r6cWLD1V+aEyTgBj6q0/kJOISAJtYsX6wJaEYf2Yqqo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=umich.edu; spf=pass smtp.mailfrom=umich.edu; dkim=pass (2048-bit key) header.d=umich.edu header.i=@umich.edu header.b=JEODW/Xv; arc=none smtp.client-ip=209.85.128.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=umich.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=umich.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=umich.edu header.i=@umich.edu header.b="JEODW/Xv" Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-6d6a3ab427aso25826787b3.2 for ; Sat, 28 Sep 2024 21:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1727585304; x=1728190104; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=CIZA0W2qEjnnGnJknm1V6/RmDT3YVjysHtUxWt9fnhA=; b=JEODW/XvnqPjlLvPzYX1Ca+uAuaqkZxJtY3BGPEZGcn3/afVx/C6MtQ83OempD5iR5 ZFv2ZZWPNs3PmNNHpfJERPcx9RQSOR4nECWiGm2fe3OpwHej9pXH4Er/GgVMgupbdDRm BM9iUQWTY0+bymuxJKU61K2CN5Iv9PqdRR/16r9+rbRjg1LYjxg1opgn6f9xjdn1sXTB KS8gGfvfQzBdmhGWsqlkt2p/ib0QeUZGUsgiqmLQr4icKuiW/2N+OX8uGm2xSMrwFJZn L0VWwWjhLVf2PW7E7Y2X19VBnUYfU++CKkksnr1uzWv/1eV9Atj5eWE7vZv6K+ptLfZ4 mAgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727585304; x=1728190104; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CIZA0W2qEjnnGnJknm1V6/RmDT3YVjysHtUxWt9fnhA=; b=KoCFOanwyPhYp8yGv/O3FGlQDbeT9b5TS0JEybhnY1G45HMOmAdGgyjPXPv78RT14O e51DguQmgNFfv0SdCFA4JkhirbrUh0is9ETRcez1dciY2UTbMYWqaZoNh6e72zSwNUHU p8YlzhykiM47H3HJyUmVynN2V3+EmrihJHCWslS6vIIoDMtZASktOCwr7tPnwwHrgwb4 reL2kuh4179BlUNg8l0eiNc2CfZRh6lQ0wYh4d3mpu8pjY29g7yBGFO78MjSAewiCllB vvsLVQCKNxai8TdBQYFpvxSUTvzg4XdpeOtHgOojWApTVFFdePA+did3KKvR9QDrY6jD 2kiw== X-Forwarded-Encrypted: i=1; AJvYcCXJRlAmhwWMnFyXMX46smonMRski7O/VfsPgdyCjiLPeUbW0hzUFTPaSLPIMPDcN8MBMtyqTH4DwF82Mt0Qhg==@vger.kernel.org X-Gm-Message-State: AOJu0Yx8FEXg2jcfXzRWpReh98pAJ6jCuZh7ewlAB9u2x1J9UJXSgy2p 0wXYmq1vMvnTJ0GK91h5FMitto8KlaXdb1LjPZRsqiFhV7+XzrDEjn6+Hge0wX+1l+WrRFFHBcl HEU4epvUBh1rfTKJCUMijeIN3CJ+48mTHxgMCzQ== X-Google-Smtp-Source: AGHT+IHGLO8uFKk01lj+pc7xi5cN1UQcwjFwWI2vcUjxYujvaZ74Wt6ytZjstIUhVrZVb5X2wsWMAZgBbiwyKHg0/l0= X-Received: by 2002:a05:690c:112:b0:6dc:d556:aef7 with SMTP id 00721157ae682-6e24dc9c77bmr42360427b3.41.1727585303663; Sat, 28 Sep 2024 21:48:23 -0700 (PDT) Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240904204347.168520-1-ojeda@kernel.org> <20240904204347.168520-12-ojeda@kernel.org> In-Reply-To: <20240904204347.168520-12-ojeda@kernel.org> From: Trevor Gross Date: Sun, 29 Sep 2024 00:48:12 -0400 Message-ID: Subject: Re: [PATCH 11/19] rust: introduce `.clippy.toml` To: Miguel Ojeda Cc: Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Sep 4, 2024 at 4:45=E2=80=AFPM Miguel Ojeda wrot= e: > > Some Clippy lints can be configured/tweaked. We will use these knobs to > our advantage in later commits. > > This is done via a configuration file, `.clippy.toml` [1]. The file is > currently unstable. This may be a problem in the future, but we can adapt > as needed. In addition, we proposed adding Clippy to the Rust CI's RFL > job [2], so we should be able to catch issues pre-merge. > > Thus introduce the file. > > Link: https://doc.rust-lang.org/clippy/configuration.html [1] > Link: https://github.com/rust-lang/rust/pull/128928 [2] > Signed-off-by: Miguel Ojeda Reviewed-by: Trevor Gross