mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Do not include useless symbols to simpleservo.h
This commit is contained in:
parent
7a3d346087
commit
71abf1375d
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ fn main() {
|
||||||
cbindgen::Builder::new()
|
cbindgen::Builder::new()
|
||||||
.with_crate(crate_dir)
|
.with_crate(crate_dir)
|
||||||
.with_language(cbindgen::Language::C)
|
.with_language(cbindgen::Language::C)
|
||||||
|
.exclude_item("OutputDebugStringA")
|
||||||
.generate()
|
.generate()
|
||||||
.expect("Unable to generate bindings")
|
.expect("Unable to generate bindings")
|
||||||
.write_to_file(dest);
|
.write_to_file(dest);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue