joseluisq/rust-linux-darwin-builder

Building crates needing C++ fails

開放

#27 建立於 2023年8月24日

 (4 則留言) (0 個反應) (0 位負責人)Dockerfile (22 個分叉)github user discovery
bugdarwinhelp wantedlinuxmusl

倉庫指標

星標
 (153 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

When I use the builder, crates that contain Rust-compiled C++ code fail to link. Example:

...much spew...
  = note: ld: archive has no table of contents file '/root/src/difft/target/aarch64-apple-darwin/release/build/difftastic-abae5b1432a24d5f/out/libtree-sitter-ada.a' for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
...much spew...

AFAIK: lib tree-sitter-ada.a is built from C++ code by the difftastic crate.

This is working as intended? Or am I being an idiot?

貢獻者指南