Skip to content

Commit

Permalink
Update target and linker for cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Mar 7, 2024
1 parent ad043cf commit fb29cae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pod-operation/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Uncomment lines as needed

[build]
# target = "armv7-unknown-linux-gnueabihf"
target = "aarch64-unknown-linux-gnu"

[target.armv7-unknown-linux-gnueabihf]
# linker = "armv7-unknown-linux-gnueabihf-gcc"
# linker = "arm-none-linux-gnueabihf-gcc"
[target.aarch64-unknown-linux-gnu]
# linker = "aarch64-unknown-linux-gnu-gcc"
linker = "aarch64-none-linux-gnu-gcc"
2 changes: 1 addition & 1 deletion pod-operation/Cross.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build]
default-target = "armv7-unknown-linux-gnueabihf"
default-target = "aarch64-unknown-linux-gnu"

0 comments on commit fb29cae

Please sign in to comment.