Update Earthfile to hopefully get cross-compilation for rust to work
This commit is contained in:
7
desktop/tauri/.cargo/config.toml
Normal file
7
desktop/tauri/.cargo/config.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[target.aarch64-unknown-linux-gnu]
|
||||
linker = "aarch64-linux-gnu-gcc"
|
||||
rustflags = ["-C", "link-args=-L/usr/lib/aarch64-linux-gnu/"]
|
||||
|
||||
[target.armv7-unknown-linux-gnueabihf]
|
||||
linker = "arm-linux-gnueabihf-gcc"
|
||||
rustflags = ["-C", "link-args=-L/usr/lib/arm-linux-gnueabihf/"]
|
||||
Reference in New Issue
Block a user