D | rust_project_writer.cc | 229 std::string_view sysroot, in AddSysroot() argument 233 if (sysroot_lookup.find(sysroot) != sysroot_lookup.end()) { in AddSysroot() 239 AddSysrootCrate(build_settings, crate, sysroot, sysroot_lookup[sysroot], in AddSysroot() 245 const SysrootCrateIndexMap& sysroot, in AddSysrootDependencyToCrate() argument 247 if (const auto crate_idx = sysroot.find(crate_name); in AddSysrootDependencyToCrate() 248 crate_idx != sysroot.end()) { in AddSysrootDependencyToCrate() 318 const auto& sysroot = sysroot_lookup[current_sysroot]; in AddTarget() local 319 AddSysrootDependencyToCrate(&crate, sysroot, "core"); in AddTarget() 320 AddSysrootDependencyToCrate(&crate, sysroot, "alloc"); in AddTarget() 321 AddSysrootDependencyToCrate(&crate, sysroot, "std"); in AddTarget() [all …]
|