1
0
Fork 0

Fix assert_process_allocs with mingw

Not quite sure how this happened.
This commit is contained in:
Robbert van der Helm 2024-08-18 21:43:30 +02:00
parent 34ebda258f
commit 3697d72213

View file

@ -18,7 +18,7 @@ const AARCH64_FTZ_BIT: u64 = 1 << 24;
#[cfg(all( #[cfg(all(
debug_assertions, debug_assertions,
physical_sizefeature = "assert_process_allocs", feature = "assert_process_allocs",
all(windows, target_env = "gnu") all(windows, target_env = "gnu")
))] ))]
compile_error!("The 'assert_process_allocs' feature does not work correctly in combination with the 'x86_64-pc-windows-gnu' target, see https://github.com/Windfisch/rust-assert-no-alloc/issues/7"); compile_error!("The 'assert_process_allocs' feature does not work correctly in combination with the 'x86_64-pc-windows-gnu' target, see https://github.com/Windfisch/rust-assert-no-alloc/issues/7");