eclipse-uprotocol / eclipse-uprotocol/up-rust

Adding necessary bits for cross-compiling to `aarch64-unknown-linux-gnu` to CI/CD

Open
#73 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
26
Forks
18
Avg merge
1d 2h
Merged PRs (30d)
6

Description

I got this working locally by:
```bash
$ rustup target add aarch64-unknown-linux-gnu
$ sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
```
then adding to `.cargo/config.toml`:
```
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
```
then I could
```bash
$ cargo build --target=aarch64-unknown-linux-gnu
```

Could we add this to the CI/CD pipeline?

Any thoughts from folks? Tagging in @AnotherDaniel, @sophokles73

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.