Skip to content

Commit fcbe746

Browse files
miaobyteclaude
andcommitted
fix: build.rs 链接名对齐 kvlanglayout(layout lib 改名)
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent abbb22f commit fcbe746

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎build.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// 链接 byteseek/libso 下的 durable(redis) 版三方 .so:
22
// kvspace_durable —— byteseek 自持 kvspace 句柄(KV 存取 + TLV)
33
// kvlang_runtime —— 模式2 执行 + rwirext 宿主
4-
// kvlang_layout —— .kv 编译入库
4+
// kvlanglayout —— .kv 编译入库
55
// 并把 lib/**/*.kv 全部 include_str! 进二进制(EMBEDDED_KV),启动时 layout 进 kvspace。
66
// 递归收集:lib/ 顶层标准库(http.kv 等)与 lib/byteseek/ 自举代码同等对待,勿遗漏。
77
use std::path::{Path, PathBuf};
@@ -23,7 +23,7 @@ fn main() {
2323

2424
println!("cargo:rustc-link-lib=dylib=kvspace_durable");
2525
println!("cargo:rustc-link-lib=dylib=kvlang_runtime");
26-
println!("cargo:rustc-link-lib=dylib=kvlang_layout");
26+
println!("cargo:rustc-link-lib=dylib=kvlanglayout");
2727

2828
let libdir = format!("{manifest}/lib");
2929
let mut files: Vec<PathBuf> = Vec::new();

0 commit comments

Comments
 (0)