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
This is then linked with cc and then built as an executable and it worked. However on Windows, I noticed core::file!() actually expands to src\\main.rs. We should normalize this behavior so that we can go easy on the C++ call site code generator.
The text was updated successfully, but these errors were encountered:
I'm doing a sick hack to generate Rust callsite from C++ using
export_name
:src/main.rs:
Then I can have it in C++:
foo.cpp
This is then linked with
cc
and then built as an executable and it worked. However on Windows, I noticedcore::file!()
actually expands tosrc\\main.rs
. We should normalize this behavior so that we can go easy on the C++ call site code generator.The text was updated successfully, but these errors were encountered: