File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ edition = "2021"
88# bin 后 cargo run 无法确定默认目标——声明主程序为默认,诊断工具用
99# `cargo run --bin asr_forensic -- <wav...>` 显式调用。
1010default-run = " entropydecrease"
11- # v0.20.0(REQ-263):bin 辅助模块 asr_eval_session.rs 会被 autodiscovery 误认
12- # 为独立 bin(无 main 报 E0601)——全部 bin 显式声明于下方 [[bin]],关 autobins
11+ # v0.20.0(REQ-263):asr_eval 的会话/流信道辅助模块(asr_eval_session.rs /
12+ # asr_eval_stream.rs,均无 main)——若留在 src/bin/ 会被 cargo autodiscovery
13+ # 与 tauri-bundler stage-2 src/bin 磁盘扫描(tauri issue #15325)误认为独立
14+ # bin(cargo 报 E0601 / MSI 打包 LGHT0103 幻影组件);v0.20.5 起模块移 src/
15+ # 经 #[path] 引入,autobins=false 双保险(asr_eval.rs 见 #[path] 注)
1316autobins = false
1417
1518# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -21,7 +21,12 @@ use std::fs;
2121use std:: path:: { Path , PathBuf } ;
2222use std:: process:: ExitCode ;
2323
24+ // v0.20.5(2026-09-06 打包修复):会话/流信道辅助模块移出 src/bin/——tauri
25+ // bundler stage-2 磁盘扫描 src/bin 会把无 main 模块误认为独立 bin(MSI 打包
26+ // LGHT0103 幻影 exe;cargo autodiscovery 同理,见 Cargo.toml 注释)
27+ #[ path = "../asr_eval_session.rs" ]
2428mod asr_eval_session;
29+ #[ path = "../asr_eval_stream.rs" ]
2530mod asr_eval_stream;
2631
2732use app_lib:: audio_preprocess:: { AudioPreprocessConfig , AudioPreprocessor } ;
You can’t perform that action at this time.
0 commit comments