File tree 1 file changed +16
-2
lines changed 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,29 @@ rustflags = [
19
19
" -Clink-arg=/DEFAULTLIB:libvcruntime" ,
20
20
" -Clink-arg=/DEFAULTLIB:libucrt" ,
21
21
" -Clink-arg=/NODEFAULTLIB:msvcrt" ,
22
- " -Clink-arg=/NODEFAULTLIB:msvcprt"
22
+ " -Clink-arg=/NODEFAULTLIB:msvcprt" ,
23
+ " -Clink-arg=/NODEFAULTLIB:libcmt.dll" ,
24
+ " -Clink-arg=/NODEFAULTLIB:msvcrtd" ,
25
+ " -Clink-arg=/NODEFAULTLIB:msvcprtd" ,
26
+ " -Ctarget-feature=+crt-static" ,
27
+ " -Zpanic-abort-tests" ,
28
+ " -Clto=yes"
23
29
]
24
30
25
31
[target .x86_64-pc-windows-msvc .env ]
26
- RUSTFLAGS = " -Ctarget-feature=+crt-static"
27
32
ROCKSDB_LIB_DIR = " "
28
33
LIBROCKSDB_STATIC = " 1"
29
34
ROCKSDB_STATIC_LIB = " 1"
30
35
VCPKG_ALL_STATIC = " 1"
36
+ VCPKGRS_DYNAMIC = " 0"
37
+ RUSTFLAGS = " -Ctarget-feature=+crt-static"
38
+ # For native-tls
39
+ OPENSSL_STATIC = " 1"
40
+ OPENSSL_NO_VENDOR = " 0"
41
+ # For any dependencies using cmake
42
+ CMAKE_STATIC_VCRT = " True"
43
+ # For any dependencies using pkg-config
44
+ PKG_CONFIG_ALL_STATIC = " 1"
31
45
32
46
[target .'cfg(all())' ]
33
47
rustflags = [" --cfg" , " tokio_unstable" ]
You can’t perform that action at this time.
0 commit comments