News for hackers. Stuff that matters.
Re:Rust and C++ Interoperability in Chrome by roblabla on Wednesday August 19, 2020 @02:19PM (#24213943)

    macro_rules! cpp_call {
        ($($tt:tt)*) => {
            unsafe { $($tt)* }
        }
    }
Yeah, not pretty, but it works :P
Re:Rust and C++ Interoperability in Chrome by rightbyte on Wednesday August 19, 2020 @04:59PM (#24216368)
Nature finds its ways.

Seriously though, maybe comment annotation would be better than abusing the macros like that. I though there was a more direct cpp way. (Edit: As in the c preprocessor, not C++.)