Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp944567rwb; Thu, 4 Aug 2022 14:05:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR5gpgA4nFM56+4NPlsZMfO82Ne0U11vw7L6VvK0IbnEx7RABJqQxCSqevW2u6sxkYA7n3+A X-Received: by 2002:a17:906:98c7:b0:730:e4be:7497 with SMTP id zd7-20020a17090698c700b00730e4be7497mr1090770ejb.347.1659647110195; Thu, 04 Aug 2022 14:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659647110; cv=none; d=google.com; s=arc-20160816; b=JYcAUUBh0iRxrUkeHTCkhIYR/lBpoFTEptmQQzWfmCDnkwBaNb6IMdo13QQ9QAo/H9 Bq7qw5M+CFp3+1GzMZS5aDNUqo+DM7/0DxRmH9wLeBF/93CUH48kw7g2htit7e2PSTDL cbxePAPwmBkGrc9Jh32Gy54j3g23eR3dOLgSwHJSnB05C499/BLfKxOWCXjzJ62h4nyF KRJGRPb0ORdecPauMb1iZ1twVYaBqbkq8UKP4XOJ5kcxZCWCpLnohbHaHmkUxJfRb6NV oHNcxnzEgHU0SEZ3jv/PAJi64CJP/ffw5711dOC6wWhoYb2gcAUlSbGXvTXKryj3y7yD 4hwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=JXDBVb9DoiSymMWk0AFQK5uBRVXEjsO6eGZBfYrkcFM=; b=izrlEKsi7VKR0+ipc2dWCI18/qHuFbfN61fbas+kAIy9bDPtkeNwjU3/jtoH+9geJt TbtjyS9mIc8Vp21tqFSW/j3Klq22QN5hXzv7MQc2Rtuqg3lQic9vBnJ/IwNqCz04QrZ7 Alrw81aVscos7Ps2TjfFFuzkQZx8vVmLb4NOV8rURvvrA5QrxkqSP3ddYjvTOI5EG2wM pYJ2iA1JnqxFNU/TRAvS4VzJpWT0rpXe+/vECa4M6mNNMXWY5AEsofqcQZdQ+pnI8bBI hsCskGaHn8cWqDi7KjVCz+kuOEHXyDvKRudsiTG88IzAbaqXBA7Ug2LLs+1B/WLPQXsz mSSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lAjmdOHy; 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 sb17-20020a1709076d9100b00730aa5f9c8dsi1849209ejc.387.2022.08.04.14.04.45; Thu, 04 Aug 2022 14:05:10 -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=20210112 header.b=lAjmdOHy; 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 S235595AbiHDUbz (ORCPT + 99 others); Thu, 4 Aug 2022 16:31:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbiHDUby (ORCPT ); Thu, 4 Aug 2022 16:31:54 -0400 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 319B519293; Thu, 4 Aug 2022 13:31:53 -0700 (PDT) Received: by mail-il1-x136.google.com with SMTP id g18so492405ilk.4; Thu, 04 Aug 2022 13:31:53 -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=JXDBVb9DoiSymMWk0AFQK5uBRVXEjsO6eGZBfYrkcFM=; b=lAjmdOHyeQphpF1OcxVV1rVgcOMHU5AEAguiHRypsUJj8qTMRYq5BuHEl82rIjANCm EodS00O6wVT3Z2WWBn09fBLQqu15HuZRXXIttSvxvu6EvgwM1e1qDcCp7Y5eI9wEnyLs QZLQa5+VtX0oqQELCLoJosyL/qKNxu5+rgfmtkITeNhqnOAV2eMu8LOkwdaTyZhkXpEv GUCMebhrSl7TMcjAc6/ktQSNtVtzMuTXadjGBu2RLrfIGe3MWGPa6fn1n9pJWA8lSuwR luQ8VkFAAfKL8DVfcH1NPieDD5vIPNkN3vucWcBqgTFrulXRZWW3xkTGjqjv8vJ5pQ7K fYLQ== 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=JXDBVb9DoiSymMWk0AFQK5uBRVXEjsO6eGZBfYrkcFM=; b=GExOsnnrjHVCuAQ9oxvguBBiTkWD8b8x8H9GyWz+3wkC380HgmoGcpXGZqYdUTX/ur gXF13jSvAEf7jyN+pbhtMR1OWrWYScPOPKhsUxYwN5P9TCJnC9misEQpgDNxQb/e/TrI cyeTjB5L1kzHynaVjmxifWMIWBtkmWDGebOQvCgg98LEtGNGAM/lF578cod82f3p+KJ3 yTZYrnNvCGI75shzez/tue1tkMHGgWMwyKsHOZ+BZU5Rwf9ApIKtoegR42WtmCyZ/hZl nM1lyXy/1nesoFsSOaNi2ODDK6fFU1WqNbnleaTTn4L8N2ig3CWjoQw809boSM3YNhcV rqEA== X-Gm-Message-State: ACgBeo0Gkjm5SS2YsxkyDf5PwX00SNcRbktJnRt9N4DPh1wpY0g7LNOL CDIFYA0BGL8aY9nkp8FPhFSDyMXgO+ADLzdLV+s= X-Received: by 2002:a05:6e02:1c23:b0:2dc:e497:8b12 with SMTP id m3-20020a056e021c2300b002dce4978b12mr1565787ilh.151.1659645112585; Thu, 04 Aug 2022 13:31:52 -0700 (PDT) MIME-Version: 1.0 References: <20220802015052.10452-29-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Thu, 4 Aug 2022 22:31:41 +0200 Message-ID: Subject: Re: [PATCH v8 28/31] samples: add Rust examples To: Konstantin Shelekhin Cc: ojeda@kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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_NONE,SPF_HELO_NONE,SPF_PASS 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 Tue, Aug 2, 2022 at 4:08 PM Konstantin Shelekhin wrote: > > A minor neat, but ain't it possible to use &str here in order to drop > this ugly binary string prefix? Yeah, we would like to remove those at some point -- please see https://github.com/Rust-for-Linux/linux/issues/252. Cheers, Miguel