瀏覽代碼

Handle signal termination from the runtime linker

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
87e20144a8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp 查看文件

@@ -101,7 +101,7 @@ link_test(const fs::path& source_file, const build_params& params, const fs::pat
spdlog::info("Linking test executable: {}", spec.output.string());
fs::create_directories(spec.output.parent_path());
auto proc_res = run_proc(link_command);
if (proc_res.retc != 0) {
if (!proc_res.okay()) {
throw compile_failure(
fmt::format("Failed to link test executable '{}'. Link command [{}] returned {}:\n{}",
spec.output.string(),

Loading…
取消
儲存