--- build/rust/rust_api_from_cpp.gni.orig 2026-11-17 11:49:09 UTC +++ build/rust/rust_api_from_cpp.gni @@ -66,10 +66,6 @@ _globally_enabled_crubit_features = [ template("rust_api_from_cpp") { assert(enable_rust_api_from_cpp) - # At this point `rs_bindings_from_cc` is only distributed with the Chromium - # Rust toolchain. - assert(enable_rust && use_chromium_rust_toolchain) - # PDFium, V8 and other "2nd-party" Chromium projects don't yet have their own # `//build_overrides/crubit.gni` build file. Until this is fixed, we assert # that `rust_api_from_cpp` template can only be used in Chromium builds.