Skip to content

Commit 5ac59dc

Browse files
committed
Fixup tests
Signed-off-by: Martynas Gurskas <[email protected]>
1 parent c4b0de6 commit 5ac59dc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bindgen/src/bindings/cpp/templates/wrapper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void check_rust_call(const RustCallStatus &status, F error_cb) {
5858

5959
template <typename F, typename EF, typename... Args, typename R = std::invoke_result_t<F, Args..., RustCallStatus *>>
6060
R rust_call(F f, EF error_cb, Args... args) {
61-
initialize();
61+
// initialize();
6262

6363
RustCallStatus status = { 0 };
6464

@@ -83,4 +83,4 @@ R rust_call(F f, EF error_cb, Args... args) {
8383
{%- for func in ci.function_definitions() %}
8484
{% include "fn_def.cpp" %}
8585
{% endfor -%}
86-
} // namespace {{ namespace }}
86+
} // namespace {{ namespace }}

cpp-tests/scaffolding_tests/chronological/lib_chronological.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <chrono>
22
#include <optional>
3+
#include <string>
34

45
namespace {
56
namespace chronological {
@@ -28,4 +29,4 @@ namespace {
2829

2930
timestamp set_seconds_before_unix_epoch(uint64_t seconds);
3031
}
31-
}
32+
}

0 commit comments

Comments
 (0)