On Wed, 3 Dec 2025 at 03:38, Alice Ryhl <[email protected]> wrote:
>
> This is needed to inline these helpers into Rust code.
>
> Signed-off-by: Alice Ryhl <[email protected]>
> ---
> Cc: Brendan Higgins <[email protected]>
> Cc: David Gow <[email protected]>
> Cc: Rae Moar <[email protected]>
> Cc: [email protected]
> ---

I'm assuming you'd prefer all of these to go in via the rust tree?
(But if you prefer, there's no problem with us taking this via the
kselftest/kunit tree.)

Reviewed-by: David Gow <[email protected]>

Cheers,
-- David

>  rust/helpers/kunit.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rust/helpers/kunit.c b/rust/helpers/kunit.c
> index 
> b85a4d394c118906d35ffef85221cf1a8b3c6fe3..cafb94b6776c07fe505e1749de71f91125006131
>  100644
> --- a/rust/helpers/kunit.c
> +++ b/rust/helpers/kunit.c
> @@ -2,7 +2,7 @@
>
>  #include <kunit/test-bug.h>
>
> -struct kunit *rust_helper_kunit_get_current_test(void)
> +__rust_helper struct kunit *rust_helper_kunit_get_current_test(void)
>  {
>         return kunit_get_current_test();
>  }
>
> --
> 2.52.0.158.g65b55ccf14-goog
>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to