You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/build_tools.md
+72-2
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ See crates.io's [documentation on the matter][build-script-docs] for more inform
10
10
|--------|--------|------------|
11
11
|[Compile and link statically to a bundled C library][ex-cc-static-bundled]|[![cc-badge]][cc]|[![cat-development-tools-badge]][cat-development-tools]|
12
12
|[Compile and link statically to a bundled C++ library][ex-cc-static-bundled-cpp]|[![cc-badge]][cc]|[![cat-development-tools-badge]][cat-development-tools]|
13
-
13
+
|[Compile a C library while setting custom defines][ex-cc-custom-defines]|[![cc-badge]][cc]|[![cat-development-tools-badge]][cat-development-tools]|
14
14
15
15
[ex-cc-static-bundled]: #ex-cc-static-bundled
16
16
<aname="ex-cc-static-bundled"></a>
@@ -171,14 +171,84 @@ fn main(){
171
171
}
172
172
```
173
173
174
+
[ex-cc-custom-defines]: #ex-cc-custom-defines
175
+
<aname="ex-cc-custom-defines"></a>
176
+
## Compile a C library while setting custom defines
Copy file name to clipboardExpand all lines: src/intro.md
+2
Original file line number
Diff line number
Diff line change
@@ -136,6 +136,7 @@ community. It needs and welcomes help. For details see
136
136
|--------|--------|------------|
137
137
|[Compile and link statically to a bundled C library][ex-cc-static-bundled]|[![cc-badge]][cc]|[![cat-development-tools-badge]][cat-development-tools]|
138
138
|[Compile and link statically to a bundled C++ library][ex-cc-static-bundled-cpp]|[![cc-badge]][cc]|[![cat-development-tools-badge]][cat-development-tools]|
139
+
|[Compile a C library while setting custom defines][ex-cc-custom-defines]|[![cc-badge]][cc]|[![cat-development-tools-badge]][cat-development-tools]|
139
140
140
141
{{#include links.md}}
141
142
@@ -147,6 +148,7 @@ community. It needs and welcomes help. For details see
0 commit comments