• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Configure path to linker and emulators to use when running unit tests
2[target.armv7-unknown-linux-gnueabihf]
3linker = "arm-linux-gnueabihf-gcc"
4runner = "qemu-arm-static"
5[target.aarch64-unknown-linux-gnu]
6linker = "aarch64-linux-gnu-gcc"
7runner = "qemu-aarch64-static"
8[target.x86_64-pc-windows-gnu]
9runner = "wine64"
10
11# Provide path to the pkg-config wrapper for each supported platform
12[env]
13PKG_CONFIG_x86_64-unknown-linux-gnu = "x86_64-linux-gnu-pkg-config"
14PKG_CONFIG_aarch64-unknown-linux-gnu = "aarch64-linux-gnu-pkg-config"
15PKG_CONFIG_armv7_unknown_linux_gnueabihf = "arm-linux-gnueabihf-pkg-config"
16
17# libslirp is currently not properly configured via pkg-config and cannot use the wrapper like
18# other architextures do.
19# TODO(b/266100489): Add a libslirp.pc file and use the pkg-config wrapper
20PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-gnu = "/usr/x86_64-w64-mingw32"
21