From 2f8a6a8df252fc5e76ef491a678467defe1365b8 Mon Sep 17 00:00:00 2001 From: Jorge Prendes Date: Wed, 6 May 2026 15:06:54 +0100 Subject: [PATCH 1/2] Add hyperlight-libc to CI publishing Signed-off-by: Jorge Prendes --- .github/workflows/CargoPublish.yml | 8 ++++++++ src/hyperlight_libc/Cargo.toml | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CargoPublish.yml b/.github/workflows/CargoPublish.yml index 4bdcf48cf..1183af289 100644 --- a/.github/workflows/CargoPublish.yml +++ b/.github/workflows/CargoPublish.yml @@ -69,6 +69,7 @@ jobs: fi } + needs_publish hyperlight-libc needs_publish hyperlight-common needs_publish hyperlight-guest needs_publish hyperlight-guest-macro @@ -81,6 +82,13 @@ jobs: - name: Authenticate with crates.io uses: rust-lang/crates-io-auth-action@v1 id: crates-io-auth + + - name: Publish hyperlight-libc + continue-on-error: ${{ inputs.dry_run }} + run: cargo publish --manifest-path ./src/hyperlight_libc/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }} + env: + CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }} + if: env.PUBLISH_HYPERLIGHT_LIBC != 'false' - name: Publish hyperlight-common continue-on-error: ${{ inputs.dry_run }} diff --git a/src/hyperlight_libc/Cargo.toml b/src/hyperlight_libc/Cargo.toml index 7100280c9..8867306f6 100644 --- a/src/hyperlight_libc/Cargo.toml +++ b/src/hyperlight_libc/Cargo.toml @@ -1,4 +1,3 @@ - [package] name = "hyperlight-libc" links = "c" From 3e7e87075729a6c4f0babf02d065a35aa5d60c4f Mon Sep 17 00:00:00 2001 From: Jorge Prendes Date: Wed, 6 May 2026 15:18:54 +0100 Subject: [PATCH 2/2] change hyperlight-libc readme Signed-off-by: Jorge Prendes --- src/hyperlight_libc/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperlight_libc/Cargo.toml b/src/hyperlight_libc/Cargo.toml index 8867306f6..537f387b6 100644 --- a/src/hyperlight_libc/Cargo.toml +++ b/src/hyperlight_libc/Cargo.toml @@ -7,7 +7,7 @@ rust-version.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true -readme.workspace = true +readme = "README.md" description = """ This crate provides picolibc for Hyperlight guests. It builds the picolibc library and generates bindings to the libc types and functions.