Skip to content

attempt to do /dev/null-based mmap - #1

Open
sunshowers wants to merge 1 commit into
mainfrom
devnull
Open

sunshowers wants to merge 1 commit into
mainfrom
devnull

Conversation

@sunshowers

@sunshowers sunshowers commented Nov 2, 2024 •

Copy link
Copy Markdown
Owner

Giving up on this for now -- this ends up being a real challenge and may need a wider API redesign within wasmtime.

Used unsafe code to store a reference to the mapping without a supporting lifetime, and it works! The entire wast test suite passes:

test result: ok. 2492 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 18.00s

Used HORRIBLE unsafe code but this works omg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant