Skip to content

Commit c3ae70d

Browse files
committed
refactor(deps): resolve openkal through the index rather than a branch
A released package that names a development branch is fragile: the branch is not part of any release, and deleting it breaks a tarball that has already been published. openkal 0.6.0 is in the index, so this reference names it. Claude-Session: https://claude.ai/code/session_01Q4ucduLuSsETHYJ1RkGVVD
1 parent f9e2613 commit c3ae70d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/hello/mcpp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ runner = ["qemu-system-riscv64", "-machine", "virt", "-nographic",
1313
"-no-reboot", "-bios", "default", "-kernel"]
1414

1515
[dependencies]
16-
openkal = { git = "https://github.com/mcpplibs/openkal", branch = "feat/openkal-closure" }
16+
openkal = "0.6.0"
1717
openkal-opensbi = { path = "../.." }

mcpp.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[package]
1515
namespace = "mcpplibs"
1616
name = "openkal-opensbi"
17-
version = "0.1.1"
17+
version = "0.1.2"
1818
description = "An implementation of openkal on the RISC-V Supervisor Binary Interface, portable across every machine whose firmware provides one"
1919
license = "Apache-2.0"
2020

@@ -33,7 +33,7 @@ repo = "https://github.com/mcpplibs/openkal-opensbi"
3333
# The contract, not an implementation of it. Declaring it turns a version
3434
# mismatch into a resolution-time message rather than a link-time one.
3535
[dependencies]
36-
openkal = { git = "https://github.com/mcpplibs/openkal", branch = "feat/openkal-closure" }
36+
openkal = "0.6.0"
3737

3838
# ⭐ WHAT RECEIVES CONTROL, WHICH IS A STATEMENT ABOUT THE PROGRAM.
3939
#

0 commit comments

Comments
 (0)