From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51EDE3290AF for ; Sat, 7 Mar 2026 21:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772919015; cv=none; b=dIwH9wE8m0LQJDgtcrk/t/fanxSdqhgk07oeB2gPr0ig/4dzykcVtGv9fjqRdat7K3drAwjvheCb4DSa6ErY1eP0oCj+bXTwG9CvW5psRKoQWfhz3YdQwWI7TNMKOeplSCmxT1roZQaQ4GOrw2FHR0ABTQqCKNvd3naFR8ngx30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772919015; c=relaxed/simple; bh=5blZ65rb52lpa9/KLUc49AAPOcoeZtUgQI+crtdIS4w=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=muLeDVYxwYMJOoQGH+60cC88wIqGzb0tdDDsWxgcDFrEDRIHi2ibh3odkzc3vdmCrf3dVz9J/MwKp5LuU2uPKEu0yCRJI9D1dTBUQ+ypz6woJLXBT6EB51x3rk3AvHVcUJoBrSHs8RaHQILjNUajgVjtye7C0fOVzrnkYk/FEXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=hpInvjh8; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hpInvjh8" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-483786a09b1so104872615e9.3 for ; Sat, 07 Mar 2026 13:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772919013; x=1773523813; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=jrqxpHngCov/LvVCWNrhiPff2zJYB2s6GPlhyApK1cM=; b=hpInvjh8seVsmn2NdXieKNpeQv9ZC1ZZ1MPHY59EYJ+uTwkWJb8x1ih/O6X6ek5Eih 6D9ulRSIKj+ZpfjdkYzDXPopfvu7NGDY75a2RXsLcC0WcQlbA7TXAaPrMYlMjwk7AwNF V09wA0il/FUF3F9G0tbPboYfqjmlzi6D1xGaCQAU9ybArRwI8E86is8QlviZHtqJII4n UaqoTWC75jBLeXVw0zPxQJtN8iVP1LXyzRVXRSYATilBcLy3r7R62OyyPMN9XqophMec DIVrjULX8NTyOcexQMtaUizmZAJDV0v2mRxKHQESmgETETbsirFij1ACDQUmuSKp4Pzp fnFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772919013; x=1773523813; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jrqxpHngCov/LvVCWNrhiPff2zJYB2s6GPlhyApK1cM=; b=O9q6GvDF3iZJ2nMMpjTBTXuULCY2/6TGhJThgoT8BP93LpkwFLSKX4X3rzsHGYNAO4 Af5RKoZUPZQOB1Z3MKzDCMV4Yh3OMug4WJ2x3vA2xAu6twcbY9EW7gp8WmtaVZ1o3TK/ 0vfBs/q3srMnJ3I4rz3QNsvL5RzdZWX0qiLoui+vpGmDLjoHvKw4KxXh5rH3mimouGC9 wlcOy5YNLBhLyUUGKcuSTcd8Um1itwGYnyQntjmMLyVe2qSX+Hq4FK8IFRPXljDdmKNB Y9GIx95g5FrQreRVaody/w7SUsU6cLrpLJ5U3PSyFfJMMQHJEAZo0eL3aZnhQEQ3YL0a YlNw== X-Forwarded-Encrypted: i=1; AJvYcCVKyNph2lz28U8Jt0z8kbOAgWOOxhPU63oJwfGwZubgzzrjFQtYC0Cg8VghPDEQkLsiPk7KJwsbAEBGP+A=@vger.kernel.org X-Gm-Message-State: AOJu0Ywrwo8nMfSGS1rQ1nYOcpu8KDdwnP7BEjsmXEdzyJnxjanSN7iE 7kaNtbwSztJgLvzHAgLcQHsOTPaIVPc68BzwBBEtOh2zY63fqJiC6ZF3iGUioi2tAgrX5RJJyLW zHi+8vp89hacPwIFmMw== X-Received: from wmbdv11.prod.google.com ([2002:a05:600c:620b:b0:483:7c8d:ed1d]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:5253:b0:483:456a:514b with SMTP id 5b1f17b1804b1-4852692f158mr110926015e9.12.1772919012662; Sat, 07 Mar 2026 13:30:12 -0800 (PST) Date: Sat, 7 Mar 2026 21:30:11 +0000 In-Reply-To: <20260307104155.108d5d69@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260306-binder-netlink-v1-0-daceb5bc83f2@google.com> <20260306-binder-netlink-v1-2-daceb5bc83f2@google.com> <20260307104155.108d5d69@kernel.org> Message-ID: Subject: Re: [PATCH 2/4] ynl_gen: generate Rust files from yaml files From: Alice Ryhl To: Jakub Kicinski Cc: Miguel Ojeda , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , Donald Hunter , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Greg Kroah-Hartman , "Arve =?utf-8?B?SGrDuG5uZXbDpWc=?=" , Todd Kjos , Christian Brauner , Carlos Llamas , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="utf-8" On Sat, Mar 07, 2026 at 10:41:55AM -0800, Jakub Kicinski wrote: > On Fri, 06 Mar 2026 15:12:14 +0000 Alice Ryhl wrote: > > +++ b/tools/net/ynl/pyynl/ynl_gen_c.py > > The name of the file says gen_c ... I see there is also an ynl_gen_rst.py file in the same directory. Are you suggesting that I create a ynl_gen_rust.py file instead? Alice