-
I'm trying to build the Anki Sync Server on a macOS host for an ArmV7 Linux target (so I can run it on my NAS). That's part of a workspace, which is fine, but it also depends on things outside of the Rust workspace (e.g., the EDIT: the specific error I'm seeing is
|
Beta Was this translation helpful? Give feedback.
Answered by
ipsi
Jul 25, 2023
Replies: 1 comment 1 reply
-
Absolutely, see basically [build.env]
volumes = [
"FTL_DIR=/path/to/ftl",
] it'll be mounted in the container at the same path as on the host. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! It wasn't immediately clear to me where those volumes would wind up, or if they were using the docker syntax for mounting.
I think my actual problem was unrelated in the end:
Cargo.toml
file in the top-level directoryBetween the two of them it now builds successfully with Cross.