diff --git a/Cargo.lock b/Cargo.lock index c4c069f86c67..9a9c740b4408 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1428,6 +1428,7 @@ name = "gkrust" version = "0.1.0" dependencies = [ "gkrust-shared 0.1.0", + "mozglue-static 0.1.0", "mozilla-central-workspace-hack 0.1.0", "stylo_tests 0.0.1", ] @@ -1439,6 +1440,7 @@ dependencies = [ "bench-collections-gtest 0.1.0", "gecko-fuzz-targets 0.1.0", "gkrust-shared 0.1.0", + "mozglue-static 0.1.0", "mp4parse-gtest 0.1.0", "nsstring-gtest 0.1.0", "xpcom-gtest 0.1.0", diff --git a/toolkit/library/gtest/rust/Cargo.toml b/toolkit/library/gtest/rust/Cargo.toml index 54c86edfe58e..90a9d6978320 100644 --- a/toolkit/library/gtest/rust/Cargo.toml +++ b/toolkit/library/gtest/rust/Cargo.toml @@ -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" diff --git a/toolkit/library/rust/Cargo.toml b/toolkit/library/rust/Cargo.toml index 6c2759c0f819..2911f0d6c9c3 100644 --- a/toolkit/library/rust/Cargo.toml +++ b/toolkit/library/rust/Cargo.toml @@ -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/" }