You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was really curious why these methods were not defined in `testing_unimplemented`.
The testing binary linking should fail.
Well... I found out that they are defined in src/,
where we still have a cpp implementation of the timestamp generators.
Note: While having both cpp and rust implementations, the linker did not
complain, and happily linked the test binary even though there are duplicate
definitions of timestamp_gen methods.
It seems that linker picked up the cpp implementations. Why?
The test causes segfault when calling `cass_cluster_set_timestamp_gen`
when we try to clone an Arc. It means that pointer `cass_timestamp_gen_server_side_new`
does not originate from Arc allocation - this suggests that the origin of
the pointer is different (created by cpp API).
0 commit comments