Skip to content

Commit

Permalink
update cross config - wip
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgr0 committed Sep 26, 2024
1 parent a2917ec commit 52d45a5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
11 changes: 0 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ rand = { version = "0.8.5" }
anyhow = "1.0.86"
futures-util = "0.3.30"
rdkafka = { version = "0.36.2", features = ["ssl"] }
openssl = { version = "0.10", features = ["vendored"] }
tokio = { version = "1.39.2", features = ["full"] }
tokio-util = { version = "0.7.11", features = ["rt"] }
tokio-macros = "2.4.0"
Expand Down
16 changes: 11 additions & 5 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ pre-build = [
"apt-get update && apt-get install --assume-yes pkg-config:$CROSS_DEB_ARCH ca-certificates libssl-dev:$CROSS_DEB_ARCH",
]

[target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes pkg-config:$CROSS_DEB_ARCH ca-certificates libssl-dev:$CROSS_DEB_ARCH",
]
# [target.aarch64-unknown-linux-gnu]
# image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge"
# pre-build = [
# "dpkg --add-architecture arm64",
# "apt-get update && apt-get install --assume-yes pkg-config:arm64 ca-certificates libssl-dev:arm64",
# ]

# Example Dockerfile for aarch64-unknown-linux-gnu
# FROM ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge
# RUN dpkg --add-architecture arm64
# RUN apt-get update && apt-get install --assume-yes libssl-dev:arm64
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ sequenceDiagram

### Initialization Phase

![Initialization Phase](docs/architecture-pathfinder-init.png)
![Initialization Phase](docs/architecture-pathfinder-init-phase.png)

### Main Loop

Expand Down

0 comments on commit 52d45a5

Please sign in to comment.