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

feat(c-api) Add an unstable non-standard API to query available engines and compilers #2118

Merged
merged 8 commits into from
Feb 12, 2021

Conversation

Hywan
Copy link
Contributor

@Hywan Hywan commented Feb 11, 2021

Description

This patch adds 3 unstable non-standard C functions:

  • wasmer_is_headless,
  • wasmer_is_compiler_available,
  • wasmer_is_engine_available.

The rest of the patch adds tests, documentations, update existing tests, small stuf like that that can now be possible thanks to this new API.

I've also released a new version of inline-c to remove a warning with the latest rustc version.

Review

  • Add a short description of the the change to the CHANGELOG.md file

@Hywan Hywan added 🎉 enhancement New feature! 📦 lib-c-api About wasmer-c-api labels Feb 11, 2021
@Hywan Hywan self-assigned this Feb 11, 2021
@Hywan Hywan marked this pull request as ready for review February 12, 2021 09:45
@Hywan
Copy link
Contributor Author

Hywan commented Feb 12, 2021

bors r+

bors bot added a commit that referenced this pull request Feb 12, 2021
2118: feat(c-api) Add an unstable non-standard API to query available engines and compilers r=Hywan a=Hywan

# Description

This patch adds 3 unstable non-standard C functions:

* `wasmer_is_headless`,
* `wasmer_is_compiler_available`,
* `wasmer_is_engine_available`.

The rest of the patch adds tests, documentations, update existing tests, small stuf like that that can now be possible thanks to this new API.

I've also released a new version of `inline-c` to remove a warning with the latest `rustc` version.

# Review

- [x] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Ivan Enderlin <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 12, 2021

Build failed:

@Hywan
Copy link
Contributor Author

Hywan commented Feb 12, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 12, 2021

@bors bors bot merged commit 4f28b2b into wasmerio:master Feb 12, 2021
@Hywan Hywan mentioned this pull request Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 enhancement New feature! 📦 lib-c-api About wasmer-c-api
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants