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 AC4C3C433EF for ; Fri, 15 Jul 2022 19:27:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231180AbiGOT1N (ORCPT ); Fri, 15 Jul 2022 15:27:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbiGOT1M (ORCPT ); Fri, 15 Jul 2022 15:27:12 -0400 Received: from mail-il1-x135.google.com (mail-il1-x135.google.com [IPv6:2607:f8b0:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0FA047BAA for ; Fri, 15 Jul 2022 12:27:11 -0700 (PDT) Received: by mail-il1-x135.google.com with SMTP id y12so3010385ilq.10 for ; Fri, 15 Jul 2022 12:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=idHHjkJiq1jgqeWJ6bJ8JIRJnzSMmFStTGMvG94gimU=; b=OBR95hb5VyYl3T47MmXFtq5gGnyHDeZkC4EtxGXqI1i++mzV2ns8IlbYaRVJyB8xtK TQvba9i874GY3zbP66eqRK+fI4tzy8dFyLwFpq6nuzynwqSSDaX7rnb8a9mW/QqQp40s 2uClNila+qqnD61KGugtKe8d9WSvTh/bNHBgTTRdLWzBFxN68iGrB3V1G8C5lNCrjQvt L7xfoowqyUxJ1m6T/wyRhZclvSkM61Em6spRlEZ4dvv43Rhobt0Snp4cZ948/gjImTo7 b+ZHT0RFQ2LbW7piH81Ym1xyv49RPqqht6EeRhog41iJqPq5qGXjVpzSMIFaQfoq7ma8 R34w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=idHHjkJiq1jgqeWJ6bJ8JIRJnzSMmFStTGMvG94gimU=; b=eZ4DCNomJDOeWIqfe2VReVn9PGmosESZDi0qJIvHsGGxtO9FlGWQh5KMZjn98frNzc GVFjUhpsraAA5MplFgGC0aVKT4xH/fvFxxI88mLIeS07uK1+tKm2hdBR1yUQVgznS9bL i09DnWywMgGomEj3yyTUIEKD3o43xg7VD3vF1ukjeXEg+MjeyYEFvEGtXwsjxfwBAh+G KILul3tn/aXtIzFei9VlmZ1mGgRBaBv/IhsEQV/fp9jznCpZG1rYzuZ4RmKsI6vaNW9R 2N45vVBg7Wi1CD5US8mfAFXmAtGSPFvliQMf3MOuq+ohhLqyRvBstp26y0aEQVOCoYqj Y2Bw== X-Gm-Message-State: AJIora+hvjLtBH090hx0n6so/fF6ut7rLz4o8zXlyayXzr6NSNHQ1zeJ LMBScXoPpQyc0Z2wFNl1EYGnOm+KgEiZR+ihMmyjInOx9H52M2n4 X-Google-Smtp-Source: AGRyM1sQLXIpBOoshkKU3MmhKo3CrLZohI5ILc4PyjwDKuUpMwcIg7fVWNaqIX/k4lJ24LH9hbKTrXvsVx1PJMMO2IA= X-Received: by 2002:a92:c54e:0:b0:2dc:83a7:169e with SMTP id a14-20020a92c54e000000b002dc83a7169emr8127765ilj.72.1657913231448; Fri, 15 Jul 2022 12:27:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Miguel Ojeda Date: Fri, 15 Jul 2022 21:27:00 +0200 Message-ID: Subject: Re: [PATCH V4 0/8] libgpiod: Add Rust bindings To: Bartosz Golaszewski Cc: Viresh Kumar , Kent Gibson , Linus Walleij , Vincent Guittot , "open list:GPIO SUBSYSTEM" , Wedson Almeida Filho , =?UTF-8?B?QWxleCBCZW5uw6ll?= , stratos-dev@op-lists.linaro.org, Gerard Ryan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Fri, Jul 15, 2022 at 9:17 PM Miguel Ojeda wrote: > > If by "random script" you mean the rustup installer, you can always > download rustup on its own, or even directly a Rust "standalone > installer", which are signed and do not require rustup, from: > > https://forge.rust-lang.org/infra/other-installation-methods.html#standalone > > However, since it appears that you have rustup installed, maybe you > don't mean that. In any case, if rustup is installed, maybe you can > try something like: > > rustup default stable > > or similar to install a toolchain. Having said that, if building as a normal user is OK (should be), then you maybe can simply run the test binary as root (building it with something like `cargo --no-run` as a normal user). Cheers, Miguel