Skip to content

Commit

Permalink
servo: Merge #19476 - Use workspace.default-members to specify defaul…
Browse files Browse the repository at this point in the history
…t crates for cargo build (from servo:default-members); r=nox

… and 'cargo test', etc. Include Servo and its unit tests, but not Stylo because that would try to compile the style crate with incompatible feature flags: rust-lang/cargo#4463

`workspace.default-members` was added in rust-lang/cargo#4743. Older Cargo versions ignore it.

Source-Repo: https://github.com/servo/servo
Source-Revision: df68eea3f21cc3bbf24d5bbb66be42c4e3a9e427

UltraBlame original commit: d1606d726592e798d5cafba5cbbf0f8326d67243
  • Loading branch information
marco-c committed Oct 2, 2019
1 parent 86a3dd4 commit 5b26f3c
Show file tree
Hide file tree
Showing 24 changed files with 236 additions and 592 deletions.
120 changes: 0 additions & 120 deletions servo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 33 additions & 1 deletion servo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@ members
"
ports
/
cef
servo
"
"
tests
/
unit
/
*
"
"
ports
Expand All @@ -17,8 +24,33 @@ geckolib
"
ports
/
geckolib
/
tests
"
"
ports
/
cef
"
]
default
-
members
=
[
"
ports
/
servo
"
"
tests
/
unit
/
*
"
]
exclude
=
Expand Down
38 changes: 38 additions & 0 deletions servo/components/dom_struct/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,44 @@ C
]
}
;
/
/
Work
around
https
:
/
/
github
.
com
/
rust
-
lang
/
rust
/
issues
/
46489
let
attributes
=
attributes
.
to_string
(
)
.
parse
(
)
.
unwrap
(
)
;
iter
:
:
Expand Down
24 changes: 0 additions & 24 deletions servo/ports/geckolib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -337,27 +337,3 @@ components
style_traits
"
}
[
dev
-
dependencies
]
stylo_tests
=
{
path
=
"
.
.
/
.
.
/
tests
/
unit
/
stylo
"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 5b26f3c

Please sign in to comment.