injectorpp 0.5.1

Injectorpp is a powerful tool designed to facilitate the writing of unit tests without the need to introduce traits solely for testing purposes. It streamlines the testing process by providing a seamless and efficient way to abstract dependencies, ensuring that your code remains clean and maintainable.
Documentation
1
2
3
4
5
6
#![cfg(target_os = "linux")]

extern "C" {
    /// Flushes the CPU instruction cache (provided by glibc on Linux).
    pub(crate) fn __clear_cache(start: *mut u8, end: *mut u8);
}