From 45f38f3d4df71e068172a0192dd6512e5e5c89d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan-=C8=98tefan=20Neac=C5=9Fu?= Date: Mon, 19 Aug 2024 13:30:47 +0200 Subject: [PATCH] Put cargo config file in the correct path --- .gitignore | 1 - nym-vpn-core/.cargo/config.toml | 2 ++ nym-vpn-core/nym-vpn-lib/.cargo/config.toml | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 nym-vpn-core/.cargo/config.toml diff --git a/.gitignore b/.gitignore index 5c1f1c7b0c..716a097e36 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ bin .vscode **/.DS_Store /.cargo -/nym-vpn-core/.cargo nym-vpn-core/nym-vpn-lib/generated/headers/module.modulemap nym-vpn-core/nym-vpn-lib/uniffi/nym_vpn_libFFI.modulemap nym-vpn-core/nym-vpn-lib/uniffi/nym_vpn_libFFI.h diff --git a/nym-vpn-core/.cargo/config.toml b/nym-vpn-core/.cargo/config.toml new file mode 100644 index 0000000000..87d9501bb3 --- /dev/null +++ b/nym-vpn-core/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.x86_64-pc-windows-msvc] +rustflags = ["-C", "link-arg=-fuse-ld=lld"] diff --git a/nym-vpn-core/nym-vpn-lib/.cargo/config.toml b/nym-vpn-core/nym-vpn-lib/.cargo/config.toml index 06ab31862c..8920835a8a 100644 --- a/nym-vpn-core/nym-vpn-lib/.cargo/config.toml +++ b/nym-vpn-core/nym-vpn-lib/.cargo/config.toml @@ -6,5 +6,3 @@ rustflags = ["-L", "./android/app/build/extraJni/x86_64"] rustflags = ["-L", "./android/app/build/extraJni/armeabi-v7a"] [target.i686-linux-android] rustflags = ["-L", "./android/app/build/extraJni/x86"] -[target.x86_64-pc-windows-msvc] -rustflags = ["-C", "link-arg=-fuse-ld=lld"]