mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #19845 - emilio:not-fmt-yet, r=emilio
style: Disable rustfmt on the bindings for now. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19845) <!-- Reviewable:end -->
This commit is contained in:
commit
108cb0e539
1 changed files with 4 additions and 0 deletions
|
@ -204,7 +204,11 @@ mod bindings {
|
|||
|
||||
// Disable rust unions, because we replace some types inside of
|
||||
// them.
|
||||
//
|
||||
// FIXME(emilio, bug 1432153): Make the bindings rustfmt'd on
|
||||
// automation.
|
||||
let mut builder = Builder::default()
|
||||
.rustfmt_bindings(false)
|
||||
.rust_target(RustTarget::Stable_1_0);
|
||||
for dir in SEARCH_PATHS.iter() {
|
||||
builder = builder.clang_arg("-I").clang_arg(dir.to_str().unwrap());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue