Skip to content

Commit 4c76bf4

Browse files
authored
Merge pull request #47 from iglesias/nob
nob
2 parents 64798bb + 100be11 commit 4c76bf4

File tree

3 files changed

+14
-311
lines changed

3 files changed

+14
-311
lines changed

.github/workflows/nob.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
1818
- name: Build & Test
1919
run: |
20-
g++ -std=c++20 -ggdb -fsanitize=address,pointer-overflow,signed-integer-overflow,undefined -o nob nob.cpp
20+
g++ -std=c++23 -fsanitize=address,undefined -fsanitize-address-use-after-scope -D_GLIBCXX_DEBUG -o nob nob.cpp
2121
./nob

nob.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ template<size_t N> auto make_cmd(const std::array<std::string_view, N>& strings)
2323
Cmd cmd;
2424
cmd.line.reserve(strings.size());
2525
for (size_t i = 0; i < N; i++) cmd.line.push_back(std::string{strings[i]});
26+
INFO("make_cmd: %s", cmd_show(cmd).c_str());
2627
return cmd;
2728
}
2829

2930
template<size_t N> void make_and_run_cmd(const std::array<std::string_view, N>& strings)
3031
{
3132
const auto& cmd = make_cmd(strings);
32-
INFO("make_and_run_cmd: %s", cmd_show(cmd).c_str());
3333
cmd_run_sync(cmd);
3434
}
3535

0 commit comments

Comments
 (0)