feat(freelance): 编译 WASM 并验证安装 — 10 实体/20 权限已创建

This commit is contained in:
iven
2026-04-19 23:59:03 +08:00
parent 813df3688c
commit fc76793d6d
13 changed files with 4140 additions and 203 deletions

View File

@@ -1,9 +1,21 @@
Compiling erp-plugin v0.1.0 (G:\erp\crates\erp-plugin)
Compiling erp-server-migration v0.1.0 (G:\erp\crates\erp-server\migration)
warning: unused import: `PluginError`
--> crates\erp-plugin\src\plugin_validator.rs:1:20
|
1 | use crate::error::{PluginError, PluginResult};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `parse_manifest`
--> crates\erp-plugin\src\plugin_validator.rs:2:23
|
2 | use crate::manifest::{parse_manifest, PluginManifest};
| ^^^^^^^^^^^^^^
warning: field `chk` is never read
--> crates\erp-plugin\src\data_service.rs:376:39
--> crates\erp-plugin\src\data_service.rs:445:39
|
376 | struct RefCheck { chk: Option<i32> }
445 | struct RefCheck { chk: Option<i32> }
| -------- ^^^
| |
| field in this struct
@@ -11,24 +23,23 @@ warning: field `chk` is never read
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: field `chk` is never read
--> crates\erp-plugin\src\data_service.rs:477:51
--> crates\erp-plugin\src\data_service.rs:684:51
|
477 | ... struct RefCheck { chk: Option<i32> }
684 | ... struct RefCheck { chk: Option<i32> }
| -------- ^^^
| |
| field in this struct
warning: field `check_result` is never read
--> crates\erp-plugin\src\data_service.rs:1122:30
--> crates\erp-plugin\src\data_service.rs:1329:30
|
1122 | struct ExistsCheck { check_result: Option<i32> }
1329 | struct ExistsCheck { check_result: Option<i32> }
| ----------- ^^^^^^^^^^^^
| |
| field in this struct
warning: `erp-plugin` (lib) generated 3 warnings
Compiling erp-server v0.1.0 (G:\erp\crates\erp-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s
warning: `erp-plugin` (lib) generated 5 warnings (run `cargo fix --lib -p erp-plugin` to apply 2 suggestions)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s
Running `target\debug\erp-server.exe`
Error: configuration file "config/default" not found
error: process didn't exit successfully: `target\debug\erp-server.exe` (exit code: 1)