55// bin/mcpp mcpp binary (self-contained mode)
66// registry/ XLINGS_HOME for mcpp's xlings
77// bin/xlings vendored xlings binary (= <XLINGS_HOME>/bin/xlings)
8- // .xlings.json seeded with index_repos = [mcpp-index ]
8+ // .xlings.json seeded with index_repos = [mcpplibs ]
99// bmi/<fp>/ BMI cache (existing)
1010// cache/ metadata caches
1111// config.toml this module's input
@@ -47,7 +47,7 @@ struct GlobalConfig {
4747 std::filesystem::path xlingsHomeOverride; // empty = use registryDir
4848
4949 // From config.toml [index]
50- std::string defaultIndex; // "mcpp-index "
50+ std::string defaultIndex; // "mcpplibs "
5151 std::vector<IndexRepo> indexRepos;
5252
5353 // From config.toml [cache]
@@ -201,9 +201,9 @@ binary = "bundled"
201201home = ""
202202
203203[index]
204- default = "mcpp-index "
204+ default = "mcpplibs "
205205
206- [index.repos."mcpp-index "]
206+ [index.repos."mcpplibs "]
207207url = "https://github.com/mcpp-community/mcpp-index.git"
208208# xlings auto-adds xim / awesome / scode / d2x as defaults.
209209
@@ -597,7 +597,7 @@ std::expected<GlobalConfig, ConfigError> load_or_init(
597597 cfg.xlingsBinaryMode = doc->get_string (" xlings.binary" ).value_or (" bundled" );
598598 if (auto h = doc->get_string (" xlings.home" ); h && !h->empty ())
599599 cfg.xlingsHomeOverride = *h;
600- cfg.defaultIndex = doc->get_string (" index.default" ).value_or (" mcpp-index " );
600+ cfg.defaultIndex = doc->get_string (" index.default" ).value_or (" mcpplibs " );
601601 cfg.searchTtlSeconds = doc->get_int (" cache.search_ttl_seconds" ).value_or (3600 );
602602 cfg.defaultJobs = doc->get_int (" build.default_jobs" ).value_or (0 );
603603 cfg.defaultBackend = doc->get_string (" build.default_backend" ).value_or (" ninja" );
@@ -613,7 +613,7 @@ std::expected<GlobalConfig, ConfigError> load_or_init(
613613 cfg.indexRepos .push_back ({ name, it->second .as_string () });
614614 }
615615 }
616- // Defaults: only mcpp-index . xlings auto-adds its own standard
616+ // Defaults: only mcpplibs . xlings auto-adds its own standard
617617 // defaults (xim / awesome / scode / d2x) because globalIndexRepos_
618618 // is non-empty (per xlings/src/core/config.cppm). Explicitly listing
619619 // them ourselves can cause cross-index name conflicts during
@@ -623,7 +623,7 @@ std::expected<GlobalConfig, ConfigError> load_or_init(
623623 for (auto & r : cfg.indexRepos ) if (r.name == name) return ;
624624 cfg.indexRepos .push_back ({ std::string (name), std::string (url) });
625625 };
626- add_default (" mcpp-index " , " https://github.com/mcpp-community/mcpp-index.git" );
626+ add_default (" mcpplibs " , " https://github.com/mcpp-community/mcpp-index.git" );
627627
628628 // 5. Seed registry/.xlings.json if missing
629629 auto xjson = cfg.xlingsHome () / " .xlings.json" ;
0 commit comments