From 4387d49a42af85ce88c85f84109dfd0dfdd23814 Mon Sep 17 00:00:00 2001 From: Yumin Wu Date: Wed, 8 May 2024 21:50:38 +0800 Subject: [PATCH 1/3] update Cargo.lock --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 3dc6e306..0535eb36 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -387,7 +387,7 @@ dependencies = [ [[package]] name = "boringtun" version = "0.6.0" -source = "git+https://github.com/KKRainbow/boringtun.git#449204c3eca736dc23b075d81426527a357e2f2a" +source = "git+https://github.com/EasyTier/boringtun.git#449204c3eca736dc23b075d81426527a357e2f2a" dependencies = [ "aead", "atomic-shim", From 5d5d8b122a05cbd403968615de61c7dbb76bc25c Mon Sep 17 00:00:00 2001 From: Yumin Wu Date: Wed, 8 May 2024 21:51:37 +0800 Subject: [PATCH 2/3] rename config for IDE --- .cargo/{config => config.toml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .cargo/{config => config.toml} (100%) diff --git a/.cargo/config b/.cargo/config.toml similarity index 100% rename from .cargo/config rename to .cargo/config.toml From 801104ca691f7c8e83fc5eb8299af2a498f26081 Mon Sep 17 00:00:00 2001 From: Yumin Wu Date: Wed, 8 May 2024 21:52:59 +0800 Subject: [PATCH 3/3] add target --- .cargo/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 74438e7d..296abef6 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,8 +1,14 @@ +[target.x86_64-unknown-linux-musl] +linker = "rust-lld" +rustflags = ["-C", "linker-flavor=ld.lld"] + [target.aarch64-unknown-linux-gnu] linker = "aarch64-linux-gnu-gcc" + [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" rustflags = ["-C", "target-feature=+crt-static"] + [target.'cfg(all(windows, target_env = "msvc"))'] rustflags = ["-C", "target-feature=+crt-static"]