Skip to content

Port clocks and filesystems functions to use native wasip2 operations #606

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

catamorphism
Copy link
Contributor

At this point, there should be no further uses of the preview1 component adapter for clocks and filesystems methods when __wasilibc_use_wasip2 is defined.

Also added a DEBUG option to the Makefile that enables -O0/g when DEBUG=true is passed in.

@catamorphism
Copy link
Contributor Author

Note: there's no automated way (that I know of) to check that there are no uses of the preview1 filesystems methods when __wasilibc_use_wasip2 is defined, so I checked by searching for each of the method names and verifying that it was enclosed in an appropriate #ifdef. It's possible I could have missed something.

Copy link
Collaborator

@pchickey pchickey left a comment

Choose a reason for hiding this comment

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

So far reviewed clocks, this one will take time to go through piece by piece

catamorphism and others added 5 commits August 15, 2025 13:08
At this point, there should be no further uses of the preview1
component adapter for clocks and filesystems methods when __wasilibc_use_wasip2
is defined.

Also added a DEBUG option to the Makefile that enables -O0/g
when DEBUG=true is passed in.
Co-authored-by: Pat Hickey <p.hickey@f5.com>
Co-authored-by: Pat Hickey <p.hickey@f5.com>
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.

2 participants