Skip to content

Commit

Permalink
Bug 1656813 - Make swgl a dependency of gkrust so that we have correc…
Browse files Browse the repository at this point in the history
…t dependencies for sccache. r=glandium

See rust-lang/rust#58393

Differential Revision: https://phabricator.services.mozilla.com/D85713
  • Loading branch information
mattwoodrow committed Aug 5, 2020
1 parent 8968a8c commit e23caa3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion toolkit/library/gtest/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ nsstring-gtest = { path = "../../../../xpcom/rust/gtest/nsstring" }
xpcom-gtest = { path = "../../../../xpcom/rust/gtest/xpcom" }
gkrust-shared = { path = "../../rust/shared" }
gecko-fuzz-targets = { path = "../../../../tools/fuzzing/rust", optional = true }
# Workaround for https://github.com/rust-lang/rust/issues/58393

# Workarounds for https://github.com/rust-lang/rust/issues/58393
mozglue-static = { path = "../../../../mozglue/static/rust" }
swgl = { path = "../../../../gfx/wr/swgl" }

[lib]
path = "lib.rs"
Expand Down
4 changes: 3 additions & 1 deletion toolkit/library/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ with_dbus = ["gkrust-shared/with_dbus"]
[dependencies]
gkrust-shared = { path = "shared" }
mozilla-central-workspace-hack = { path = "../../../build/workspace-hack" }
# Workaround for https://github.com/rust-lang/rust/issues/58393

# Workarounds for https://github.com/rust-lang/rust/issues/58393
mozglue-static = { path = "../../../mozglue/static/rust" }
swgl = { path = "../../../gfx/wr/swgl" }

[dev-dependencies]
stylo_tests = { path = "../../../servo/ports/geckolib/tests/" }
Expand Down

0 comments on commit e23caa3

Please sign in to comment.