explain what happens when inline functions are used on windows
@@ -104,6 +104,9 @@ fn main() {
fn bindgen_gen(current_dir_name: &str) {
+ // don't generate inline function on windows,
+ // bindgen produces the following error:
+ // "std__Atomic_impl__Atomic_impl<_Bytes>" is not a valid Ident
let inline_functions = !cfg!(windows);
let mut builder = bindgen::Builder::default()
