Skip to content

refactor(asio): make module package canonical#109

Open
wellwei wants to merge 1 commit into
mcpplibs:mainfrom
wellwei:refactor/asio-module
Open

refactor(asio): make module package canonical#109
wellwei wants to merge 1 commit into
mcpplibs:mainfrom
wellwei:refactor/asio-module

Conversation

@wellwei

@wellwei wellwei commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • remove the transitional compat.asio@1.38.1 header-only package and its consumer tests
  • replace the chriskohlhoff.asio package identity with canonical default-root asio@1.38.1
  • preserve the existing C++23 module wrapper and separate-compilation recipe, with concise usage cautions, limitations, and unexported-component notes

Consumer contract

mcpp add asio@1.38.1
import std;
import asio;

compat.asio@1.38.1 and chriskohlhoff.asio@1.38.1 are removed without aliases. The canonical package is module-only.

Validation

  • Lua syntax and mirror-table checks
  • strict descriptor parse with workflow-pinned mcpp 0.0.101
  • isolated macOS arm64 mcpp test -p asio-module: 5 passed, 0 failed

Linux and Windows module coverage is delegated to PR CI.

No archive URL, SHA-256, mirror, generated wrapper, source list, feature, define, platform flag, mcpp core behavior, or unrelated documentation changes.

@wellwei
wellwei force-pushed the refactor/asio-module branch from 3972203 to 239531f Compare July 21, 2026 07:31
Comment thread pkgs/a/asio.lua
-- `asio/coroutine.hpp`、`asio/streambuf.hpp`。
package = {
spec = "1",
namespace = "",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

缺少命名空间 以及文件名命名 chriskohlhoff.asio.lua

package = {
spec = "1",
namespace = "chriskohlhoff",
name = "asio",
description = "Standalone asio exposed as the C++23 module asio (separate compilation)",
licenses = {"BSL-1.0"},

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