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.riscv64gc-unknown-linux-gnu] 9linker = "riscv64-linux-gnu-gcc" 10runner = "qemu-riscv64-static" 11[target.x86_64-pc-windows-gnu] 12runner = "wine64" 13 14# Provide path to the pkg-config wrapper for each supported platform 15[env] 16PKG_CONFIG_x86_64-unknown-linux-gnu = "x86_64-linux-gnu-pkg-config" 17PKG_CONFIG_aarch64-unknown-linux-gnu = "aarch64-linux-gnu-pkg-config" 18PKG_CONFIG_armv7_unknown_linux_gnueabihf = "arm-linux-gnueabihf-pkg-config" 19 20# riscv does not have a pkg-config wrapper, so we need to configure it manually. 21# See https://autotools.info/pkgconfig/cross-compiling.html for details. 22PKG_CONFIG_PATH_riscv64gc_unknown_linux_gnu = "" 23PKG_CONFIG_LIBDIR_riscv64gc_unknown_linux_gnu = "/usr/lib/riscv64-linux-gnu/pkgconfig" 24PKG_CONFIG_SYSROOT_DIR_riscv64gc_unknown_linux_gnu = "/usr/lib/riscv64-linux-gnu" 25 26# libslirp is currently not properly configured via pkg-config and cannot use the wrapper like 27# other architextures do. 28# TODO(b/266100489): Add a libslirp.pc file and use the pkg-config wrapper 29PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-gnu = "/usr/x86_64-w64-mingw32" 30