const blocks for lazy import

This commit is contained in:
2024-07-04 23:32:20 -04:00
parent f5f3343c1a
commit 52d7280628
4 changed files with 20 additions and 17 deletions

View File

@@ -1,3 +1,6 @@
use std::mem::offset_of;
use x::win32::ImageOptionalHeader64;
#[test]
pub fn test_distance() {
let _ = x::dur![ 5 days 4 hours 7 minutes 2 seconds 2 minutes ];
@@ -24,4 +27,4 @@ pub fn test_distance() {
x::iterate(b).cloned().take_while(|&c| c != 0))
.filter_map(|_r| _r.ok()).collect();
assert_eq!("Hello World", hello_world);
}
}