aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add compatibilty with rust-stable.Brian Cully2019-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | * Add feature flag for const-fn functionality, which simplifies some things and lets this crate run on architectures where atomic CAS isn't available (e.g., thumbv6). * Remove `const fn` where necessary to compile under rust-stable. * BREAKING CHANGE - Change signature of `Handler::replace` to take a mutable borrow. This is required because the underlying type is now a NonNull, which needs `mut`. The old behavior was never desired, but a consequence of trying to avoid `Option` by using a default handler. * Use lazy_static crate for initialization of Handler/HandlerArray. * Specify Sync for Handler. This is not amazing, since it isn't, but it's necessary for initialization in static contexts inside `lazy_static`. This should be fine, because any actual manipulation of the handler is done in unsafe functions.
* Working handler code.v0.1.0Brian Cully2019-05-101-0/+17