joseluisq / joseluisq/rust-linux-darwin-builder

Building crates needing C++ fails

Open
#27 4 comments 0 reactions 0 assignees View on GitHub
bug darwin help wanted linux musl
Dominant language
Dockerfile
Stars
153
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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

```shell
...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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.