docs(lib): 中文注释 build.rs 与 src/lib.rs 模块总览

This commit is contained in:
dailz
2026-06-22 16:37:11 +08:00
parent e7accecfec
commit c12ae6ddcc
2 changed files with 23 additions and 0 deletions
+5
View File
@@ -1 +1,6 @@
//! Cargo build script(编译前钩子)。
//!
//! 当前为空:本项目直接复用 `wayland-client`、`pipewire`、`ffmpeg-sys` 等现成 crate
//! 不需要在编译前跑 wayland-scanner 或 bindgen 生成代码。类比 Go 无 `//go:generate`。
// Cargo 编译前不需要生成任何代码(无 wayland-scanner / bindgen),因此 build script 留空。
fn main() {}