Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various C# build fixes #147

Merged
merged 7 commits into from
Mar 7, 2024
Merged

Conversation

TheBlueMatt
Copy link
Collaborator

No description provided.

We generally expect to allocate pointers in C which Rust will free,
and vice versa. On Windows, this requires that we use the same
allocation path as Rust's stdlib does, which is actually
`Heap{Alloc,Free}`, not `malloc`/`free`. Here, we swap the heap
allocation functions we call, fixing heap corruption issues on
Windows.
webwarrior-ws pushed a commit to webwarrior-ws/ldk-garbagecollected that referenced this pull request Mar 7, 2024
webwarrior-ws pushed a commit to webwarrior-ws/ldk-garbagecollected that referenced this pull request Mar 7, 2024
webwarrior-ws pushed a commit to webwarrior-ws/ldk-garbagecollected that referenced this pull request Mar 7, 2024
webwarrior-ws pushed a commit to webwarrior-ws/ldk-garbagecollected that referenced this pull request Mar 7, 2024
@TheBlueMatt
Copy link
Collaborator Author

C# is as deterministic as ever (only a few bytes of metadata wrong) - https://github.com/TheBlueMatt/ldk-garbagecollected/actions/runs/8173797745/job/22347046036

@TheBlueMatt TheBlueMatt merged commit 0a4ade7 into lightningdevkit:main Mar 7, 2024
3 of 10 checks passed
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.

None yet

1 participant