From 047660733b10e460abc113b9729c660bd90d6d5c Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Wed, 10 Aug 2022 14:21:11 -0600 Subject: [PATCH] server: add link in comment for rusqlite musl workaround --- Cargo.lock | 1 + server/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index fe7afc4..395e788 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -516,6 +516,7 @@ version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f0455f2c1bc9a7caa792907026e469c1d91761fb0ea37cbb16427c77280cf35" dependencies = [ + "cc", "pkg-config", "vcpkg", ] diff --git a/server/Cargo.toml b/server/Cargo.toml index 22d0f0c..7bd1ec7 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -47,6 +47,7 @@ wireguard-control = { path = "../wireguard-control" } [target.'cfg(target_os = "linux")'.dependencies] socket2 = { version = "0.4", features = ["all"] } +# Workaround for https://github.com/rusqlite/rusqlite/issues/914 [target.'cfg(target_env = "musl")'.dependencies] rusqlite = { version = "0.28", features = ["bundled"] }