From 785b0866778189cb48cc1d7c9c59e3a6cf594371 Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Sat, 2 Mar 2024 00:52:56 +0100 Subject: [PATCH] commit --- Cargo.lock | 3 +-- Cargo.toml | 3 +++ Cross.toml | 5 +++++ README.md | 5 ++++- 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 Cross.toml diff --git a/Cargo.lock b/Cargo.lock index 23b4ad6..1fd760a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -945,8 +945,7 @@ dependencies = [ [[package]] name = "libudev-sys" version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324" +source = "git+https://github.com/Emilgardis/libudev-sys/?branch=fix-cross-compilation#808a604d27d0afc1305bbcc5d27c6c083c99dfa4" dependencies = [ "libc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 42cfc11..90dcbc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,6 +37,9 @@ itertools = "0.12.1" flume = "0.11.0" nanoid = "0.4.0" +[patch.crates-io] +libudev-sys = { git = "https://github.com/Emilgardis/libudev-sys/", branch = "fix-cross-compilation" } + [workspace] members = [ "crates/*", diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..ae15b6a --- /dev/null +++ b/Cross.toml @@ -0,0 +1,5 @@ +[target.aarch64-unknown-linux-gnu] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes libudev-dev:$CROSS_DEB_ARCH" +] \ No newline at end of file diff --git a/README.md b/README.md index a7b46e2..53a8573 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Deckster - +## To do +- Exit with a non-zero status code when a handler process exits unexpectedly. +- Move loupedeck_serial and pa_volume_interface out of this repository. +- ## Contributing ### Terminology