We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61797c5 commit bf6ede6Copy full SHA for bf6ede6
macro/src/expand.rs
@@ -1094,7 +1094,7 @@ fn expand_rust_function_shim_impl(
1094
#[doc(hidden)]
1095
#[export_name = #link_name]
1096
unsafe extern "C" fn #local_name #generics(#(#all_args,)* #outparam #pointer) #ret {
1097
- let __fn = concat!(module_path!(), #prevent_unwind_label);
+ let __fn = ::cxx::private::concat!(::cxx::private::module_path!(), #prevent_unwind_label);
1098
#wrap_super
1099
#expr
1100
}
src/lib.rs
@@ -508,6 +508,7 @@ pub mod private {
508
pub use crate::unique_ptr::UniquePtrTarget;
509
pub use crate::unwind::prevent_unwind;
510
pub use crate::weak_ptr::WeakPtrTarget;
511
+ pub use core::{concat, module_path};
512
pub use cxxbridge_macro::type_id;
513
514
0 commit comments