diff options
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r-- | build_extra/rust/BUILD.gn | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index b03632660..bf90b85f1 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -17,12 +17,14 @@ rust_staticlib("stdlib") { crates = "//third_party/rust_crates" rust_component("libc") { - source_root = "$crates/libc/src/lib.rs" + source_root = + "$crates/registry/src/github.com-1ecc6299db9ec823/libc-0.2.42/src/lib.rs" cfg = [ "feature=\"use_std\"" ] } rust_component("url") { - source_root = "$crates/url/src/lib.rs" + source_root = + "$crates/registry/src/github.com-1ecc6299db9ec823/url-1.7.1/src/lib.rs" extern = [ ":matches", ":idna", @@ -31,15 +33,17 @@ rust_component("url") { } rust_component("percent_encoding") { - source_root = "$crates/url/percent_encoding/lib.rs" + source_root = "$crates/registry/src/github.com-1ecc6299db9ec823/percent-encoding-1.0.1/lib.rs" } rust_component("matches") { - source_root = "$crates/rust-std-candidates/matches/lib.rs" + source_root = + "$crates/registry/src/github.com-1ecc6299db9ec823/matches-0.1.6/lib.rs" } rust_component("idna") { - source_root = "$crates/url/idna/src/lib.rs" + source_root = + "$crates/registry/src/github.com-1ecc6299db9ec823/idna-0.1.5/src/lib.rs" extern = [ ":matches", ":unicode_bidi", @@ -48,19 +52,21 @@ rust_component("idna") { } rust_component("unicode_bidi") { - source_root = "$crates/unicode-bidi/src/lib.rs" + source_root = "$crates/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs" extern = [ ":matches" ] } rust_component("unicode_normalization") { - source_root = "$crates/unicode-normalization/src/lib.rs" + source_root = "$crates/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.7/src/lib.rs" } rust_component("log") { - source_root = "$crates/log/src/lib.rs" + source_root = + "$crates/registry/src/github.com-1ecc6299db9ec823/log-0.4.3/src/lib.rs" extern = [ ":cfg_if" ] } rust_component("cfg_if") { - source_root = "$crates/cfg_if/src/lib.rs" + source_root = + "$crates/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.4/src/lib.rs" } |