Skip to content

pin-init sync: test & CI fixes

Benno Lossin lkml rust-for-linux 1 version Applied

Status from this message: Applied to pin-init-next -- thanks everyone!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3rust: pin-init: examples, tests: add conditional compilation in order to compile under any feature combinationrust/pin-init/examples/big_struct_in_place.rs rust/pin-init/examples/linked_list.rs rust/pin-init/examples/mutex.rs +2 more+121 -900 replies
2/3rust: pin-init: examples: pthread_mutex: disable the main test for mirirust/pin-init/examples/pthread_mutex.rs+1 -12 replies
3/3rust: pin-init: feature-gate the `stack_init_reuse` test on the `std` featurerust/pin-init/src/__internal.rs+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] pin-init sync: test & CI fixes

Several smaller problems I found in the CI related to enabled features & tests.

Upstream PR: https://github.com/Rust-for-Linux/pin-init/pull/50

Benno Lossin (3):
rust: pin-init: examples, tests: add conditional compilation in order
to compile under any feature combination
rust: pin-init: examples: pthread_mutex: disable the main test for
miri
rust: pin-init: feature-gate the stack_init_reuse test on the std
feature

 rust/pin-init/examples/big_struct_in_place.rs | 26 ++---
 rust/pin-init/examples/linked_list.rs         | 10 +-
 rust/pin-init/examples/mutex.rs               | 97 +++++++++++--------
 rust/pin-init/examples/pthread_mutex.rs       |  5 +-
 rust/pin-init/examples/static_init.rs         | 75 +++++++-------
 rust/pin-init/src/__internal.rs               |  1 +
 6 files changed, 123 insertions(+), 91 deletions(-)

base-commit: ae8b3a83fb9de394f609035041cd7a668fda2ab3

Signature · 1 line
2.49.0