Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8590645rwp; Wed, 19 Jul 2023 12:06:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlGhPBCoPT9ZORut5w5CXVO9IsakFsa8Q7rZNjuH+diDHHwhGqjg0icEpDBlgSbOdE9wfrEN X-Received: by 2002:a17:906:1dd:b0:98e:2334:af12 with SMTP id 29-20020a17090601dd00b0098e2334af12mr3062214ejj.45.1689793602358; Wed, 19 Jul 2023 12:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689793602; cv=none; d=google.com; s=arc-20160816; b=UTJUMf7RVg8/frPXuXmj+ZKMQ5SCh+VkDU8jqqhGWECaKpfrVcaPRyzOhVpLWXr17Q 7mDWBE/RvsOwiSsjPBk6RnlktEgESVlTVIwNxOUe+AKzZbIrWWY5MgsaqAjyYF935a3w 1BCnsrmaVjr4kipCnoAJFmrBJj2W3pGpqDk+9thoneQ8b/AYVkKLN26guZ3QWsWylaNZ e5eUrm+iXWUP8uIry0ttiPQhhl3hwR3v+1Ty/asoBtV8bHiNn53XUUFp80V9fFfb89L5 4kHYyo2IoZLfWiiaWo68qVt26wzAot81q3P2eIey+8VTr4D6GdULS2hC+kuHUA8jj9FU Nnpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=H+qQ3BjPeMCjsqB995zYt9EkRiHcQsVLDEmosf3ZMog=; fh=aIsRUBIcuqWrW1BnadOudFr82JEnntIR9PETeOn1gXU=; b=w9v1Lyp+Q8kVJvlYW7Ui2qeRtTKubK0ftoP8YGEoBflaymj0Tx5ONyKa0WwbR24pC8 bBBZX0VAEPU9IixYT39lYQKbOvPykqJ3w7dELAZSMa3OTMakTU/KK4Aitk9KeA5pAlyb Vgik9B4YpP5BApsRQr0oiAHE44ckRrxfXguJQV3ei80SB+U32deh6u7bMhSfvx2OzjKv A60FbVdS41YRQRjb1sOQoPewHIkehpiXMqABP6nCOUlpVcuOJyUlQIereLtYiRbCk9ZB wQjb1eylONRGsSYY7ttkAQzYaYNM2raweIWiTCv858v60BqGSp/D+ZhkBo3nBcaS907A Uv2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=LN0HmCIz; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mf16-20020a170906cb9000b0098f564f6366si3124131ejb.345.2023.07.19.12.06.16; Wed, 19 Jul 2023 12:06:42 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=LN0HmCIz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230205AbjGSSfL (ORCPT + 99 others); Wed, 19 Jul 2023 14:35:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbjGSSfH (ORCPT ); Wed, 19 Jul 2023 14:35:07 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D13A71FD8; Wed, 19 Jul 2023 11:35:03 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3a412653335so4552137b6e.1; Wed, 19 Jul 2023 11:35:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689791703; x=1690396503; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=H+qQ3BjPeMCjsqB995zYt9EkRiHcQsVLDEmosf3ZMog=; b=LN0HmCIzcXn3sByOkWlTBnx5yH9j1RxPOX5NGUJBc9dxhdlcKtVanGAvtuMLSos1TA ShxskVfUzCg3bxDte5q/KvVGlkq07kLCxOnRY6olWDdqwgGgNGOLEArz53wkw+sUPboO j4fbgrlbdWunoAFvGIjXxY3rRGDTPrm9Kb9iquVi6R+qrV+JywV2P1eCZQ3JmX4rLCoq LjTr3X2/B21yXe4ohJudgQLo1+ret3gGr0irH77AWiLvpWygRc5g8KEQQ+qsujxnbrEJ SEnHqckheqSwwRIq+4JNgq2HcNXHqziKxEXpjlrTuGKKaMuKfHjFC/p6Je/HAMuZ6WNf r1nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689791703; x=1690396503; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=H+qQ3BjPeMCjsqB995zYt9EkRiHcQsVLDEmosf3ZMog=; b=LTVV9LOIlBZ5wx3BbVsBIZgSnHzSoWwRdhxQcTq9I69sFxTn6bvjo+gc21O7S3fgT3 BUXqoRews5U5p+bffiu5aO8qCqZhYL4hXf2X8BTLQR+jGIuiVDTdW3RRR9odSVmsr9Ax sBAoDlhZqbIr7T77kAysramOdSh6INASxmH4AuyMvohNMex6R4W5GJfOpPUB4Mf9HRNo P2q/m4qGIwm/QTSVs6nPQIdYj9l2crAewOvEMr0i/GLO2gaEFeglz6Un56OLV7Ua+JZ6 juRS1sAttyDq3c3j689ahZ9hs63Pb0vtqmyV9Sw7TuLQpCaGd95BBwwtJe9UwhmB9nFW vlvA== X-Gm-Message-State: ABy/qLbtNmz7A6huYzcZj+jvb35cE4qjraGbsRjtimxjmfY70ORq+W8P YBILNVXsDFhaBiFx18ghi9g= X-Received: by 2002:a54:4596:0:b0:3a3:6f96:f15f with SMTP id z22-20020a544596000000b003a36f96f15fmr3079701oib.15.1689791702954; Wed, 19 Jul 2023 11:35:02 -0700 (PDT) Received: from [192.168.54.90] (static.220.238.itcsa.net. [190.15.220.238]) by smtp.gmail.com with ESMTPSA id y7-20020a056808130700b003a3860b375esm2042016oiv.34.2023.07.19.11.34.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jul 2023 11:35:02 -0700 (PDT) Message-ID: <919dd69a-0927-129b-a913-2acaf2eaf4b9@gmail.com> Date: Wed, 19 Jul 2023 14:39:40 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] docs: rust: update instructions for obtaining 'core' source Content-Language: en-US To: Trevor Gross , ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, benno.lossin@proton.me, corbet@lwn.net Cc: linux-doc@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230718054416.861412-1-tmgross@umich.edu> <20230718054416.861412-2-tmgross@umich.edu> From: Martin Rodriguez Reboredo In-Reply-To: <20230718054416.861412-2-tmgross@umich.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 7/18/23 02:44, Trevor Gross wrote: > The source for Rust's 'core' library is needed to build the kernel with > Rust support. This must be obtained manually when using a non-rustup > install, such as when using 'rustc' from a package manager or from a > standalone installer. Currently, the documentation suggests cloning the > 'rust' repository to obtain these sources, but this is quite slow (on > the order of a few minutes). > > This patch changes this documentation to suggest using the source > tarball instead, which includes only needed information (<5M) and is > significantly faster to download. This is more in line with what > 'rustup' does. > > Signed-off-by: Trevor Gross > --- > [...] Reviewed-by: Martin Rodriguez Reboredo