From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24CE7C25B08 for ; Wed, 17 Aug 2022 20:14:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241810AbiHQUOt (ORCPT ); Wed, 17 Aug 2022 16:14:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241809AbiHQUOk (ORCPT ); Wed, 17 Aug 2022 16:14:40 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BE7158DD4 for ; Wed, 17 Aug 2022 13:14:35 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id f28so12988255pfk.1 for ; Wed, 17 Aug 2022 13:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=FbyLuHm2xhCUGL19AXt8ffDVo0+YYpSKzX1/TVHy8eM=; b=Lv35uPWK2dCxFc6yKVS0QrTwKJd+DyqJAJDYLYlMNmXnRdKNAscIzcoSbCxJgpBnQB wQyvuIuUxU1fialRwVmxITfAZuI+GS568dLSXNWfMr5o3ox+DM5xajm7FgElyHdDnT46 zfV825m20a/8rKJz/wJGMOGiHSoVcZptheJsM= 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; bh=FbyLuHm2xhCUGL19AXt8ffDVo0+YYpSKzX1/TVHy8eM=; b=dCWguEmdkjfdvVI6/pheYptZMFzTPYteGBNLEnwkQmn3UFZCubswmL32P3fkRhe7nB e5PAfdMPaLJnkuXsF6BXqgbx4lXcXqyunoImw6r40wyRswpPTXtxZEpeIVxEBEUNZ7GD bEGG3ApEhIjT+8Ezjbx6wzw4XogOL/Gvnyd4ONGIG8TIGGgrj/cXzQrJF3fVFohXLzja huMoyVpg8P+k2n43TZxKqlSQtZ4yPjfMnGoS9ymmLwIr8JoDXtn2FT4EqTWrzvMxf90h QVaMWtTmQxvvEMzsXon9l4UZzY/4+2KoOPb+7g8hknqSolv5CnyFVnjW82HaZDyFUeXb vzDQ== X-Gm-Message-State: ACgBeo3wYXnYOvvJJ2yh63cdjCrPa32lc/rvC1dzOxzN0I4WlPlgr1BZ ta9tY+xBItCaijU9WsmFue6+Gw== X-Google-Smtp-Source: AA6agR5BHQ+uwX7K+UI84QLWNJT1fb4lGGawfZJ9CNwTPRxCSbqxFPJWBKPpaXPBRf6W1dCupD0O8g== X-Received: by 2002:a65:458c:0:b0:428:ee87:33a8 with SMTP id o12-20020a65458c000000b00428ee8733a8mr13953189pgq.272.1660767274298; Wed, 17 Aug 2022 13:14:34 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id e3-20020a056a0000c300b0052e7f103138sm10910092pfj.38.2022.08.17.13.14.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 13:14:33 -0700 (PDT) Date: Wed, 17 Aug 2022 13:14:32 -0700 From: Kees Cook 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 , Alex Gaynor , Wedson Almeida Filho , David Gow , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron Subject: Re: [PATCH v9 19/27] scripts: add `generate_rust_target.rs` Message-ID: <202208171314.D38EF72778@keescook> References: <20220805154231.31257-1-ojeda@kernel.org> <20220805154231.31257-20-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220805154231.31257-20-ojeda@kernel.org> Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org On Fri, Aug 05, 2022 at 05:42:04PM +0200, Miguel Ojeda wrote: > This script takes care of generating the custom target specification > file for `rustc`, based on the kernel configuration. > > It also serves as an example of a Rust host program. > > A dummy architecture is kept in this patch so that a later patch > adds x86 support on top with as few changes as possible. > > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor Reviewed-by: Kees Cook -- Kees Cook