Browse Source

Handle signal termination from the runtime linker

default_compile_flags
vector-of-bool 5 years ago
parent
commit
87e20144a8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/build.cpp

+ 1
- 1
src/dds/build.cpp View File

spdlog::info("Linking test executable: {}", spec.output.string()); spdlog::info("Linking test executable: {}", spec.output.string());
fs::create_directories(spec.output.parent_path()); fs::create_directories(spec.output.parent_path());
auto proc_res = run_proc(link_command); auto proc_res = run_proc(link_command);
if (proc_res.retc != 0) {
if (!proc_res.okay()) {
throw compile_failure( throw compile_failure(
fmt::format("Failed to link test executable '{}'. Link command [{}] returned {}:\n{}", fmt::format("Failed to link test executable '{}'. Link command [{}] returned {}:\n{}",
spec.output.string(), spec.output.string(),

Loading…
Cancel
Save