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

add custom allocator option #60

Merged
merged 1 commit into from
Dec 1, 2019
Merged

add custom allocator option #60

merged 1 commit into from
Dec 1, 2019

Conversation

addaleax
Copy link
Member

@addaleax addaleax commented Dec 1, 2019

This is a good idea for libraries in general, and helps with tracking
memory allocated by uvwasi in Node.js.

The allocator struct format is identical to the one used by nghttp2
and related libraries, which makes things a bit easier because we’ve
added generic support for that format in the QUIC repo.

This is a good idea for libraries in general, and helps with tracking
memory allocated by uvwasi in Node.js.

The allocator struct format is identical to the one used by nghttp2
and related libraries, which makes things a bit easier because we’ve
added generic support for that format in the QUIC repo.
Copy link
Collaborator

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I think the answer is "yes" but double checking... does https://travis-ci.com/nodejs/node/jobs/261846786 include Node's wasi test suite?

@addaleax
Copy link
Member Author

addaleax commented Dec 1, 2019

I think the answer is "yes" but double checking... does https://travis-ci.com/nodejs/node/jobs/261846786 include Node's wasi test suite?

@cjihrig Travis runs the default test suites, which includes wasi afaict, yes: https://github.com/nodejs/node/blob/6bf5a1d691291cdfcc4941e68f00d0003e565476/tools/test.py#L1487-L1506

@cjihrig
Copy link
Collaborator

cjihrig commented Dec 1, 2019

Cool. Thanks!

@cjihrig cjihrig merged commit aeee482 into nodejs:master Dec 1, 2019
@addaleax addaleax deleted the alloc branch December 1, 2019 02:05
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.

3 participants