This fix allows IPC between 32- and 64-bit applications.
Use case: 32-bit application creates shared memory, 64-bit application opens it.
cargo run --example custom_create --target=i686-pc-windows-msvccargo run --example custom_open --target=x86_64-pc-windows-msvc
Before this commit the second application terminates with error:
Error : Shared memory header contains an invalid mapping size : (map_size: 8192, meta_size: 8589934592, user_size: 17592186044448)
This fix allows IPC between 32- and 64-bit applications. Use case: 32-bit application creates shared memory, 64-bit application opens it.
cargo run --example custom_create --target=i686-pc-windows-msvc
cargo run --example custom_open --target=x86_64-pc-windows-msvc
Before this commit the second application terminates with error:Error : Shared memory header contains an invalid mapping size : (map_size: 8192, meta_size: 8589934592, user_size: 17592186044448)