forked from maxd-nordic/probe-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cross.toml
27 lines (24 loc) · 955 Bytes
/
Cross.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[target.armv7-unknown-linux-gnueabihf]
# The following lines can be uncommented to use a native
# ARM image when compiling on a ARM machine, like the new Apple devices.
#
# This needs the master version of cross (as of 2023-02-05).
#image.name = "ahuszagh/aarch64-cross:armv7-unknown-linux-gnueabihf"
#image.toolchain = ["aarch64-unknown-linux-gnu"]
pre-build = [
"dpkg --add-architecture armhf",
"apt-get update",
"apt-get install --assume-yes libudev-dev:armhf",
]
[target.aarch64-unknown-linux-gnu]
# The following lines can be uncommented to use a native
# ARM image when compiling on a ARM machine, like the new Apple devices.
#
# This needs the master version of cross (as of 2023-02-05).
# image.name = "ahuszagh/aarch64-cross:aarch64-unknown-linux-gnu"
# image.toolchain = ["aarch64-unknown-linux-gnu"]
pre-build = [
"dpkg --add-architecture arm64",
"apt-get update",
"apt-get install --assume-yes libudev-dev:arm64",
]