elast0ny / elast0ny/shared_memory

Sharing memory between a Windows Wine process and a Linux process doesn't work

Open
#108 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
444
Forks
63
PR merge metrics
No merged PRs in 30d

Description

It looks to me that is just because on Windows files representing shmem objects go into

C:\Users\\Temp\shared_memory-rs

and on Linux into

/dev/shm

Once I forced the Windows/Wine process to create a file in `Z:\\dev\\shm`, which in Wine corresponds to Linux's `/dev/shm`, sharing seems to work fine.

What do you think of a new `wine` feature where `windows.rs` `get_tmp_dir()` would just return `Ok(PathBuf::from("Z:\\dev\\shm"))` ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.