Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5604774rwb; Mon, 14 Nov 2022 07:04:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf4mgo3TQi+hDXSFZ8+rWNRfMyeet89+3kMRY/XW9XszOlV6lNVzKw0k/JdZsN6eaVshp+qe X-Received: by 2002:aa7:d582:0:b0:461:22ca:f0f4 with SMTP id r2-20020aa7d582000000b0046122caf0f4mr11348429edq.244.1668438260715; Mon, 14 Nov 2022 07:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668438260; cv=none; d=google.com; s=arc-20160816; b=m/zmaT5GCOkjTOK7ts03qRzflN6XwcKdxC/5PkAubI0AUQkDQ+i5QMX/jeFVK3jaBc o6va+wlGpqVfoAHCJOf4RbZ+zkwPxA528SlioPmyaiAgPwL5SWdrfIpa65bzl43CkNHV szwX2dMlho9xozMEB8vl+x/+CxEvXkWZ20mCC88cBZConglqGp5gmUc5luMJzYSUmix5 DabWTgIhDu4zCRd+QCsSWhkDxs8LGPWt8McoWgaQ411O2Dx9eJk19iVkCufdgFOYCeQr yZmwAFgpB7Zdf8Nju4kugZoebe9qJ3x/SocO98x5GmTjub3O3OalMxmtLyIjLsrKn8DM jcog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=PjVZf+mxWBKV9Vk3O4dkAv2lEuk8DHfwjrkqwLaDClY=; b=PmJewcqwViyUwuqWYpUEO067CExt7ZL2P6/4bIz8GPsYgaiiB7gz6cqIwAR5Z8HmQ2 KUphRPxSapnkO1bhGqihx6eBGpY5PyJY5MF24+jyMZDAZiM5wephunx9lXfmgXQbVIiv +e7JfxwWGWzw8sdbleE6YH+pM53k0l4Cw0Dc6WjmSKh+tphC7/l0j4lMBS+OHBsniseI GUv5fdgQyK0DyvZFOlswbcAgXwroGKElBfNb14onUwi2/vkupgvrIFpeyMLTVg/VTyt/ jxjG2W8tbjNiyFywjmVR9iXeSy9/8I7M0Cb+k81qQs+0Q4WejXwOB4YUydMVzncccFQc Q2oQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w14-20020a17090633ce00b0078de536a3cdsi7224506eja.119.2022.11.14.07.03.41; Mon, 14 Nov 2022 07:04:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237086AbiKNOk6 (ORCPT + 87 others); Mon, 14 Nov 2022 09:40:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237085AbiKNOka (ORCPT ); Mon, 14 Nov 2022 09:40:30 -0500 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 284CD2C66C; Mon, 14 Nov 2022 06:40:29 -0800 (PST) Received: by mail-wr1-f53.google.com with SMTP id cl5so18638913wrb.9; Mon, 14 Nov 2022 06:40:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PjVZf+mxWBKV9Vk3O4dkAv2lEuk8DHfwjrkqwLaDClY=; b=i6R6Axha3UyoAPy8lq+mc1P2kGiqku5nX6EDpPsOdNOGNbTLAS9LaUshfAi/TUzMYv NAbeZIBNIZuFzrzN8YEulOVRbXgmNZNwvYRaSnbommxDYr1JsKf+oEFxiAT6aqqH2D7v at0djkB4cJaAye2fhgbQciFLDBR+wyJG5FkHUr+VPbn2MroNvheFX4sdClnXXkwCCE9L VFS3fgQKtZJEmxMgt3B+3Z1qtkVV9WuqVsNfb8v+2AY0l/Y+bQoNqL4wczqCAMGDu6zv MgfuS3P360g3tejCHvOqPVg9mKkeZ+Bx1pcu+N9CwCUmNIW1LH/vjl3bg6dFSwJhtp+z kizg== X-Gm-Message-State: ANoB5pkND2Kg0sRA0Tll05lhipmU7gHXQxZi9QjOSZK6qDkz3kQ/xv1M XkZW7cMtyMXS5SBq0ARmE/0= X-Received: by 2002:adf:e80e:0:b0:22e:3e28:f8de with SMTP id o14-20020adfe80e000000b0022e3e28f8demr7995940wrm.157.1668436827721; Mon, 14 Nov 2022 06:40:27 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id n1-20020a5d6b81000000b0022ac672654dsm9618991wrx.58.2022.11.14.06.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 06:40:27 -0800 (PST) Date: Mon, 14 Nov 2022 14:40:25 +0000 From: Wei Liu To: Miguel Ojeda Cc: Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Wei Liu Subject: Re: [PATCH v1 01/28] rust: prelude: split re-exports into groups Message-ID: References: <20221110164152.26136-1-ojeda@kernel.org> <20221110164152.26136-2-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221110164152.26136-2-ojeda@kernel.org> X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 10, 2022 at 05:41:13PM +0100, Miguel Ojeda wrote: > Split the prelude re-exports into groups: first the ones coming > from the `core` crate, then `alloc`, then our own crates and > finally the ones from modules from `kernel` itself (i.e. `super`). > > We are doing this manually for the moment, but ideally, long-term, > this could be automated via `rustfmt` with options such as > `group_imports` and `imports_granularity` (both currently unstable). > > Signed-off-by: Miguel Ojeda Reviewed-by: Wei Liu