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"]