diff --git a/ruyi/mux/runtime.py b/ruyi/mux/runtime.py index 4bcde0b..c7913b7 100644 --- a/ruyi/mux/runtime.py +++ b/ruyi/mux/runtime.py @@ -27,7 +27,6 @@ def mux_main(argv: List[str]) -> int | NoReturn: if basename == "ruyi-qemu": return mux_qemu_main(argv, vcfg) - is_unprefixed_clang = is_proxying_to_unprefixed_clang(basename) # match the basename with one of the configured target tuples target_tuple: str | None = None toolchain_bindir: str | None = None @@ -35,10 +34,7 @@ def mux_main(argv: List[str]) -> int | NoReturn: gcc_install_dir: str | None = None for tgt_tuple, tgt_data in vcfg.targets.items(): if not basename.startswith(f"{tgt_tuple}-"): - # Unprefixed Clang should be treated as having the "default" - # target tuple. - if not is_unprefixed_clang: - continue + continue log.D(f"matched target '{tgt_tuple}', data {tgt_data}") target_tuple = tgt_tuple @@ -137,10 +133,6 @@ def is_proxying_to_clang(basename: str) -> bool: return "clang" in basename -def is_proxying_to_unprefixed_clang(basename: str) -> bool: - return basename in ("clang", "clang++") - - def mux_qemu_main(argv: List[str], vcfg: RuyiVenvConfig) -> int | NoReturn: binpath = vcfg.qemu_bin if binpath is None: