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

Shuffle some items around in wasmtime #7839

Merged
merged 2 commits into from
Jan 30, 2024

Conversation

alexcrichton
Copy link
Member

This is a follow-up to #7766 with some more changes and reorganization. These are some small items here and there which shouldn't have any actual impact on functionality but are intended to reorganize a bit. Changes here include:

  • Move component artifact definitions to wasmtime-environ as core module ones already live there.
  • Rename the module with module artifacts from instantiate to module_artifacts.
  • Make wasmtime-jit-icache-coherence an optional dependency as only the runtime feature requires it.
  • Reorganize serialized metadata for wasmtime ELF files to consolidate everything back into wasmtime::engine::serialization. This is to prevent the definition of the serialization format being spread across a few files.
  • Touching up the serialization module to compile in all builds of the wasmtime crate.

This is a follow-up to bytecodealliance#7766 with some more changes and reorganization.
These are some small items here and there which shouldn't have any
actual impact on functionality but are intended to reorganize a bit.
Changes here include:

* Move component artifact definitions to `wasmtime-environ` as core
  module ones already live there.
* Rename the module with module artifacts from `instantiate` to
  `module_artifacts`.
* Make `wasmtime-jit-icache-coherence` an optional dependency as only
  the `runtime` feature requires it.
* Reorganize serialized metadata for wasmtime ELF files to consolidate
  everything back into `wasmtime::engine::serialization`. This is to
  prevent the definition of the serialization format being spread across
  a few files.
* Touching up the `serialization` module to compile in all builds of the
  `wasmtime` crate.
@alexcrichton alexcrichton requested a review from a team as a code owner January 29, 2024 20:05
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team January 29, 2024 20:05
@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Jan 29, 2024
Copy link

Subscribe to Label Action

cc @peterhuene

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

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

  • peterhuene: wasmtime:api

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

Learn more.

crates/wasmtime/src/lib.rs Outdated Show resolved Hide resolved
@fitzgen fitzgen added this pull request to the merge queue Jan 29, 2024
Merged via the queue into bytecodealliance:main with commit f0c9e9b Jan 30, 2024
19 checks passed
@alexcrichton alexcrichton deleted the minor-refactorings branch March 11, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:api Related to the API of the `wasmtime` crate itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants