Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yonggang Luo
relibc
Commits
dd6acf23
Commit
dd6acf23
authored
Oct 15, 2020
by
Yonggang Luo
Browse files
Split build variable.
parent
a57c35c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.rs
View file @
dd6acf23
...
@@ -53,7 +53,8 @@ fn main() {
...
@@ -53,7 +53,8 @@ fn main() {
generate_bindings
(
&
p
);
generate_bindings
(
&
p
);
});
});
cc
::
Build
::
new
()
let
mut
build
=
cc
::
Build
::
new
();
build
.flag
(
"-nostdinc"
)
.flag
(
"-nostdinc"
)
.flag
(
"-nostdlib"
)
.flag
(
"-nostdlib"
)
.include
(
&
format!
(
"{}/include"
,
crate_dir
))
.include
(
&
format!
(
"{}/include"
,
crate_dir
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment