diff --git a/third_party/rust/bindgen/v0_60/BUILD.gn b/third_party/rust/bindgen/v0_60/BUILD.gn index 277bfc5d8cda8..b826004e73899 100644 --- a/third_party/rust/bindgen/v0_60/BUILD.gn +++ b/third_party/rust/bindgen/v0_60/BUILD.gn @@ -40,7 +40,9 @@ cargo_crate("bindgen") { "env_logger", "log", "logging", - "runtime", + + # TODO(crbug/1314345): 'runtime' feature removed because it conflicts with static + # "runtime", "static", "which", "which-rustfmt", @@ -86,7 +88,9 @@ cargo_crate("lib") { "env_logger", "log", "logging", - "runtime", + + # TODO(crbug/1314345): 'runtime' feature removed because it conflicts with static + # "runtime", "static", "which", "which-rustfmt", diff --git a/third_party/rust/clang_sys/v1/BUILD.gn b/third_party/rust/clang_sys/v1/BUILD.gn index 3fe8b1675d5b1..f4ad4cfbb0b88 100644 --- a/third_party/rust/clang_sys/v1/BUILD.gn +++ b/third_party/rust/clang_sys/v1/BUILD.gn @@ -38,9 +38,15 @@ cargo_crate("lib") { "clang_5_0", "clang_6_0", "libloading", - "runtime", + + # TODO(crbug/1314345): 'runtime' feature removed because it conflicts with static + # "runtime", "static", ] build_root = "crate/build.rs" build_sources = [ "crate/build.rs" ] + + # TODO(crbug.com/1304251): The following line arranges for dependent targets + # to link against clang's static libraries. + deps += [ "//build/rust/clanglibs" ] }