On 4/29/24 12:04 AM, John Hubbard wrote:
> ...
>>> And yes, the selftests "normal" (non-cross-compile) build is *broken*
>>> right now, for clang. I didn't realize from the patch title that this is
>>> actually a significant fix. Maybe we should change the subject line
>>> (patch
>>> title) to
, so
> either way, please feel free to add:
>
> Reviewed-by: John Hubbard
Thanks!
- Best Valentin
>
>
> thanks,
> --
> John Hubbard
> NVIDIA
>
> >
> > In the same scenario a gcc build would default to the host architecture,
> > i.e.
would default to the host architecture,
i.e., it would use plain `gcc`.
Fixes: 795285ef2425 ("selftests: Fix clang cross compilation")
Reviewed-by: Mark Brown
Signed-off-by: Valentin Obst
---
I am not entirely sure whether this behavior is in fact known and intended
and whether the way
Perhaps we can also add a section about these tests to the new
`Documentation/rust/testing.rst` [1]. We could mention that they exist,
how to run them, and link to the kselftest documentation for further
information.
Not necessary to resend, perhaps we can do that in a separate patch when
this
e feedback on those points. If it looks OK I
can also send it as a patch.
Link: https://reviews.llvm.org/D50755 [1]
Link: https://godbolt.org/z/r7Gn9bvv1 [2]
Signed-off-by: Valentin Obst
---
tools/testing/selftests/lib.mk | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --g
> diff --git a/tools/testing/selftests/rust/test_probe_samples.sh
> b/tools/testing/selftests/rust/test_probe_samples.sh
> new file mode 100755
> index ..6fcc2cd83d89
> --- /dev/null
> +++ b/tools/testing/selftests/rust/test_probe_samples.sh
> @@ -0,0 +1,42 @@
> +#!/bin/bash
> +#