[在 Windows 上构建] onig_sys/oniguruma 声明指定中包含两种或更多种数据类型
PS D:\AI\Screen\screen-pipe> cargo build --release
Compiling rustls-webpki v0.102.6
Compiling onig_sys v69.8.1
Compiling symphonia-utils-xiph v0.5.4
Compiling hyper-tls v0.5.0
Compiling http-body v1.0.1
Compiling spm_precompiled v0.1.4
Compiling idna v0.5.0
Compiling tokio v1.39.2
Compiling indexmap v1.9.3
Compiling macro_rules_attribute v0.2.0
Compiling ntapi v0.4.1
Compiling which v6.0.1
Compiling windows v0.54.0
Compiling digest v0.10.7
Compiling rayon-cond v0.3.0
Compiling parking_lot v0.12.3
Compiling fancy-regex v0.13.0
Compiling zune-jpeg v0.4.13
Compiling candle-nn v0.6.0
Compiling tiff v0.9.1
Compiling regex v1.10.5
Compiling crossbeam-utils v0.8.20
Compiling derive_builder v0.20.0
Compiling esaxx-rs v0.1.10
Compiling futures v0.3.30
Compiling tokio-stream v0.1.15
Compiling serde_plain v1.0.2
Compiling qoi v0.4.1
Compiling schannel v0.1.23
Compiling axum-core v0.3.4
Compiling cexpr v0.6.0
Compiling serde_json v1.0.121
Compiling tracing-core v0.1.32
Compiling native-tls v0.2.12
Compiling unicode-normalization-alignments v0.1.12
Compiling thiserror v1.0.63
Compiling reqwest v0.11.27
Compiling bitflags v2.6.0
Compiling heck v0.5.0
Compiling fastrand v2.1.0
Compiling itoa v1.0.11
Compiling unicode_categories v0.1.1
Compiling log v0.4.22
Compiling lazy_static v1.5.0
Compiling shlex v1.3.0
Compiling cpufeatures v0.2.12
Compiling strsim v0.11.1
Compiling clap_lex v0.7.2
Compiling rustc-hash v1.1.0
Compiling ryu v1.0.18
Compiling crc-catalog v2.4.0
Compiling lazycell v1.3.0
Compiling crossbeam-queue v0.3.11
Compiling url v2.5.2
Compiling clap_derive v4.5.11
Compiling sha2 v0.10.8
The following warnings were emitted during compilation:
warning: [email protected]: In file included from oniguruma\src/regenc.h:36,
warning: [email protected]: from oniguruma\src/regint.h:103,
warning: [email protected]: from oniguruma\src\regexec.c:36:
warning: [email protected]: D:\AI\Screen\screen-pipe\target\release\build\onig_sys-308529629068d6af\out/config.h:32:15: error: two or more data types in declaration specifiers
warning: [email protected]: 32 | #define uid_t int
warning: [email protected]: | ^~~
warning: [email protected]: D:\AI\Screen\screen-pipe\target\release\build\onig_sys-308529629068d6af\out/config.h:33:15: error: two or more data types in declaration specifiers
warning: [email protected]: 33 | #define gid_t int
warning: [email protected]: | ^~~
error: failed to run custom build command for onig_sys v69.8.1
Caused by: process didn't exit successfully: …
内容来源: huggingface/tokenizers