编译出错了
最新的abef33c153fdda81f224a8afbff365c6a1023bc5
```
cross build --target aarch64-unknown-linux-musl --bin sslocal --release --no-default-features --features 'logging,local,multi-threaded,aead-cipher-2022,mimalloc'
```
```
Compiling shadowsocks v1.24.0 (/home/runner/work/Router/Router/crates/shadowsocks)
Compiling iprange v0.6.7
Compiling json5 v1.3.0
warning: unknown and unstable feature specified for `-Ctarget-feature`: `crypto`
|
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
= help: consider filing a feature request
Compiling dirs-sys v0.5.0
Compiling clap_builder v4.5.53
Compiling serde-value v0.7.0
Compiling crossbeam-channel v0.5.15
Compiling derive_more v2.1.0
Compiling typemap-ors v1.0.0
Compiling regex v1.12.2
Compiling thread-id v5.0.0
Compiling rtoolbox v0.0.3
Compiling unicode-segmentation v1.12.0
Compiling mock_instant v0.6.0
Compiling log-mdc v0.1.0
Compiling fnv v1.0.7
Compiling byteorder v1.5.0
warning: `shadowsocks` (lib) generated 1 warning
Compiling humantime v2.3.0
Compiling shadowsocks-service v1.24.0 (/home/runner/work/Router/Router/crates/shadowsocks-service)
Compiling build-time v0.1.3
Compiling log4rs v1.4.0
Compiling clap v4.5.53
error[E0412]: cannot find type `HttpAuthConfig` in this scope
--> crates/shadowsocks-service/src/config.rs:1050:20
|
1050 | pub http_auth: HttpAuthConfig,
| ^^^^^^^^^^^^^^ not found in this scope
Compiling rpassword v7.4.0
Compiling tracing-appender v0.2.4
error[E0063]: missing field `http_auth` in initializer of `LocalConfig`
--> crates/shadowsocks-service/src/config.rs:1077:9
|
1077 | Self {
| ^^^^ missing `http_auth`
Compiling directories v6.0.0
Some errors have detailed explanations: E0063, E0412.
For more information about an error, try `rustc --explain E0063`.
error: could not compile `shadowsocks-service` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.
```
另外我服务端之前没问题,现在还可以吗?
```
cross build --target x86_64-unknown-linux-musl --bin ssserver --release --no-default-features --features 'server,multi-threaded,aead-cipher-2022,mimalloc'
```
关闭于 2025-12-19 0 条评论