Commit b3b4f760 authored by Benno Lossin's avatar Benno Lossin
Browse files

rust: pin-init: feature-gate the `stack_init_reuse` test on the `std` feature

When trying to run `cargo check --all-targets --no-default-features`, an
error is reported by the test, as it cannot find the `std` crate. This
is to be expected, since the `--no-default-features` flag enables the
`no-std` behavior of the crate. Thus exclude the test in that scenario.

Link: https://github.com/Rust-for-Linux/pin-init/pull/50/commits/2813729ccacdedee9dbfcab1ed285b8721a0391b
Link: https://lore.kernel.org/all/20250523125424.192843-4-lossin@kernel.org


[ Changed my author email address to @kernel.org. - Benno ]
Signed-off-by: default avatarBenno Lossin <lossin@kernel.org>
parent 2408678d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment