Replies: 3 comments
-
Yes, seems like it should. Have you tried it, does the build go through then? I suspect that with the latest Build Tools the problem is not reproducible, because it works well on the CI. |
Beta Was this translation helpful? Give feedback.
-
Hmm, actually, no, this is correct. RTTI is always disabled (bindgen uses clang frontend and it presumably translates -fno-rtti to /GR- on Windows). Is it possible for you to use the latest Build Tools? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the idea of upgrading the Build Tools! I will try. Currently we use Microsoft Visual Studio 2019 |
Beta Was this translation helpful? Give feedback.
-
I think
-fno-rtti
argument should be added conditionally tobindgen_args
based onbuilds_with_msvc()
just like in case ofcc_args
one line later :rust-skia/skia-bindings/build_support/skia_bindgen.rs
Lines 211 to 216 in 9d791aa
Relevant error:
Full stack trace:
Beta Was this translation helpful? Give feedback.
All reactions