* [PATCH] docs: rust: remove `CC=clang` mentions
@ 2023-12-15 12:47 Miguel Ojeda
2023-12-15 12:51 ` Alice Ryhl
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Miguel Ojeda @ 2023-12-15 12:47 UTC (permalink / raw)
To: Miguel Ojeda, Wedson Almeida Filho, Alex Gaynor
Cc: Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Alice Ryhl, rust-for-linux, linux-kernel,
patches, Jonathan Corbet, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt, linux-doc, llvm
Nowadays all architectures except s390 recommend using `LLVM=1` instead of
`CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
We want to encourage the use of ``LLVM=1`` rather than just
``CC=clang``. Make that suggestion "above the fold" and "front and
center" in our docs.
In particular, that commit removes the examples with `CC=clang`.
Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
mentions, especially since the architectures that have had their Rust
support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
anyway. And perhaps by the time Rust is supported for s390 (or new
architectures), it may have moved to `LLVM=1` anyway. Otherwise,
this can be added back if needed (or perhaps an extra link to
Documentation/kbuild/llvm.rst).
This should also help avoiding potential confusion around `CC=clang` [1].
Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
---
Documentation/rust/quick-start.rst | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
index f382914f4191..75faa987079a 100644
--- a/Documentation/rust/quick-start.rst
+++ b/Documentation/rust/quick-start.rst
@@ -76,7 +76,7 @@ libclang
``libclang`` (part of LLVM) is used by ``bindgen`` to understand the C code
in the kernel, which means LLVM needs to be installed; like when the kernel
-is compiled with ``CC=clang`` or ``LLVM=1``.
+is compiled with ``LLVM=1``.
Linux distributions are likely to have a suitable one available, so it is
best to check that first.
@@ -229,10 +229,6 @@ at the moment. That is::
make LLVM=1
-For architectures that do not support a full LLVM toolchain, use::
-
- make CC=clang
-
Using GCC also works for some configurations, but it is very experimental at
the moment.
base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
@ 2023-12-15 12:51 ` Alice Ryhl
2023-12-15 14:27 ` Ariel Miculas
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Alice Ryhl @ 2023-12-15 12:51 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Wedson Almeida Filho, Alex Gaynor, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg,
rust-for-linux, linux-kernel, patches, Jonathan Corbet,
Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
linux-doc, llvm
On Fri, Dec 15, 2023 at 1:48 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
>
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
2023-12-15 12:51 ` Alice Ryhl
@ 2023-12-15 14:27 ` Ariel Miculas
2023-12-15 16:34 ` Martin Rodriguez Reboredo
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ariel Miculas @ 2023-12-15 14:27 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Wedson Almeida Filho, Alex Gaynor, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
rust-for-linux, linux-kernel, patches, Jonathan Corbet,
Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
linux-doc, llvm
On 23/12/15 01:47PM, Miguel Ojeda wrote:
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
>
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Ariel Miculas <amiculas@cisco.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
2023-12-15 12:51 ` Alice Ryhl
2023-12-15 14:27 ` Ariel Miculas
@ 2023-12-15 16:34 ` Martin Rodriguez Reboredo
2023-12-15 17:48 ` John Hubbard
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Martin Rodriguez Reboredo @ 2023-12-15 16:34 UTC (permalink / raw)
To: Miguel Ojeda, Wedson Almeida Filho, Alex Gaynor
Cc: Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Alice Ryhl, rust-for-linux, linux-kernel,
patches, Jonathan Corbet, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt, linux-doc, llvm
On 12/15/23 09:47, Miguel Ojeda wrote:
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
>
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
> ---
> [...]
Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
` (2 preceding siblings ...)
2023-12-15 16:34 ` Martin Rodriguez Reboredo
@ 2023-12-15 17:48 ` John Hubbard
2023-12-15 21:28 ` Justin Stitt
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: John Hubbard @ 2023-12-15 17:48 UTC (permalink / raw)
To: Miguel Ojeda, Wedson Almeida Filho, Alex Gaynor
Cc: Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Alice Ryhl, rust-for-linux, linux-kernel,
patches, Jonathan Corbet, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt, linux-doc, llvm
On 12/15/23 04:47, Miguel Ojeda wrote:
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
Yes it should. :)
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
thanks,
--
John Hubbard
NVIDIA
>
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
> ---
> Documentation/rust/quick-start.rst | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
> index f382914f4191..75faa987079a 100644
> --- a/Documentation/rust/quick-start.rst
> +++ b/Documentation/rust/quick-start.rst
> @@ -76,7 +76,7 @@ libclang
>
> ``libclang`` (part of LLVM) is used by ``bindgen`` to understand the C code
> in the kernel, which means LLVM needs to be installed; like when the kernel
> -is compiled with ``CC=clang`` or ``LLVM=1``.
> +is compiled with ``LLVM=1``.
>
> Linux distributions are likely to have a suitable one available, so it is
> best to check that first.
> @@ -229,10 +229,6 @@ at the moment. That is::
>
> make LLVM=1
>
> -For architectures that do not support a full LLVM toolchain, use::
> -
> - make CC=clang
> -
> Using GCC also works for some configurations, but it is very experimental at
> the moment.
>
>
> base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
` (3 preceding siblings ...)
2023-12-15 17:48 ` John Hubbard
@ 2023-12-15 21:28 ` Justin Stitt
2023-12-18 16:55 ` Nathan Chancellor
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Justin Stitt @ 2023-12-15 21:28 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Wedson Almeida Filho, Alex Gaynor, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
rust-for-linux, linux-kernel, patches, Jonathan Corbet,
Nathan Chancellor, Nick Desaulniers, Bill Wendling, linux-doc,
llvm
Hi,
On Fri, Dec 15, 2023 at 4:48 AM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
>
Yes!
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Justin Stitt <justinstitt@google.com>
> ---
> Documentation/rust/quick-start.rst | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
> index f382914f4191..75faa987079a 100644
> --- a/Documentation/rust/quick-start.rst
> +++ b/Documentation/rust/quick-start.rst
> @@ -76,7 +76,7 @@ libclang
>
> ``libclang`` (part of LLVM) is used by ``bindgen`` to understand the C code
> in the kernel, which means LLVM needs to be installed; like when the kernel
> -is compiled with ``CC=clang`` or ``LLVM=1``.
> +is compiled with ``LLVM=1``.
>
> Linux distributions are likely to have a suitable one available, so it is
> best to check that first.
> @@ -229,10 +229,6 @@ at the moment. That is::
>
> make LLVM=1
>
> -For architectures that do not support a full LLVM toolchain, use::
> -
> - make CC=clang
> -
> Using GCC also works for some configurations, but it is very experimental at
> the moment.
>
>
> base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9
> --
> 2.43.0
>
Thanks
Justin
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
` (4 preceding siblings ...)
2023-12-15 21:28 ` Justin Stitt
@ 2023-12-18 16:55 ` Nathan Chancellor
2023-12-18 17:05 ` Benno Lossin
2023-12-21 21:42 ` Miguel Ojeda
7 siblings, 0 replies; 9+ messages in thread
From: Nathan Chancellor @ 2023-12-18 16:55 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Wedson Almeida Filho, Alex Gaynor, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
rust-for-linux, linux-kernel, patches, Jonathan Corbet,
Nick Desaulniers, Bill Wendling, Justin Stitt, linux-doc, llvm
On Fri, Dec 15, 2023 at 01:47:51PM +0100, Miguel Ojeda wrote:
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
>
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Yes, the fact that no architecture that CONFIG_RUST supports requires
CC=clang seems reason enough for this to be eliminated from the Rust
documentation.
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
> ---
> Documentation/rust/quick-start.rst | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst
> index f382914f4191..75faa987079a 100644
> --- a/Documentation/rust/quick-start.rst
> +++ b/Documentation/rust/quick-start.rst
> @@ -76,7 +76,7 @@ libclang
>
> ``libclang`` (part of LLVM) is used by ``bindgen`` to understand the C code
> in the kernel, which means LLVM needs to be installed; like when the kernel
> -is compiled with ``CC=clang`` or ``LLVM=1``.
> +is compiled with ``LLVM=1``.
>
> Linux distributions are likely to have a suitable one available, so it is
> best to check that first.
> @@ -229,10 +229,6 @@ at the moment. That is::
>
> make LLVM=1
>
> -For architectures that do not support a full LLVM toolchain, use::
> -
> - make CC=clang
> -
> Using GCC also works for some configurations, but it is very experimental at
> the moment.
>
>
> base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
` (5 preceding siblings ...)
2023-12-18 16:55 ` Nathan Chancellor
@ 2023-12-18 17:05 ` Benno Lossin
2023-12-21 21:42 ` Miguel Ojeda
7 siblings, 0 replies; 9+ messages in thread
From: Benno Lossin @ 2023-12-18 17:05 UTC (permalink / raw)
To: Miguel Ojeda, Wedson Almeida Filho, Alex Gaynor
Cc: Boqun Feng, Gary Guo, Björn Roy Baron, Andreas Hindborg,
Alice Ryhl, rust-for-linux, linux-kernel, patches,
Jonathan Corbet, Nathan Chancellor, Nick Desaulniers,
Bill Wendling, Justin Stitt, linux-doc, llvm
On 12/15/23 13:47, Miguel Ojeda wrote:
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
>
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
--
Cheers,
Benno
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] docs: rust: remove `CC=clang` mentions
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
` (6 preceding siblings ...)
2023-12-18 17:05 ` Benno Lossin
@ 2023-12-21 21:42 ` Miguel Ojeda
7 siblings, 0 replies; 9+ messages in thread
From: Miguel Ojeda @ 2023-12-21 21:42 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Wedson Almeida Filho, Alex Gaynor, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
rust-for-linux, linux-kernel, patches, Jonathan Corbet,
Nathan Chancellor, Nick Desaulniers, Bill Wendling, Justin Stitt,
linux-doc, llvm
On Fri, Dec 15, 2023 at 1:48 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> Nowadays all architectures except s390 recommend using `LLVM=1` instead of
> `CC=clang`, and since commit a3c6bfba4429 ("Documentation/llvm: refresh
> docs") the Kbuild LLVM documentation makes `LLVM=1` the way to go:
>
> We want to encourage the use of ``LLVM=1`` rather than just
> ``CC=clang``. Make that suggestion "above the fold" and "front and
> center" in our docs.
>
> In particular, that commit removes the examples with `CC=clang`.
>
> Thus do the same in the Rust Quick Start guide, i.e. remove the `CC=clang`
> mentions, especially since the architectures that have had their Rust
> support upstreamed (or soon to be upstreamed) are all `LLVM=1` ones
> anyway. And perhaps by the time Rust is supported for s390 (or new
> architectures), it may have moved to `LLVM=1` anyway. Otherwise,
> this can be added back if needed (or perhaps an extra link to
> Documentation/kbuild/llvm.rst).
>
> This should also help avoiding potential confusion around `CC=clang` [1].
>
> Link: https://lore.kernel.org/rust-for-linux/6df6e8e5-8d5b-4d3d-91b5-bc0e90c424ea@nvidia.com/ [1]
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Applied to `rust-next` -- thanks everyone!
Cheers,
Miguel
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-12-21 21:42 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15 12:47 [PATCH] docs: rust: remove `CC=clang` mentions Miguel Ojeda
2023-12-15 12:51 ` Alice Ryhl
2023-12-15 14:27 ` Ariel Miculas
2023-12-15 16:34 ` Martin Rodriguez Reboredo
2023-12-15 17:48 ` John Hubbard
2023-12-15 21:28 ` Justin Stitt
2023-12-18 16:55 ` Nathan Chancellor
2023-12-18 17:05 ` Benno Lossin
2023-12-21 21:42 ` Miguel Ojeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).