@@ -78,10 +78,7 @@ auto handlers = std::tuple( // | |||
} | |||
return 1; | |||
}, | |||
[](e_system_error_exc err, | |||
e_loading_toolchain, | |||
e_toolchain_file* tc_file, | |||
e_toolchain_builtin*) { | |||
[](e_system_error_exc err, e_loading_toolchain, e_toolchain_file* tc_file) { | |||
dds_log(error, "Failed to load toolchain: .br.yellow[{}]"_styled, err.message); | |||
if (tc_file) { | |||
dds_log(error, " (While loading from file [.bold.red[{}]])"_styled, tc_file->value); |
@@ -523,7 +523,6 @@ toolchain dds::cli::options::load_toolchain() const { | |||
} | |||
// Convert the given string to a toolchain | |||
auto& tc_str = *toolchain; | |||
DDS_E_SCOPE(e_toolchain_name{tc_str}); | |||
DDS_E_SCOPE(e_loading_toolchain{tc_str}); | |||
if (tc_str.starts_with(":")) { | |||
DDS_E_SCOPE(e_toolchain_builtin{tc_str}); |
@@ -8,10 +8,6 @@ struct e_loading_toolchain { | |||
std::string value; | |||
}; | |||
struct e_toolchain_name { | |||
std::string value; | |||
}; | |||
struct e_toolchain_file { | |||
std::string value; | |||
}; |