Right now, core::ptr::NonNull (née ptr::Shared) is the main unstable feature blocking intruder_alarm from building with the stable compiler. As of rust-lang/rust#46952, it's coming to stable Real Soon Now (under its' new name).
The other gated feature that intruder_alarm uses is const_fn, which is pretty easy to hack around (e.g. with a macro) or just with conditional compilation. In light of that, intruder_alarm may soon compile on stable Rust.
Let's try to avoid adding any new feature gates, so that when ptr::NonNull makes it to stable, intruder_alarm will build against stable.
Right now,
core::ptr::NonNull(néeptr::Shared) is the main unstable feature blockingintruder_alarmfrom building with the stable compiler. As of rust-lang/rust#46952, it's coming to stable Real Soon Now (under its' new name).The other gated feature that
intruder_alarmuses isconst_fn, which is pretty easy to hack around (e.g. with a macro) or just with conditional compilation. In light of that,intruder_alarmmay soon compile on stable Rust.Let's try to avoid adding any new feature gates, so that when
ptr::NonNullmakes it to stable,intruder_alarmwill build against stable.