File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
23
23
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
24
24
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
- refs/heads/beta: f5222fb892be00f2b3e4dd8b83c5277e94ebbbba
26
+ refs/heads/beta: 9a2415b82284f81d2fa7d6aa5096e6d2e5d83452
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
28
refs/heads/tmp: 8c0aa6d64ebab528f7eb182812007155d6044972
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change 45
45
#include "valgrind/valgrind.h"
46
46
#endif
47
47
48
+ #if defined(_MSC_VER )
49
+ # define RUST_BUILTIN_API __declspec(dllexport)
50
+ #else
51
+ # define RUST_BUILTIN_API
52
+ #endif
53
+
48
54
#ifndef _WIN32
49
55
char *
50
56
rust_list_dir_val (struct dirent * entry_ptr ) {
@@ -129,6 +135,7 @@ get_num_cpus() {
129
135
}
130
136
#endif
131
137
138
+ RUST_BUILTIN_API
132
139
uintptr_t
133
140
rust_get_num_cpus () {
134
141
return get_num_cpus ();
You can’t perform that action at this time.
0 commit comments