Skip to content

c-api: add Wasmtime version macros to wasmtime.h#5651

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
thibaultcha:feat/c-api-macros
Jan 30, 2023
Merged

c-api: add Wasmtime version macros to wasmtime.h#5651
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
thibaultcha:feat/c-api-macros

Conversation

@thibaultcha
Copy link
Copy Markdown
Contributor

  • Add several WASMTIME_VERSION_* macros to wasmtime.h.
  • Update scripts/publish.rs
    • To set these macros as per the new version in ./Cargo.toml during ./publish bump.
    • To verify the macros match the version in ./Cargo.toml during ./publish verify.

Fix #5635

@github-actions github-actions Bot added the wasmtime:c-api Issues pertaining to the C API. label Jan 29, 2023
@github-actions
Copy link
Copy Markdown

Subscribe to Label Action

cc @peterhuene

Details This issue or pull request has been labeled: "wasmtime:c-api"

Thus the following users have been cc'd because of the following labels:

  • peterhuene: wasmtime:c-api

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

* Add several `WASMTIME_VERSION_*` macros to `wasmtime.h`.
* Update `scripts/publish.rs`
  * To set these macros as per the new version in `./Cargo.toml` during
    `./publish bump`.
  * To verify the macros match the version in `./Cargo.toml` during
    `./publish verify`.

Fix bytecodealliance#5635
Copy link
Copy Markdown
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

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

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:c-api Issues pertaining to the C API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding versioning macros to the C API?

2 participants