Stream: git-wasmtime

Topic: wasmtime / PR #8642 Generate a `conf.h` in the C API, add...


view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 00:21):

alexcrichton opened PR #8642 from alexcrichton:c-api-features-in-cmake to bytecodealliance:main:

Work in progress to leverage our concurrency on PRs to test this more. I'll fill in more details when this is ready.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 00:32):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 00:39):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 00:43):

alexcrichton edited PR #8642:

Work in progress to leverage our concurrency on PRs to test this more. I'll fill in more details when this is ready.

Unorganized bullets of motivation:

Unorganized bullets of changes:

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 00:45):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 01:00):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 01:01):

alexcrichton edited PR #8642:

Work in progress to leverage our concurrency on PRs to test this more. I'll fill in more details when this is ready.

Unorganized bullets of motivation:

Unorganized bullets of changes:

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 01:01):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 02:10):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 02:17):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 03:08):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 03:55):

alexcrichton updated PR #8642.

view this post on Zulip Wasmtime GitHub notifications bot (May 17 2024 at 03:55):

alexcrichton edited PR #8642:

This commit overhauls and refactors the management of the building of
the C API. Instead of this being script-based it's now done entirely
through CMake and CMake is the primary focus for building the C API. For
example building the C API release artifacts is now done through CMake
instead of through a shell script's cargo build and manually moving
artifacts.

The benefits that this brings are:

The CMakeLists.txt file for the C API is overhauled in the process of
doing this. The build now primarily matches on the Rust target being
built rather than the host target. Additionally installation will now
install both the static and shared libraries instead of just one.
Additionally during this refactoring various bits and pieces of
Android-specific code were all removed. Management of the C toolchain
feels best left in scope of the caller (e.g. configuring CC_* env vars
and such) rather than here.


Last updated: Dec 23 2024 at 13:07 UTC