rust-linux-darwin-builder
rust-linux-darwin-builder copied to clipboard
Use the same Docker image to cross-compile Rust x86_64/ARM64 programs for Linux and macOS (osxcross).
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...
I am trying to build https://github.com/starship/starship on my Mac Air M1 with: ``` docker run --rm --volume "${PWD}":/root/src --workdir /root/src joseluisq/rust-linux-darwin-builder:1.67.1 sh -c "cargo build --release --target aarch64-apple-darwin" ``` but...
I am trying to compile [this](https://github.com/themeliolabs/ginkou-loader). Running this: ``` env CC="o64-clang" CXX="o64-clang++" cargo build --locked --target x86_64-apple-darwin ``` yields this error: ``` error: could not find native static library `carbon_hotkey_binding.a`,...
Not 100% sure if this is an issue with rust-linux-darwin-builder, but I also figure now that https://github.com/tokio-rs/prost 0.11 [requires a local protoc](https://github.com/tokio-rs/prost#generated-code), this is likely going to come up in...
Hi, I'm trying to compile my rust project from Ubuntu 20.04 to MacOS. When I'm trying to follow the instruction in the Readme.md and it gives me the following error....
Is it possible to use your image for cross-compilig a project that uses ncurses? I tried issuing `apt-get install libncurses5-dev libncursesw5-dev` (in my CI @ GitLab) but it failed with:...