From 31c50693238147f945bfbf80a7995581212b678c Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Fri, 27 Sep 2024 19:14:39 +0200 Subject: [PATCH] [#401] Remove obsolete 'enforce_32bit_rwlock_atomic' feature flag --- iceoryx2-pal/concurrency-sync/Cargo.toml | 5 ----- iceoryx2/Cargo.toml | 3 --- iceoryx2/src/lib.rs | 4 ---- 3 files changed, 12 deletions(-) diff --git a/iceoryx2-pal/concurrency-sync/Cargo.toml b/iceoryx2-pal/concurrency-sync/Cargo.toml index fe2b4462c..0b68516a7 100644 --- a/iceoryx2-pal/concurrency-sync/Cargo.toml +++ b/iceoryx2-pal/concurrency-sync/Cargo.toml @@ -10,11 +10,6 @@ repository = { workspace = true } rust-version = { workspace = true } version = { workspace = true } -[features] -# Enables 64-bit applications to communicate with 32-bit applications at the cost of being no -# longer lock-free. Meaning, a crash at the wrong time can lead to a system deadlock. -enforce_32bit_rwlock_atomic = [] - [dependencies] [dev-dependencies] diff --git a/iceoryx2/Cargo.toml b/iceoryx2/Cargo.toml index 91da4f4d7..bf052f7b3 100644 --- a/iceoryx2/Cargo.toml +++ b/iceoryx2/Cargo.toml @@ -16,9 +16,6 @@ version = { workspace = true } logger_log = ["iceoryx2-bb-log/logger_log"] # Enables https://crates.io/crates/tracing as default logger logger_tracing = ["iceoryx2-bb-log/logger_tracing"] -# Enables 64-bit applications to communicate with 32-bit applications at the cost of being no -# longer lock-free. Meaning, a crash at the wrong time can lead to a system deadlock. -enforce_32bit_rwlock_atomic = ["iceoryx2-pal-concurrency-sync/enforce_32bit_rwlock_atomic"] [dependencies] iceoryx2-bb-container = { workspace = true } diff --git a/iceoryx2/src/lib.rs b/iceoryx2/src/lib.rs index b5d5411ab..f20e17651 100644 --- a/iceoryx2/src/lib.rs +++ b/iceoryx2/src/lib.rs @@ -270,10 +270,6 @@ //! * `logger_log` - Uses the [log crate](https://crates.io/crates/log) as default log backend //! * `logger_tracing` - Uses the [tracing crate](https://crates.io/crates/tracing) as default log //! backend -//! * `enforce_32bit_rwlock_atomic` - Enforces the 32-bit atomic also on 64-bit platforms. Enables -//! 32-bit and 64-bit applications to communicate but at the expense of the lock-free -//! guarantee. Enabling the feature can cause a deadlock of the whole system when one -//! application crashes at the wrong time. //! //! # Custom Configuration //!