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 = "macos")]

extern "C" {
    pub(crate) fn sys_dcache_flush(start: *mut u8, len: usize);
    pub(crate) fn sys_icache_invalidate(start: *mut u8, len: usize);
}