diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6616cbd..d27b500 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,17 +23,17 @@ jobs: "/tmp/xlings-${XLINGS_VERSION}-linux-x86_64/subos/default/bin/xlings" self install echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH" - - name: Install workspace tools (.xlings.json → mcpp 0.0.4) + - name: Install workspace tools (.xlings.json → mcpp 0.0.7) run: xlings install -y # Cache mcpp's self-bootstrapped sandbox (musl-gcc + binutils + # glibc + ninja + patchelf, ~800 MB). Toolchain set is pinned by - # mcpp 0.0.4, so a fixed key suffices. + # mcpp 0.0.7, so a fixed key suffices. - name: Cache mcpp sandbox uses: actions/cache@v4 with: - path: ~/.xlings/data/xpkgs/xim-x-mcpp/0.0.4/registry - key: mcpp-sandbox-${{ runner.os }}-mcpp0.0.4 + path: ~/.xlings/data/xpkgs/xim-x-mcpp/0.0.7/registry + key: mcpp-sandbox-${{ runner.os }}-mcpp0.0.7 - name: Build with mcpp run: mcpp build diff --git a/.xlings.json b/.xlings.json index b3b1fb4..3f993c1 100644 --- a/.xlings.json +++ b/.xlings.json @@ -1,5 +1,5 @@ { "workspace": { - "mcpp": { "linux": "0.0.4" } + "mcpp": { "linux": "0.0.7" } } } diff --git a/mcpp.toml b/mcpp.toml index ee95c54..738275d 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -1,25 +1,19 @@ [package] -name = "mcpplibs.capi.lua" +namespace = "mcpplibs.capi" +name = "lua" version = "0.0.3" -description = "C++23 module wrapping the Lua 5.4 C API — `import mcpplibs.capi.lua;`" +description = "C++23 module wrapping the Lua 5.4 C API" license = "Apache-2.0" repo = "https://github.com/mcpplibs/lua" [lib] -# The primary module interface lives at `src/capi/lua.cppm`. The default -# convention would look at `src/lua.cppm` (last segment of the package -# name), so override explicitly. path = "src/capi/lua.cppm" [targets.capi-lua] kind = "lib" -# `lua` is the upstream Lua 5.4 C library shipped via mcpp-index. mcpp -# 0.0.3 propagates its headers (lua.h / lauxlib.h / lualib.h) into our -# compile rule via the transitive include-dir walk. [dependencies] lua = "5.4.7" -# `mcpp test` discovers tests/main.cpp automatically. [dev-dependencies] gtest = "1.15.2"