[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3JU5xAGv3bNG7q2@liuwe-devbox-debian-v2>
Date: Mon, 14 Nov 2022 14:47:03 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: Wedson Almeida Filho <wedsonaf@...il.com>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
patches@...ts.linux.dev, Wei Liu <wei.liu@...nel.org>
Subject: Re: [PATCH v1 07/28] rust: macros: take string literals in `module!`
On Thu, Nov 10, 2022 at 05:41:19PM +0100, Miguel Ojeda wrote:
> From: Gary Guo <gary@...yguo.net>
>
> Instead of taking binary string literals, take string ones instead,
> making it easier for users to define a module, i.e. instead of
> calling `module!` like:
>
> module! {
> ...
> name: b"rust_minimal",
> ...
> }
>
> now it is called as:
>
> module! {
> ...
> name: "rust_minimal",
> ...
> }
>
> Module names, aliases and license strings are restricted to
> ASCII only. However, the author and the description allows UTF-8.
What's the rationale behind allowing UTF-8? Why not stick with ASCII
only?
Thanks,
Wei.
Powered by blists - more mailing lists