alexcrichton / alexcrichton/nghttp2-rs
Error when building with target wasm32-unknown-unknown
- 主要語言
- Rust
- 星號
- 28
- 分支
- 10
- PR 合併指標
- 30 天內沒有已合併 PR
描述
```
warning: In file included from nghttp2/lib/sfparse.c:27:
warning: In file included from nghttp2/lib/sfparse.h:46:
warning: /opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found
warning: #include_next
warning: ^~~~~~~~~~~~
warning: 1 error generated.
error: failed to run custom build command for `libnghttp2-sys v0.1.8+1.55.1`
Caused by:
process didn't exit successfully: `/Users/Projects/dioxus-mobile-test/target/debug/build/libnghttp2-sys-4ecdd379e7cf26b4/build-script-build` (exit status: 1)
--- stdout
TARGET = Some("wasm32-unknown-unknown")
OPT_LEVEL = Some("0")
HOST = Some("aarch64-apple-darwin")
cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
CC_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
CC_wasm32_unknown_unknown = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = None
cargo:rerun-if-env-changed=CC
CC = Some("/opt/homebrew/opt/llvm/bin/clang")
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
CFLAGS_wasm32-unknown-unknown = None
cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
CFLAGS_wasm32_unknown_unknown = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
running: "/opt/homebrew/opt/llvm/bin/clang" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=wasm32-unknown-unknown" "-I" "nghttp2/lib/includes" "-I" "/Users/Projects/dioxus-mobile-test/target/wasm32-unknown-unknown/debug/build/libnghttp2-sys-53ad8e768a563971/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_ARPA_INET_H" "-o" "/Users/Projects/dioxus-mobile-test/target/wasm32-unknown-unknown/debug/build/libnghttp2-sys-53ad8e768a563971/out/i/lib/nghttp2/lib/sfparse.o" "-c" "nghttp2/lib/sfparse.c"
cargo:warning=In file included from nghttp2/lib/sfparse.c:27:
cargo:warning=In file included from nghttp2/lib/sfparse.h:46:
cargo:warning=/opt/homebrew/Cellar/llvm/16.0.6/lib/clang/16/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found
cargo:warning=#include_next
cargo:warning= ^~~~~~~~~~~~
cargo:warning=1 error generated.
exit status: 1
--- stderr
error occurred: Command "/opt/homebrew/opt/llvm/bin/clang" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "--target=wasm32-unknown-unknown" "-I" "nghttp2/lib/includes" "-I" "/Users/Projects/dioxus-mobile-test/target/wasm32-unknown-unknown/debug/build/libnghttp2-sys-53ad8e768a563971/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_ARPA_INET_H" "-o" "/Users/Projects/dioxus-mobile-test/target/wasm32-unknown-unknown/debug/build/libnghttp2-sys-53ad8e768a563971/out/i/lib/nghttp2/lib/sfparse.o" "-c" "nghttp2/lib/sfparse.c" with args "clang" did not execute successfully (status code exit status: 1).
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。