Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp596185rwb; Wed, 28 Sep 2022 06:52:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7EOmpohEiuGUanxZ25N7nOfVL/jjDMDJiivVL0gx4lDlJxyYX3BEpEtR0zyXFQI0HdjIc6 X-Received: by 2002:aa7:c693:0:b0:456:f97b:8884 with SMTP id n19-20020aa7c693000000b00456f97b8884mr22724581edq.341.1664373152346; Wed, 28 Sep 2022 06:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664373152; cv=none; d=google.com; s=arc-20160816; b=cLZC5JVwez0qVTnmmKOFxhkxaSJzra4MNnj+Z4b60vbTJp+49sOvWl/FmW0rFPmwWC VH3x5YJjFcbpkid0xti2NWwyneZ6l5kslGlaxc5xNaoNV5YVUeE1Q00pWYaHmgtSwafG 8cqquhrSgswMMHZpMthRPUS/AP7GjAjk4WRke90E+5MA2NkyGn7XVgMdsucIzf5Bin0o aM99Q31bST32w7Q3AQQKi4gCAad4QyclUPA1iTE8SMBAJ5U4q6lPS5jMYfQYHV2JFs8G upT4i0elvJzhnXU8b9ol/ZmtLtKOeCScPpEuh23NFukJuqXQjrBb1wyRgbQxV7EtJ9sZ WaTA== 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=IJt6C3ywL4H7fQpqqRWXvtKK6PsYNMNNQ4fO0nq9AJ4=; b=XwxNuDXl4ZDu9uo4QzpRr/0gwgrsLlleF9CDpDLYJf3yoYPMOeXyuC4nvKhm7nRfEB cy26eASmKzXmNDu/Szo1YDl5UcuHks4fiL52MEQYzWSEIf8/3DdCAVSW1h2g3lLs01wh nMW/rpNNBrXEG7/vV1gCZKXUQF9CIL1PuYaH2pTTNBH6IycsfZRyFHAwH07IsocHdhLn a+TLdmDATdrtdLdBr3G7Ym1ZqztS0q/vho0Fro21T++v9xSbkLqf0KxxYPhaqEsyAzOc VxN0BZLaSetQw1DA/uYqr8Um2dJLJERlQMai1112r0Dd9tdmZitdcUiMn8703ezXfvub gnWQ== 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 v13-20020a056402348d00b00457c7c790e2si4965901edc.484.2022.09.28.06.52.05; Wed, 28 Sep 2022 06:52:32 -0700 (PDT) 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 S233538AbiI1NZJ (ORCPT + 99 others); Wed, 28 Sep 2022 09:25:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231419AbiI1NZH (ORCPT ); Wed, 28 Sep 2022 09:25:07 -0400 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 715477B1F3; Wed, 28 Sep 2022 06:25:06 -0700 (PDT) Received: by mail-wm1-f42.google.com with SMTP id o5so8536217wms.1; Wed, 28 Sep 2022 06:25:06 -0700 (PDT) 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; bh=IJt6C3ywL4H7fQpqqRWXvtKK6PsYNMNNQ4fO0nq9AJ4=; b=IIn2BEGScn/Qs6vCuUYilZ9C5bhgmkufQbB9RsbPWEYkMKKp0qBHo6eZnnE2xmIbJo B0bpIrNbhjmI7/Qjg+GEnLPrncd4U09g16f+Uo0U5qEnPM8L8T7bDYTDmGA9SqgezNTA zr9UI/UyzzxoI2HRa2GQ3w7rdppkmNvGfIMb2RL/NQJvli3npL21upiwuvI4qn2kpNC8 1aWIzR+DaRLdR2/sp8ncBhMMCcO+57k1/WXl4+pUgE/KblyvA04Z6x6Ikju5thmZRMvE TiTXKfz8h/w4Ngt1zruVJuhof/bqqU9c4v13iw2Z0nos+zc7jqtk0sdwocyZI3GOFWX3 QHyQ== X-Gm-Message-State: ACrzQf3MHMO9p6K32WOm4GyzzAbmrXZVLrb93V9MRMtS8hTq0NJz5x7R B/wwkaMqqbbDQWa3XwdxqnU= X-Received: by 2002:a05:600c:1d8f:b0:3b4:90c1:e23a with SMTP id p15-20020a05600c1d8f00b003b490c1e23amr6868640wms.122.1664371504885; Wed, 28 Sep 2022 06:25:04 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id i6-20020adfefc6000000b0022ccbc7efb5sm423572wrp.73.2022.09.28.06.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 06:25:04 -0700 (PDT) Date: Wed, 28 Sep 2022 13:25:02 +0000 From: Wei Liu To: Miguel Ojeda Cc: Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Kees Cook , Alex Gaynor , Wedson Almeida Filho , Sven Van Asbroeck , Gary Guo , Boqun Feng , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Wei Liu Subject: Re: [PATCH v10 09/27] rust: add `compiler_builtins` crate Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-10-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927131518.30000-10-ojeda@kernel.org> X-Spam-Status: No, score=-1.4 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 Tue, Sep 27, 2022 at 03:14:40PM +0200, Miguel Ojeda wrote: > Rust provides `compiler_builtins` as a port of LLVM's `compiler-rt`. > Since we do not need the vast majority of them, we avoid the > dependency by providing our own crate. > > Reviewed-by: Kees Cook > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Co-developed-by: Sven Van Asbroeck > Signed-off-by: Sven Van Asbroeck > Co-developed-by: Gary Guo > Signed-off-by: Gary Guo > Signed-off-by: Miguel Ojeda Reviewed-by: Wei Liu