Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1601704 - Work around sccache/rust confusion about mozglue-static…
Browse files Browse the repository at this point in the history
…. libxul part. r=firefox-build-system-reviewers,chmanchester

While it doesn't seem to be happening (yet), the same problem that
happened with jsrust can just as well happen with other leaf staticlib
crates that indirectly use mozglue-static.

Differential Revision: https://phabricator.services.mozilla.com/D56159
  • Loading branch information
glandium committed Dec 7, 2019
1 parent e1acea1 commit 25799f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 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.

2 changes: 2 additions & 0 deletions toolkit/library/gtest/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ 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
mozglue-static = { path = "../../../../mozglue/static/rust" }

[lib]
path = "lib.rs"
Expand Down
2 changes: 2 additions & 0 deletions toolkit/library/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ fogotype = ["gkrust-shared/fogotype"]
[dependencies]
gkrust-shared = { path = "shared" }
mozilla-central-workspace-hack = { path = "../../../build/workspace-hack" }
# Workaround for https://github.com/rust-lang/rust/issues/58393
mozglue-static = { path = "../../../mozglue/static/rust" }

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

0 comments on commit 25799f5

Please sign in to comment.