File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,12 @@ rustflags = [
20
20
" -Clink-arg=/DEFAULTLIB:libucrt" ,
21
21
" -Clink-arg=/NODEFAULTLIB:msvcrt" ,
22
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 ]
@@ -28,6 +34,16 @@ ROCKSDB_LIB_DIR = ""
28
34
LIBROCKSDB_STATIC = " 1"
29
35
ROCKSDB_STATIC_LIB = " 1"
30
36
VCPKG_ALL_STATIC = " 1"
37
+ # Existing vars...
38
+ VCPKGRS_DYNAMIC = " 0"
39
+ RUSTFLAGS = " -Ctarget-feature=+crt-static"
40
+ # For native-tls
41
+ OPENSSL_STATIC = " 1"
42
+ OPENSSL_NO_VENDOR = " 0"
43
+ # For any dependencies using cmake
44
+ CMAKE_STATIC_VCRT = " True"
45
+ # For any dependencies using pkg-config
46
+ PKG_CONFIG_ALL_STATIC = " 1"
31
47
32
48
[target .'cfg(all())' ]
33
49
rustflags = [" --cfg" , " tokio_unstable" ]
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ mime2ext = "0.1.52"
83
83
fastrace = { version = " 0.7" , features = [ " enable" ] }
84
84
must-let = { git = " https://github.com/sujayakar/must-let" , rev = " 5b487d78db235e396e61dd03ce261ced0eafff9d" }
85
85
mysql_async = { git = " https://github.com/get-convex/mysql_async" , rev = " 44138cf6422504dc60691957ba3026e3297ab77e" }
86
- native-tls = " ^0.2.10"
86
+ native-tls = { version = " ^0.2.10"
87
87
num_cpus = " 1.16.0"
88
88
oauth2 = " 4.4.2"
89
89
openidconnect = { git = " https://github.com/get-convex/openidconnect-rs" , rev = " eb55e703f0c0585e3ed796f48e3ed9e96b56d31d" , features = [ " accept-rfc3339-timestamps" ] }
You can’t perform that action at this time.
0 commit comments